Skip to content

GraphQL PokeApi

A free, typed and edge-cached GraphQL API for PokéAPI

Homepage GraphQL PokeApi

GraphQL PokeAPI is a free, typed and edge-cached GraphQL wrapper around the popular PokeAPI.

PokeAPI is one of the most-used demo APIs in the world — almost every “build something with a public API” tutorial reaches for it. But it’s pure REST, which means every time you want related data (say, a Pokémon’s abilities, moves, and evolution chain at once), you’re making a cascade of separate requests. GraphQL solves this cleanly: ask for exactly what you need, get it in one round-trip.

I wanted to use PokeAPI for a side project but kept running into that friction. Rather than work around it project by project, I built the wrapper once, deployed it as a public endpoint, and opened it up. Now it’s there for anyone else who hits the same wall.

✨ Features

  • Live Query Lab - try every query on the homepage with sample variables and real results, or write your own in the playground
  • 28 queries — covers abilities, berries, egg groups, evolution chains, genders, growth rates, locations, moves, natures, regions, species, types, and more
  • Paginated list queries — all list endpoints support limit and offset for cursor-free pagination
  • Edge cached - use https://graphql-pokeapi.graphcdn.app/ so repeat queries skip PokéAPI
  • Multiple client support - copy-ready samples for Fetch, Apollo Client, urql, graphql-request, TanStack Query, Python and curl
  • Structured responses — every query returns consistent status, message, and results fields

💡 Example Query

query pokemons($limit: Int, $offset: Int) {
pokemons(limit: $limit, offset: $offset) {
count
next
previous
results {
name
image
url
}
}
}

🗂️ Tech Stacks

  • Apollo GraphQL
  • Stellate (edge cache)
  • Vercel