Discover/pkmncards API
live

pkmncards APIpkmncards.com

Search and retrieve Pokémon TCG card data from pkmncards.com. Access card stats, images, sets, and advanced filters across all expansions via 7 endpoints.

Endpoint health
verified 4d ago
advanced_search
get_cards_by_pokemon
list_sets
get_cards_by_type
get_cards_by_set
7/7 passing latest checkself-healing
Endpoints
7
Updated
26d ago

What is the pkmncards API?

This API exposes 7 endpoints for querying Pokémon TCG card data from pkmncards.com, covering everything from full set listings to per-card details including HP, attacks, rarity, and card images. The search_cards endpoint supports pkmncards.com's native search syntax with operators like name:, color:, and stage:, while get_card_detail returns fields such as illustrator, flavor text, weakness, resistance, and retreat cost for a single card slug.

Try it

No input parameters required.

api.parse.bot/scraper/e4850f94-26e1-4b28-9cd1-c5dda38c6c4f/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/e4850f94-26e1-4b28-9cd1-c5dda38c6c4f/list_sets' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace pkmncards-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: PkmnCards SDK — browse sets, search cards, get details."""
from parse_apis.pkmncards_pokémon_tcg_api import PkmnCards, Color, Stage, CardNotFound

client = PkmnCards()

# List all series and their sets — one call returns the full hierarchy.
for series in client.serieses.list(limit=3):
    print(series.series_name, "—", len(series.sets), "sets")

# Browse cards in a specific set using constructible Set.
for card in client.set(slug="ascended-heroes").cards.list(limit=5):
    print(card.name, card.hp, card.rarity)

# Search for cards by keyword, drill into the first result for full detail.
card = client.cards.search(query="Pikachu", limit=1).first()
if card:
    detail = client.cards.get(slug=card.slug)
    print(detail.name, detail.hp, detail.color, detail.set_name)

# Filter by type using the Color enum.
for card in client.cards.by_type(pokemon_type=Color.FIRE, limit=3):
    print(card.name, card.color, card.set_name)

# Advanced multi-attribute search with enum-typed stage filter.
for card in client.cards.advanced_search(color=Color.LIGHTNING, stage=Stage.BASIC, limit=3):
    print(card.name, card.stage, card.rarity)

# Typed error handling for a missing card.
try:
    client.cards.get(slug="nonexistent-card-slug-xyz-000")
except CardNotFound as exc:
    print(f"Card not found: {exc.card_slug}")

print("exercised: serieses.list / set.cards.list / cards.search / cards.get / cards.by_type / cards.advanced_search")
All endpoints · 7 totalmissing one? ·

List all available Pokémon TCG sets/expansions organized by series. Returns a hierarchical structure of series containing their respective sets with names, abbreviations, slugs, and URLs. No pagination — one request returns all series and sets.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "series": "array of series objects, each containing series_name (string) and sets (array of objects with name, abbreviation, slug, url)"
  }
}

About the pkmncards API

Set and Card Browsing

list_sets returns a hierarchical array of series objects, each containing its child sets with name, abbreviation, slug, and url fields. This gives a complete picture of the available set catalog without requiring any parameters. Once you have a set_slug, pass it to get_cards_by_set to retrieve every card in that expansion — the response includes count, the requested set_slug, and a cards array with fields like hp, color, type, stage, rarity, image_jpg, and image_png.

Search and Advanced Filtering

search_cards accepts a query string that supports the full pkmncards.com search syntax — operators such as name:, color:, stage:, type:, rarity:, and set filters can be combined freely. The optional limit parameter controls how many pages of results (up to 20 cards each) are fetched. For structured filtering without learning query syntax, advanced_search accepts discrete parameters — name, color, stage, rarity, set_name, card_type, text, and format_name — and returns the constructed query string alongside the results so you can inspect or extend it.

Species and Type Lookups

get_cards_by_pokemon retrieves up to 100 cards for a given Pokémon species (e.g., Charizard, Eevee) across all sets. get_cards_by_type does the same filtered by energy color such as Lightning, Fire, or Psychic. Both endpoints return the same card object shape — name, hp, color, type, stage, rarity, set_name, image_jpg, image_png, and slug — plus a count and the query used.

Single Card Detail

