Endpoint: location-area

GEThttps://pokedex.mimo.dev/api/location-area/saffron-city-silph-co

Request

GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/saffron-city-silph-co")
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": 835,
5 "location": {
6 "name": "saffron-city",
7 "url": "https://pokedex.mimo.dev/api/location/234/"
8 },
9 "name": "saffron-city-silph-co",
10 "names": [
11 {
12 "language": {
13 "name": "en",
14 "url": "https://pokedex.mimo.dev/api/language/9/"
15 },
16 "name": "Silph Co."
17 },
18 {
19 "language": {
20 "name": "fr",
21 "url": "https://pokedex.mimo.dev/api/language/5/"
22 },
23 "name": "Sylphe SARL"
24 }
25 ],
26 "pokemon_encounters": [
27 {
28 "pokemon": {
29 "name": "treecko",
30 "url": "https://pokedex.mimo.dev/api/pokemon/252/"
31 },
32 "version_details": [
33 {
34 "encounter_details": [
35 {
36 "chance": 100,
37 "condition_values": [
38 {
39 "name": "story-progress-beat-red",
40 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/55/"
41 },
42 {
43 "name": "other-received-kanto-starter",
44 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/56/"
45 }
46 ],
47 "max_level": 5,
48 "method": {
49 "name": "gift",
50 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
51 },
52 "min_level": 5
53 }
54 ],
55 "max_chance": 100,
56 "version": {
57 "name": "heartgold",
58 "url": "https://pokedex.mimo.dev/api/version/15/"
59 }
60 },
61 {
62 "encounter_details": [
63 {
64 "chance": 100,
65 "condition_values": [
66 {
67 "name": "story-progress-beat-red",
68 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/55/"
69 },
70 {
71 "name": "other-received-kanto-starter",
72 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/56/"
73 }
74 ],
75 "max_level": 5,
76 "method": {
77 "name": "gift",
78 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
79 },
80 "min_level": 5
81 }
82 ],
83 "max_chance": 100,
84 "version": {
85 "name": "soulsilver",
86 "url": "https://pokedex.mimo.dev/api/version/16/"
87 }
88 }
89 ]
90 },
91 {
92 "pokemon": {
93 "name": "torchic",
94 "url": "https://pokedex.mimo.dev/api/pokemon/255/"
95 },
96 "version_details": [
97 {
98 "encounter_details": [
99 {
100 "chance": 100,
101 "condition_values": [
102 {
103 "name": "story-progress-beat-red",
104 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/55/"
105 },
106 {
107 "name": "other-received-kanto-starter",
108 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/56/"
109 }
110 ],
111 "max_level": 5,
112 "method": {
113 "name": "gift",
114 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
115 },
116 "min_level": 5
117 }
118 ],
119 "max_chance": 100,
120 "version": {
121 "name": "heartgold",
122 "url": "https://pokedex.mimo.dev/api/version/15/"
123 }
124 },
125 {
126 "encounter_details": [
127 {
128 "chance": 100,
129 "condition_values": [
130 {
131 "name": "story-progress-beat-red",
132 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/55/"
133 },
134 {
135 "name": "other-received-kanto-starter",
136 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/56/"
137 }
138 ],
139 "max_level": 5,
140 "method": {
141 "name": "gift",
142 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
143 },
144 "min_level": 5
145 }
146 ],
147 "max_chance": 100,
148 "version": {
149 "name": "soulsilver",
150 "url": "https://pokedex.mimo.dev/api/version/16/"
151 }
152 }
153 ]
154 },
155 {
156 "pokemon": {
157 "name": "mudkip",
158 "url": "https://pokedex.mimo.dev/api/pokemon/258/"
159 },
160 "version_details": [
161 {
162 "encounter_details": [
163 {
164 "chance": 100,
165 "condition_values": [
166 {
167 "name": "story-progress-beat-red",
168 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/55/"
169 },
170 {
171 "name": "other-received-kanto-starter",
172 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/56/"
173 }
174 ],
175 "max_level": 5,
176 "method": {
177 "name": "gift",
178 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
179 },
180 "min_level": 5
181 }
182 ],
183 "max_chance": 100,
184 "version": {
185 "name": "heartgold",
186 "url": "https://pokedex.mimo.dev/api/version/15/"
187 }
188 },
189 {
190 "encounter_details": [
191 {
192 "chance": 100,
193 "condition_values": [
194 {
195 "name": "story-progress-beat-red",
196 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/55/"
197 },
198 {
199 "name": "other-received-kanto-starter",
200 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/56/"
201 }
202 ],
203 "max_level": 5,
204 "method": {
205 "name": "gift",
206 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
207 },
208 "min_level": 5
209 }
210 ],
211 "max_chance": 100,
212 "version": {
213 "name": "soulsilver",
214 "url": "https://pokedex.mimo.dev/api/version/16/"
215 }
216 }
217 ]
218 }
219 ]
220}