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