get_card_detail takes a card_slug (e.g., pikachu-ascended-heroes-asc-055) and returns the most complete card record available: name, hp, type, color, stage, rarity, set_name, image URLs, illustrator, flavor_text, attacks, weakness, resistance, and retreat_cost. This is the right endpoint when you need the full data profile for a specific card rather than bulk results.

Reliability & maintenanceVerified

The pkmncards API is a managed, monitored endpoint for pkmncards.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when pkmncards.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official pkmncards.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a card database app that lets users browse all sets via list_sets and drill into individual expansions with get_cards_by_set.
  • Create a deck-builder tool that filters cards by stage, color, and format_name using advanced_search.
  • Populate a Pokédex-style reference showing every card ever printed for a species using get_cards_by_pokemon.
  • Index card images at multiple resolutions (image_jpg, image_png) for a visual card gallery or print reference.
  • Track rarity distribution across a set by aggregating the rarity field from get_cards_by_set results.
  • Power a card identification tool that resolves a card slug from search results to full detail via get_card_detail, including illustrator and flavor_text.
  • Filter Standard or Expanded format card pools using the format_name parameter in advanced_search.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does pkmncards.com have an official developer API?+
No. pkmncards.com does not publish a public developer API or documented data feed. This Parse API provides structured access to the card data the site exposes.
What does `get_card_detail` return beyond what search endpoints provide?+
get_card_detail returns fields not included in bulk results: attacks, weakness, resistance, retreat_cost, illustrator, and flavor_text. Search and browse endpoints return the core card object — name, hp, color, type, stage, rarity, set_name, and image URLs — but omit those per-card detail fields.
How does pagination work in `search_cards`?+
Each page of results contains up to 20 cards. The limit parameter caps how many pages are fetched. If limit is not set, the endpoint applies a default cap. There is no cursor or offset parameter; pagination is page-count-based.
Does the API return card market prices or auction history?+
Not currently. The API covers card metadata, images, set structure, and gameplay attributes. It does not include pricing, sale history, or market value data. You can fork this API on Parse and revise it to add an endpoint pulling from a pricing source such as TCGPlayer or Cardmarket.
Can I retrieve cards from a specific numbered range within a set?+
Not currently as a direct parameter. get_cards_by_set returns all cards in a set and includes each card's slug, which typically encodes the card number. You can filter the returned array client-side by the slug pattern. You can also fork this API on Parse and revise it to add a number-range filter endpoint.
Page content last updated . Spec covers 7 endpoints from pkmncards.com.
Related APIs in EntertainmentSee all →
pokemontcg.com API
Search and browse detailed information about Pokémon Trading Card Game cards and sets, including card types, rarities, and supertypes. Filter cards by set, rarity, and attributes to find exactly what you're looking for in the TCG database.
pokemontcg.io API
Search and retrieve detailed information about Pokémon Trading Card Game cards, including card stats, types, attacks, abilities, rarity, set information, images, and pricing data.
pricecharting.com API
Access collectible pricing data from PriceCharting.com. Search for Pokémon cards, US coins, and other collectibles to retrieve current prices across multiple grades (ungraded, PSA 9, PSA 10, MS62, MS66, and more), browse full set listings, view historical price trends, and explore recent sold listings.
tcgplayer.com API
Search for trading cards across all games and sets on TCGPlayer, and instantly access detailed pricing information by condition plus current seller listings with prices, shipping costs, and seller ratings. Compare card values and find the best deals from multiple sellers all in one place.
ygoprodeck.com API
Search and retrieve detailed Yu-Gi-Oh! card information including attributes, effects, and images from the comprehensive YGOProDeck database. Browse the complete card catalog or look up specific cards to find everything you need about their stats and abilities.
cardmarket.com API
Search and browse trading cards across Europe's largest marketplace, accessing detailed card information, listings, seller profiles, and finding the best bargains all in one place. Explore games and expansions to discover available singles and compare prices from multiple sellers.
tcdb.com API
Browse and retrieve detailed trading card information from the Trading Card Database (TCDB), including set listings, checklists, parallel variants, and special notations such as rookie cards, short prints, and variations. Search across sports and years to access comprehensive card and set metadata.
en.onepiece-cardgame.com API
Search and explore One Piece trading card data across all series, view detailed card information including stats, abilities, and artwork, and stay up to date with the latest news, events, and product releases from the official game site. Browse recommended deck strategies and discover upcoming tournaments and expansions.