O Query

PokéAPI GraphQL - Query Pokémon data from across all regions

The root query type for accessing Pokemon data

Used in Examples

Fields

O Pokemon

Get a specific Pokemon by ID

id
S ID
!

The unique identifier of the Pokemon to retrieve

O PokemonConnection
!

List all Pokemon with advanced filtering

filter
I PokemonFilterInput

Advanced filter criteria for Pokemon

limit
S Int
= 20

Maximum number of Pokemon to return (default: 20)

offset
S Int
= 0

Number of Pokemon to skip for pagination (default: 0)

O Trainer

Get a trainer by ID

id
S ID
!

The unique identifier of the trainer to retrieve

[
O Trainer
!]!

List all trainers

O PokemonConnection
!

Search for Pokemon by various criteria

criteria
I PokemonSearchCriteria
!

Search criteria for finding Pokemon

limit
S Int
= 20

Maximum number of Pokemon to return (default: 20)

offset
S Int
= 0

Number of Pokemon to skip for pagination (default: 0)