Endpoint: location-area

GEThttps://pokedex.mimo.dev/api/location-area/mahalo-trail-area

Request

GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/mahalo-trail-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": 1098,
5 "location": {
6 "name": "mahalo-trail",
7 "url": "https://pokedex.mimo.dev/api/location/720/"
8 },
9 "name": "mahalo-trail-area",
10 "names": [],
11 "pokemon_encounters": [
12 {
13 "pokemon": {
14 "name": "solgaleo",
15 "url": "https://pokedex.mimo.dev/api/pokemon/791/"
16 },
17 "version_details": [
18 {
19 "encounter_details": [
20 {
21 "chance": 100,
22 "condition_values": [],
23 "max_level": 60,
24 "method": {
25 "name": "gift",
26 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
27 },
28 "min_level": 60
29 }
30 ],
31 "max_chance": 100,
32 "version": {
33 "name": "ultra-sun",
34 "url": "https://pokedex.mimo.dev/api/version/29/"
35 }
36 }
37 ]
38 },
39 {
40 "pokemon": {
41 "name": "lunala",
42 "url": "https://pokedex.mimo.dev/api/pokemon/792/"
43 },
44 "version_details": [
45 {
46 "encounter_details": [
47 {
48 "chance": 100,
49 "condition_values": [],
50 "max_level": 60,
51 "method": {
52 "name": "gift",
53 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
54 },
55 "min_level": 60
56 }
57 ],
58 "max_chance": 100,
59 "version": {
60 "name": "ultra-moon",
61 "url": "https://pokedex.mimo.dev/api/version/30/"
62 }
63 }
64 ]
65 }
66 ]
67}