Endpoint: location-area
GEThttps://pokedex.mimo.dev/api/location-area/rustboro-city-area
Request
GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/rustboro-city-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": 834,
5 "location": {
6 "name": "rustboro-city",
7 "url": "https://pokedex.mimo.dev/api/location/573/"
8 },
9 "name": "rustboro-city-area",
10 "names": [
11 {
12 "language": {
13 "name": "en",
14 "url": "https://pokedex.mimo.dev/api/language/9/"
15 },
16 "name": "Rustboro City"
17 },
18 {
19 "language": {
20 "name": "fr",
21 "url": "https://pokedex.mimo.dev/api/language/5/"
22 },
23 "name": "Mérouville"
24 }
25 ],
26 "pokemon_encounters": [
27 {
28 "pokemon": {
29 "name": "lileep",
30 "url": "https://pokedex.mimo.dev/api/pokemon/345/"
31 },
32 "version_details": [
33 {
34 "encounter_details": [
35 {
36 "chance": 100,
37 "condition_values": [
38 {
39 "name": "item-root-fossil",
40 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/49/"
41 }
42 ],
43 "max_level": 20,
44 "method": {
45 "name": "gift",
46 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
47 },
48 "min_level": 20
49 }
50 ],
51 "max_chance": 100,
52 "version": {
53 "name": "ruby",
54 "url": "https://pokedex.mimo.dev/api/version/7/"
55 }
56 },
57 {
58 "encounter_details": [
59 {
60 "chance": 100,
61 "condition_values": [
62 {
63 "name": "item-root-fossil",
64 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/49/"
65 }
66 ],
67 "max_level": 20,
68 "method": {
69 "name": "gift",
70 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
71 },
72 "min_level": 20
73 }
74 ],
75 "max_chance": 100,
76 "version": {
77 "name": "sapphire",
78 "url": "https://pokedex.mimo.dev/api/version/8/"
79 }
80 },
81 {
82 "encounter_details": [
83 {
84 "chance": 100,
85 "condition_values": [
86 {
87 "name": "item-root-fossil",
88 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/49/"
89 }
90 ],
91 "max_level": 20,
92 "method": {
93 "name": "gift",
94 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
95 },
96 "min_level": 20
97 }
98 ],
99 "max_chance": 100,
100 "version": {
101 "name": "emerald",
102 "url": "https://pokedex.mimo.dev/api/version/9/"
103 }
104 }
105 ]
106 },
107 {
108 "pokemon": {
109 "name": "anorith",
110 "url": "https://pokedex.mimo.dev/api/pokemon/347/"
111 },
112 "version_details": [
113 {
114 "encounter_details": [
115 {
116 "chance": 100,
117 "condition_values": [
118 {
119 "name": "item-claw-fossil",
120 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/50/"
121 }
122 ],
123 "max_level": 20,
124 "method": {
125 "name": "gift",
126 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
127 },
128 "min_level": 20
129 }
130 ],
131 "max_chance": 100,
132 "version": {
133 "name": "ruby",
134 "url": "https://pokedex.mimo.dev/api/version/7/"
135 }
136 },
137 {
138 "encounter_details": [
139 {
140 "chance": 100,
141 "condition_values": [
142 {
143 "name": "item-claw-fossil",
144 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/50/"
145 }
146 ],
147 "max_level": 20,
148 "method": {
149 "name": "gift",
150 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
151 },
152 "min_level": 20
153 }
154 ],
155 "max_chance": 100,
156 "version": {
157 "name": "sapphire",
158 "url": "https://pokedex.mimo.dev/api/version/8/"
159 }
160 },
161 {
162 "encounter_details": [
163 {
164 "chance": 100,
165 "condition_values": [
166 {
167 "name": "item-claw-fossil",
168 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/50/"
169 }
170 ],
171 "max_level": 20,
172 "method": {
173 "name": "gift",
174 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
175 },
176 "min_level": 20
177 }
178 ],
179 "max_chance": 100,
180 "version": {
181 "name": "emerald",
182 "url": "https://pokedex.mimo.dev/api/version/9/"
183 }
184 }
185 ]
186 }
187 ]
188}