Skip to content

List location areas

GET
/api/v2/location-area/
const url = 'https://pokeapi.co/api/v2/location-area/';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}

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.

limit
integer

Number of results to return per page.

offset
integer

The initial index from which to return the results.

Media typeapplication/json
object
count
required
integer
next
string format: uri
nullable
previous
string format: uri
nullable
results
required
Array<object>
object
name
required
string
<= 200 characters
url
required
string format: uri
Example
Terminal window
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}