GET/api/v2/location/{id}/

Get a location

Retrieves a location, which represents a visitable area within a game, such as a city or route. Use the id path parameter to identify the location; the identifier can be a string or an integer.

1 parameter
idstringrequired
The identifier of the location to retrieve; this value can be a string or an integer.

1 status code
200Returns the location object, including its name, region, localized names, game indices, and areas.
idintegerrequired
namestringrequired
regionobjectrequired
namesarray<object>required
game_indicesarray<object>required
areasarray<object>required

Error handling

The id path parameter can be a string or an integer and must identify the location to retrieve.