location
Get location area
Location areas are sections of areas, such as floors in a building or cave. Each area has its own set of possible Pokémon encounters.
get/api/v2/location-area/{id}/
Path parameters
idinteger required
A unique integer value identifying this location area.
Response
Example response
{
"encounter_method_rates": [
{
"encounter_method": {
"name": "old-rod",
"url": "https://pokeapi.co/api/v2/encounter-method/2/"
},
"version_details": [
{
"rate": 5,
"version": {
"name": "platinum",
"url": "https://pokeapi.co/api/v2/version/14/"
}
}
]
}
],
"pokemon_encounters": [
{
"pokemon": {
"name": "tentacool",
"url": "https://pokeapi.co/api/v2/pokemon/72/"
},
"version_details": [
{
"version": {
"name": "diamond",
"url": "https://pokeapi.co/api/v2/version/12/"
},
"max_chance": 60,
"encounter_details": {
"min_level": 20,
"max_level": 30,
"condition_values": {
"name": "slot2-sapphire",
"url": "https://pokeapi.co/api/v2/encounter-condition-value/10/"
},
"chance": 60,
"method": {
"name": "surf",
"url": "https://pokeapi.co/api/v2/encounter-method/5/"
}
}
}
]
}
]
}