lily dexlily dexAPI v1.1.0

API Documentation

The lily dex API provides Pokemon GO game data as static JSON files, updated automatically every 6 hours. Data is aggregated from PokeMiners Game Master, PvPoke, and the Pokemon GO API.

Base URLhttps://mknepprath.github.io/lily-dex-api
This API is primarily built for the lily dex iOS app. It's public and free to use, but please be considerate with request volume. No authentication required.

Pokedex

GET
https://mknepprath.github.io/lily-dex-api/pokedex.json

Complete Pokemon GO Pokedex with stats, moves, types, evolutions, forms, buddy distance, PvP IVs, and sprite URLs.

Response Fields

FieldTypeDescription
idstringPokemon species ID (e.g. BULBASAUR)
formIdstringForm identifier
dexNrnumberNational Pokedex number
generationnumberGeneration (1-9)
namesobjectLocalized names (English, Japanese, Korean, etc.)
statsobjectBase stats: { stamina, attack, defense }
primaryTypeobjectPrimary type with localized names
secondaryTypeobject | nullSecondary type, if any
pokemonClassstring | nullLEGENDARY, MYTHIC, or ULTRA_BEAST
quickMovesobjectAvailable fast moves with stats and PvP data
cinematicMovesobjectAvailable charged moves with stats and PvP data
eliteQuickMovesobject | []Elite TM fast moves
eliteCinematicMovesobject | []Elite TM charged moves
evolutionsarrayEvolution branches with candy, items, buddy distance, time-of-day, gender, lure, and trade requirements
regionFormsobject | []Alolan, Galarian, Hisuian, Paldean forms with their own stats and moves
megaEvolutionsarrayMega evolution stats and type overrides
buddyDistancenumberBuddy walk distance in km
thirdMoveCostnumber | nullStardust cost for second charged move
defaultIVsobject | nullOptimal PvP IVs per league (cp500, cp1500, cp2500)
assetsobjectOfficial artwork URLs (image, shinyImage)
pixelSpritesobjectPixel sprite URLs (image, shinyImage)

Example

curl https://mknepprath.github.io/lily-dex-api/pokedex.json

PvP Rankings

GET
https://mknepprath.github.io/lily-dex-api/rankings.json

Top 100 ranked Pokemon for Great League (1500 CP), Ultra League (2500 CP), and Master League with recommended movesets, matchups, and counters. Sourced from PvPoke.

Response Fields

FieldTypeDescription
greatarrayGreat League top 100
ultraarrayUltra League top 100
masterarrayMaster League top 100

Ranking Entry Fields

FieldTypeDescription
ranknumberRanking position (1-100)
speciesIdstringPvPoke species ID
speciesNamestringDisplay name
dexNrnumber | nullNational Pokedex number
ratingnumberPvPoke rating score
movesetstring[]Recommended moves (fast + charged)
matchupsarrayTop 5 favorable matchups
countersarrayTop 5 counters

Example

curl https://mknepprath.github.io/lily-dex-api/rankings.json

Raid Bosses

GET
https://mknepprath.github.io/lily-dex-api/raidboss.json

Current raid bosses organized by tier, including CP ranges, weather boosts, and type information.

Example

curl https://mknepprath.github.io/lily-dex-api/raidboss.json

Max Battles

GET
https://mknepprath.github.io/lily-dex-api/maxbattles.json

Current Max Battle (Dynamax) Pokemon available in-game.

Example

curl https://mknepprath.github.io/lily-dex-api/maxbattles.json

Types

GET
https://mknepprath.github.io/lily-dex-api/types.json

Pokemon type effectiveness chart with damage multipliers and weather boost associations.

Example

curl https://mknepprath.github.io/lily-dex-api/types.json

Quests

GET
https://mknepprath.github.io/lily-dex-api/quests.json

Special research and field research quest data.

Example

curl https://mknepprath.github.io/lily-dex-api/quests.json

Meta

GET
https://mknepprath.github.io/lily-dex-api/meta.json

Build metadata including timestamp, source statuses, Pokemon count, and API version.

Response Fields

FieldTypeDescription
buildTimestringISO 8601 timestamp of last build
sourcesobjectStatus of each data source (fresh or cached)
pokemonCountnumberTotal released Pokemon count
versionstringAPI version

Example

curl https://mknepprath.github.io/lily-dex-api/meta.json

Data Freshness

All data is rebuilt every 6 hours via GitHub Actions. The /meta.json endpoint includes the last build timestamp and status of each upstream source. If an upstream source is unavailable, the API falls back to the most recent cached version.

Source Priority

  • PokeMiners Game Master — stats, moves, evolution requirements, buddy distance
  • PvPoke — released Pokemon, PvP rankings, optimal IVs, second charge move costs
  • Pokemon GO API — localized names, raid bosses, types, sprites