Endpoint: location-area
GEThttps://pokedex.mimo.dev/api/location-area/berry-fields-area
Request
GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/berry-fields-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": 1072,
5 "location": {
6 "name": "berry-fields",
7 "url": "https://pokedex.mimo.dev/api/location/728/"
8 },
9 "name": "berry-fields-area",
10 "names": [],
11 "pokemon_encounters": [
12 {
13 "pokemon": {
14 "name": "crabrawler",
15 "url": "https://pokedex.mimo.dev/api/pokemon/739/"
16 },
17 "version_details": [
18 {
19 "encounter_details": [
20 {
21 "chance": 100,
22 "condition_values": [],
23 "max_level": 10,
24 "method": {
25 "name": "berry-piles",
26 "url": "https://pokedex.mimo.dev/api/encounter-method/35/"
27 },
28 "min_level": 7
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": 10,
43 "method": {
44 "name": "berry-piles",
45 "url": "https://pokedex.mimo.dev/api/encounter-method/35/"
46 },
47 "min_level": 7
48 }
49 ],
50 "max_chance": 100,
51 "version": {
52 "name": "moon",
53 "url": "https://pokedex.mimo.dev/api/version/28/"
54 }
55 },
56 {
57 "encounter_details": [
58 {
59 "chance": 100,
60 "condition_values": [],
61 "max_level": 10,
62 "method": {
63 "name": "berry-piles",
64 "url": "https://pokedex.mimo.dev/api/encounter-method/35/"
65 },
66 "min_level": 7
67 }
68 ],
69 "max_chance": 100,
70 "version": {
71 "name": "ultra-sun",
72 "url": "https://pokedex.mimo.dev/api/version/29/"
73 }
74 },
75 {
76 "encounter_details": [
77 {
78 "chance": 100,
79 "condition_values": [],
80 "max_level": 10,
81 "method": {
82 "name": "berry-piles",
83 "url": "https://pokedex.mimo.dev/api/encounter-method/35/"
84 },
85 "min_level": 7
86 }
87 ],
88 "max_chance": 100,
89 "version": {
90 "name": "ultra-moon",
91 "url": "https://pokedex.mimo.dev/api/version/30/"
92 }
93 }
94 ]
95 }
96 ]
97}