Endpoint: location-area
GEThttps://pokedex.mimo.dev/api/location-area/hearthome-city-area
Request
GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/hearthome-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": 771,
5 "location": {
6 "name": "hearthome-city",
7 "url": "https://pokedex.mimo.dev/api/location/169/"
8 },
9 "name": "hearthome-city-area",
10 "names": [
11 {
12 "language": {
13 "name": "en",
14 "url": "https://pokedex.mimo.dev/api/language/9/"
15 },
16 "name": "Hearthome City"
17 },
18 {
19 "language": {
20 "name": "fr",
21 "url": "https://pokedex.mimo.dev/api/language/5/"
22 },
23 "name": "Unionpolis"
24 }
25 ],
26 "pokemon_encounters": [
27 {
28 "pokemon": {
29 "name": "eevee",
30 "url": "https://pokedex.mimo.dev/api/pokemon/133/"
31 },
32 "version_details": [
33 {
34 "encounter_details": [
35 {
36 "chance": 100,
37 "condition_values": [
38 {
39 "name": "story-progress-national-dex",
40 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/37/"
41 }
42 ],
43 "max_level": 5,
44 "method": {
45 "name": "gift",
46 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
47 },
48 "min_level": 5
49 }
50 ],
51 "max_chance": 100,
52 "version": {
53 "name": "diamond",
54 "url": "https://pokedex.mimo.dev/api/version/12/"
55 }
56 },
57 {
58 "encounter_details": [
59 {
60 "chance": 100,
61 "condition_values": [
62 {
63 "name": "story-progress-national-dex",
64 "url": "https://pokedex.mimo.dev/api/encounter-condition-value/37/"
65 }
66 ],
67 "max_level": 5,
68 "method": {
69 "name": "gift",
70 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
71 },
72 "min_level": 5
73 }
74 ],
75 "max_chance": 100,
76 "version": {
77 "name": "pearl",
78 "url": "https://pokedex.mimo.dev/api/version/13/"
79 }
80 },
81 {
82 "encounter_details": [
83 {
84 "chance": 100,
85 "condition_values": [],
86 "max_level": 20,
87 "method": {
88 "name": "gift",
89 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
90 },
91 "min_level": 20
92 }
93 ],
94 "max_chance": 100,
95 "version": {
96 "name": "platinum",
97 "url": "https://pokedex.mimo.dev/api/version/14/"
98 }
99 }
100 ]
101 }
102 ]
103}