GET
/api/v2/location-area/{id}/Get a location area
Retrieves a location area, which represents a section of a location such as a building floor or cave area. Use the id path parameter to identify the area and retrieve its encounter information, location, and game-specific details.
idintegerrequired
The unique integer identifier of the location area to retrieve.
200Returns the location area object, including its name, location, game index, encounter method rates, and Pokémon encounters.
idintegerrequired
namestringrequired
game_indexintegerrequired
encounter_method_ratesarray<object>required
locationobjectrequired
namesarray<object>required
pokemon_encountersarray<object>required
Error handling
The id path parameter must be an integer identifying the location area to retrieve.