Species, Varieties & Forms
PokéAPI v2 splits Pokémon data across three resources:
pokemon-species(/api/v2/pokemon-species/{id or name}/)pokemon(/api/v2/pokemon/{id or name}/)pokemon-form(/api/v2/pokemon-form/{id or name}/)
This three-tier split avoids duplicating heavy battle data across cosmetic variants while still supporting distinct battle forms.
1. The Three-Tier Model
Section titled “1. The Three-Tier Model”Data flows top-down from lore & species identity to battle mechanics to visual appearance:
- evolution_chain, flavor_text_entries
- egg_groups, capture_rate
- is_legendary, is_mythical
- stats, types, abilities
- moves, height, weight
- distinct stats, types, or moves
1.1 Resource Responsibilities
Section titled “1.1 Resource Responsibilities”| Resource | Purpose | Data Stored |
|---|---|---|
pokemon-species |
Overarching species identity (1-to-1 with National Pokédex). | Flavor text, evolution_chain, gender ratio, egg groups, capture rate, localized names, varieties[]. |
pokemon |
Distinct battle/mechanical entities (“varieties”). | Base stats, types, abilities, move learnsets, base experience, height/weight, forms[]. |
pokemon-form |
Distinct visual/cosmetic appearances (“forms”). | Form sprites, localized form names, form_name, flags (is_default, is_mega, is_battle_only). |
1.2 Why Not Two Tiers?
Section titled “1.2 Why Not Two Tiers?”If pokemon and pokemon-form were merged, every purely visual variant would duplicate full battle metadata (stats, abilities, and 100+ learnset entries). As discussed in PokeAPI Issue #401, this explains why Vivillon (pokemon-species/666) has 1 pokemon variety with 20 cosmetic pokemon-forms, whereas Wormadam (pokemon-species/413) has 3 pokemon varieties (wormadam-plant, wormadam-sandy, wormadam-trash) because its stats, types, and moves change per cloak. Similarly, Unown shares one pokemon across 28 shapes, and Alcremie shares one across 63 combinations:
2. Common Edge Cases
Section titled “2. Common Edge Cases”In theory, mechanical changes create a new pokemon variety and visual-only changes create a new pokemon-form. In practice (see PokeAPI Issue #401), Pokémon game mechanics create a few recurring friction points.
2.1 Hybrid Forms (Minior, Pikachu)
Section titled “2.1 Hybrid Forms (Minior, Pikachu)”Some Pokémon mix mechanical and cosmetic differences at the same time:
- Minior has two stat states (Meteor vs. Core) across seven cosmetic colors.
- Pikachu has cosmetic cap/costume forms where certain costumes also restrict evolution or grant exclusive moves.
- Castform, Arceus, and Silvally shift types in battle via abilities or held items.
2.2 Default Slug Suffixes (Deoxys, Giratina)
Section titled “2.2 Default Slug Suffixes (Deoxys, Giratina)”Single-form species map /pokemon-species/bulbasaur directly to /pokemon/bulbasaur. Multi-variety species often include a form suffix on the default pokemon slug, so naive /pokemon/${speciesName} lookups fail unless you check varieties[].is_default === true:
deoxys→deoxys-normalgiratina→giratina-alteredkeldeo→keldeo-ordinarymeloetta→meloetta-aria
2.3 Traversal Overhead
Section titled “2.3 Traversal Overhead”Roughly 85–90% of Pokémon have one variety and one form, yet building a full profile (Pokédex text + evolution chain + stats + form flags) still requires traversing all three endpoints.
2.4 Species-Level Metadata on Regional Variants
Section titled “2.4 Species-Level Metadata on Regional Variants”evolution_chain and flavor_text_entries live on pokemon-species, so regional varieties (Alolan, Galarian, Hisuian, Paldean) share one parent species record. Regional forms that have their own Pokédex entries or evolve into entirely different species (such as Paldean Wooper evolving into Clodsire instead of Quagsire) must still be resolved through evolution_details rather than on the pokemon variety itself (see Issue #1037).
3. Why It’s Built This Way
Section titled “3. Why It’s Built This Way”- Legacy Relational Schema (
veekun): PokéAPI v2’s database was modeled on earlyveekun/pokedextables built around Generations I–V, before Mega Evolutions, Regional Forms, and Gigantamax existed. - Non-Uniform Game Mechanics: New generations regularly introduce exceptions (battle-only forms, item-linked type shifts, costume-locked moves) that resist rigid categorization.
- CSV Data Pipeline: Data is maintained in cross-referenced CSV tables across every generation; changing core foreign keys requires migrating thousands of rows.
- Backwards Compatibility: Flattening or renaming
/api/v2endpoints would break existing apps, bots, and tutorials unless a separate/api/v3were maintained alongside it (see PokeAPI Issue #1086).
Interactive search
Section titled “Interactive search”To better understand how pokemons are mapped into the three categories the following search functionality can be used to query simoultaneously all the three resources. Good search examples are: arceus, deoxys, minior, wooper, floette.
