Pokémon

Get Pokémon details by name.

GamespokemonaiCost: 5 pt
Endpoint
/api/v1/pokemon?name=
curl (bash)
curl -H "x-api-key: $APINEST_API_KEY" "/api/v1/pokemon?name="
Windows PowerShell
iwr -Uri "/api/v1/pokemon?name=" -Headers @{ "x-api-key" = $env:APINEST_API_KEY } | Select-Object -Expand Content
Node.js example
const res = await fetch("/api/v1/pokemon?name=", {
  headers: { "x-api-key": process.env.APINEST_API_KEY! }
})
console.log(await res.json())

Include your API Key via the "x-api-key" header.

Parameters
Query parameters accepted by this endpoint
NameTypeRequiredDefaultDescription
namestringYes-Pokémon name (e.g., pikachu)
Status
v1Online