# PokeAPI — Zapi reference > Fetch Pokémon data including stats, types, abilities, and sprites. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/games/pokeapi - Endpoint catalog: https://zpi.web.id/category/games - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## PokeAPI **Category:** games · **Slug:** `pokeapi` **Detail page:** https://zpi.web.id/api/games/pokeapi Fetch Pokémon data including stats, types, abilities, and sprites. **Tags:** games, data ### Pokemon Get Pokémon details by name or ID. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/games:pokeapi/pokemon` - **Cache TTL:** 300s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `name` | string | query | yes | Pokemon name (lowercase) or numeric Pokedex id | **cURL:** ```bash curl "https://api.zpi.web.id/v1/games:pokeapi/pokemon?name=pikachu" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/games:pokeapi/pokemon?name=pikachu", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/games:pokeapi/pokemon?name=pikachu", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "id": 25, "ok": true, "name": "pikachu", "stats": [ { "base": 35, "name": "hp", "effort": 0 }, { "base": 55, "name": "attack", "effort": 0 }, { "base": 40, "name": "defense", "effort": 0 }, { "base": 50, "name": "special-attack", "effort": 0 }, { "base": 50, "name": "special-defense", "effort": 0 }, { "base": 90, "name": "speed", "effort": 2 } ], "types": [ "electric" ], "height": 4, "weight": 60, "species": "pikachu", "sprites": { "back": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/25.png", "home": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/home/25.png", "front": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/25.png", "official": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/25.png", "shinyFront": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/25.png" }, "abilities": [ { "name": "static", "slot": 1, "isHidden": false }, { "name": "lightning-rod", "slot": 3, "isHidden": true } ], "baseExperience": 112 } ``` --- _Generated: 2026-08-02T14:22:03.027Z_