Back to APIs
PokéAPI
A free RESTful API with data on every Pokémon, move, ability, type, and game mechanic from all generations.
Base URL
https://pokeapi.co/api/v2PokémongamesfreeRESTeducational
Endpoints
GET
/pokemon/{name}Get data for a specific Pokémon by name or ID.
const response = await fetch("https://pokeapi.co/api/v2/pokemon/pikachu", {
method: "GET",
headers: {
"Content-Type": "application/json"
}
});
const data = await response.json();
console.log(data);Response Preview
{
"name": "pikachu",
"id": 25,
"height": 4,
"weight": 60,
"base_experience": 112,
"types": [{ "type": { "name": "electric" } }],
"stats": [{ "stat": { "name": "speed" }, "base_stat": 90 }]
}