Endpoint: location-area

GEThttps://pokedex.mimo.dev/api/location-area/littleroot-town-area

Request

GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/littleroot-town-area")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "encounter_method_rates": [],
3 "game_index": 0,
4 "id": 770,
5 "location": {
6 "name": "littleroot-town",
7 "url": "https://pokedex.mimo.dev/api/location/567/"
8 },
9 "name": "littleroot-town-area",
10 "names": [
11 {
12 "language": {
13 "name": "en",
14 "url": "https://pokedex.mimo.dev/api/language/9/"
15 },
16 "name": "Littleroot Town"
17 },
18 {
19 "language": {
20 "name": "fr",
21 "url": "https://pokedex.mimo.dev/api/language/5/"
22 },
23 "name": "Bourg-en-Vol"
24 }
25 ],
26 "pokemon_encounters": [
27 {
28 "pokemon": {
29 "name": "chikorita",
30 "url": "https://pokedex.mimo.dev/api/pokemon/152/"
31 },
32 "version_details": [
33 {
34 "encounter_details": [
35 {
36 "chance": 100,
37 "condition_values": [],
38 "max_level": 5,
39 "method": {
40 "name": "gift",
41 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
42 },
43 "min_level": 5
44 }
45 ],
46 "max_chance": 100,
47 "version": {
48 "name": "emerald",
49 "url": "https://pokedex.mimo.dev/api/version/9/"
50 }
51 }
52 ]
53 },
54 {
55 "pokemon": {
56 "name": "cyndaquil",
57 "url": "https://pokedex.mimo.dev/api/pokemon/155/"
58 },
59 "version_details": [
60 {
61 "encounter_details": [
62 {
63 "chance": 100,
64 "condition_values": [],
65 "max_level": 5,
66 "method": {
67 "name": "gift",
68 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
69 },
70 "min_level": 5
71 }
72 ],
73 "max_chance": 100,
74 "version": {
75 "name": "emerald",
76 "url": "https://pokedex.mimo.dev/api/version/9/"
77 }
78 }
79 ]
80 },
81 {
82 "pokemon": {
83 "name": "totodile",
84 "url": "https://pokedex.mimo.dev/api/pokemon/158/"
85 },
86 "version_details": [
87 {
88 "encounter_details": [
89 {
90 "chance": 100,
91 "condition_values": [],
92 "max_level": 5,
93 "method": {
94 "name": "gift",
95 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
96 },
97 "min_level": 5
98 }
99 ],
100 "max_chance": 100,
101 "version": {
102 "name": "emerald",
103 "url": "https://pokedex.mimo.dev/api/version/9/"
104 }
105 }
106 ]
107 }
108 ]
109}