Skip to content
Announcement: An API update is available. Check the documentation for details.

List currencies

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

Currencies used to buy items.

limit
integer

Number of results to return per page.

offset
integer

The initial index from which to return the results.

q
string

Only available locally and not at pokeapi.co Case-insensitive query applied on the name property.

Media typeapplication/json
object
count
required
integer
next
string | null format: uri
previous
string | null format: uri
results
required
Array<object>
object
name
required
string
<= 200 characters
url
required
string format: uri
Example
Terminal window
{
"count": 19,
"next": "https://pokeapi.co/api/v2/currency/?offset=2&limit=2",
"previous": null,
"results": [
{
"name": "poke-dollar",
"url": "https://pokeapi.co/api/v2/currency/1/"
},
{
"name": "coin",
"url": "https://pokeapi.co/api/v2/currency/2/"
}
]
}