Endpoint: location-area

GEThttps://pokedex.mimo.dev/api/location-area/brooklet-hill-main

Request

GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/brooklet-hill-main")
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": 1074,
5 "location": {
6 "name": "brooklet-hill",
7 "url": "https://pokedex.mimo.dev/api/location/748/"
8 },
9 "name": "brooklet-hill-main",
10 "names": [],
11 "pokemon_encounters": [
12 {
13 "pokemon": {
14 "name": "marill",
15 "url": "https://pokedex.mimo.dev/api/pokemon/183/"
16 },
17 "version_details": [
18 {
19 "encounter_details": [
20 {
21 "chance": 100,
22 "condition_values": [],
23 "max_level": 17,
24 "method": {
25 "name": "island-scan",
26 "url": "https://pokedex.mimo.dev/api/encounter-method/32/"
27 },
28 "min_level": 17
29 }
30 ],
31 "max_chance": 100,
32 "version": {
33 "name": "sun",
34 "url": "https://pokedex.mimo.dev/api/version/27/"
35 }
36 },
37 {
38 "encounter_details": [
39 {
40 "chance": 100,
41 "condition_values": [],
42 "max_level": 17,
43 "method": {
44 "name": "island-scan",
45 "url": "https://pokedex.mimo.dev/api/encounter-method/32/"
46 },
47 "min_level": 17
48 }
49 ],
50 "max_chance": 100,
51 "version": {
52 "name": "moon",
53 "url": "https://pokedex.mimo.dev/api/version/28/"
54 }
55 }
56 ]
57 },
58 {
59 "pokemon": {
60 "name": "marshtomp",
61 "url": "https://pokedex.mimo.dev/api/pokemon/259/"
62 },
63 "version_details": [
64 {
65 "encounter_details": [
66 {
67 "chance": 100,
68 "condition_values": [],
69 "max_level": 17,
70 "method": {
71 "name": "island-scan",
72 "url": "https://pokedex.mimo.dev/api/encounter-method/32/"
73 },
74 "min_level": 17
75 }
76 ],
77 "max_chance": 100,
78 "version": {
79 "name": "ultra-sun",
80 "url": "https://pokedex.mimo.dev/api/version/29/"
81 }
82 },
83 {
84 "encounter_details": [
85 {
86 "chance": 100,
87 "condition_values": [],
88 "max_level": 17,
89 "method": {
90 "name": "island-scan",
91 "url": "https://pokedex.mimo.dev/api/encounter-method/32/"
92 },
93 "min_level": 17
94 }
95 ],
96 "max_chance": 100,
97 "version": {
98 "name": "ultra-moon",
99 "url": "https://pokedex.mimo.dev/api/version/30/"
100 }
101 }
102 ]
103 }
104 ]
105}