Endpoint: location-area
GEThttps://pokedex.mimo.dev/api/location-area/mossdeep-city-stevens-house
Request
GETlocation-area
1fetch("https://pokedex.mimo.dev/api/location-area/mossdeep-city-stevens-house")
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": 769,
5 "location": {
6 "name": "mossdeep-city",
7 "url": "https://pokedex.mimo.dev/api/location/432/"
8 },
9 "name": "mossdeep-city-stevens-house",
10 "names": [
11 {
12 "language": {
13 "name": "en",
14 "url": "https://pokedex.mimo.dev/api/language/9/"
15 },
16 "name": "Mossdeep City (Steven's house)"
17 },
18 {
19 "language": {
20 "name": "fr",
21 "url": "https://pokedex.mimo.dev/api/language/5/"
22 },
23 "name": "Algatia (maison de Pierre Rochard)"
24 }
25 ],
26 "pokemon_encounters": [
27 {
28 "pokemon": {
29 "name": "beldum",
30 "url": "https://pokedex.mimo.dev/api/pokemon/374/"
31 },
32 "version_details": [
33 {
34 "encounter_details": [
35 {
36 "chance": 100,
37 "condition_values": [],
38 "max_level": 5,
39 "method": {
40 "name": "gift",
41 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
42 },
43 "min_level": 5
44 }
45 ],
46 "max_chance": 100,
47 "version": {
48 "name": "ruby",
49 "url": "https://pokedex.mimo.dev/api/version/7/"
50 }
51 },
52 {
53 "encounter_details": [
54 {
55 "chance": 100,
56 "condition_values": [],
57 "max_level": 5,
58 "method": {
59 "name": "gift",
60 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
61 },
62 "min_level": 5
63 }
64 ],
65 "max_chance": 100,
66 "version": {
67 "name": "sapphire",
68 "url": "https://pokedex.mimo.dev/api/version/8/"
69 }
70 },
71 {
72 "encounter_details": [
73 {
74 "chance": 100,
75 "condition_values": [],
76 "max_level": 5,
77 "method": {
78 "name": "gift",
79 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
80 },
81 "min_level": 5
82 }
83 ],
84 "max_chance": 100,
85 "version": {
86 "name": "emerald",
87 "url": "https://pokedex.mimo.dev/api/version/9/"
88 }
89 },
90 {
91 "encounter_details": [
92 {
93 "chance": 100,
94 "condition_values": [],
95 "max_level": 1,
96 "method": {
97 "name": "gift",
98 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
99 },
100 "min_level": 1
101 }
102 ],
103 "max_chance": 100,
104 "version": {
105 "name": "omega-ruby",
106 "url": "https://pokedex.mimo.dev/api/version/25/"
107 }
108 },
109 {
110 "encounter_details": [
111 {
112 "chance": 100,
113 "condition_values": [],
114 "max_level": 1,
115 "method": {
116 "name": "gift",
117 "url": "https://pokedex.mimo.dev/api/encounter-method/18/"
118 },
119 "min_level": 1
120 }
121 ],
122 "max_chance": 100,
123 "version": {
124 "name": "alpha-sapphire",
125 "url": "https://pokedex.mimo.dev/api/version/26/"
126 }
127 }
128 ]
129 }
130 ]
131}