Pokémon TCG API

⭐ Beginner's Pick Games & Comics / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

The Pokémon TCG API provides detailed data on Pokémon Trading Card Game cards, sets, and prices, making it easy to build deck builders or card collection apps. You can search cards by name, set, type, and many other attributes. A free API key gives you higher rate limits, but basic requests work without one.

💡

Beginner Tip

Register for a free API key at pokemontcg.io to get a higher rate limit of 20,000 requests per day instead of the default 1,000. Include your key as X-Api-Key in the request headers.

Available Data

Use case: Integrate pokémon tcg information data into web and mobile applications
Pokémon TCG data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "id": 1,
  "name": "Pokémon TCG",
  "data": "Pokémon TCG Information",
  "source": "Pokémon TCG"
}

Field Reference

data Array of card objects matching the search query
data[].id Unique card identifier in the format set-number (e.g., "base1-4")
data[].name Name of the Pokémon or trainer on the card
data[].supertype High-level card category: Pokémon, Trainer, or Energy
data[].tcgplayer.prices Market price data from TCGPlayer including low, mid, high, and market values in USD
totalCount Total number of cards matching the query across all pages

Implementation Example

const url = "https://pokemontcg.io/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

429 Too Many Requests Exceeded the rate limit for unauthenticated requests (1,000/day)
Register for a free API key at pokemontcg.io and include it in the X-Api-Key header to get 20,000 requests per day
Empty data array in response The search query did not match any cards in the database
Check your query syntax — use q=name:Charizard (no quotes needed for single words) and verify the set or card name spelling
400 Bad Request Invalid search query syntax in the q parameter
Review the search syntax in the API docs; use field:value pairs like "name:Pikachu types:Lightning" and avoid special characters without encoding

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 237ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Games & Comics
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →