Endpoint: location-area
GEThttps://pokedex.mimo.dev/api/location-area/lake-of-the-moone-area
Request
GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/lake-of-the-moone-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": 1092,
5 "location": {
6 "name": "lake-of-the-moone",
7 "url": "https://pokedex.mimo.dev/api/location/774/"
8 },
9 "name": "lake-of-the-moone-area",
10 "names": [],
11 "pokemon_encounters": [
12 {
13 "pokemon": {
14 "name": "cosmog",
15 "url": "https://pokedex.mimo.dev/api/pokemon/789/"
16 },
17 "version_details": [
18 {
19 "encounter_details": [
20 {
21 "chance": 100,
22 "condition_values": [],
23 "max_level": 5,
24 "method": {
25 "name": "gift",
26 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
27 },
28 "min_level": 5
29 }
30 ],
31 "max_chance": 100,
32 "version": {
33 "name": "moon",
34 "url": "https://pokedex.mimo.dev/api/version/28/"
35 }
36 },
37 {
38 "encounter_details": [
39 {
40 "chance": 100,
41 "condition_values": [],
42 "max_level": 5,
43 "method": {
44 "name": "gift",
45 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
46 },
47 "min_level": 5
48 }
49 ],
50 "max_chance": 100,
51 "version": {
52 "name": "ultra-moon",
53 "url": "https://pokedex.mimo.dev/api/version/30/"
54 }
55 }
56 ]
57 }
58 ]
59}