Quickstart
Make your first JustTCG API call in under two minutes — get an API key, hit the base URL, and read live pricing data.
Overview
The JustTCG API provides real-time pricing data for trading card games including Magic: The Gathering, Pokémon, Yu-Gi-Oh!, Disney Lorcana, One Piece TCG, Digimon, and Union Arena. Our API is designed to be simple, fast, and reliable.
justtcg-js SDK. It provides type safety, automatic authentication, and cleaner data models. View SDK install →Base URL
Prefer to start from a machine-readable definition? The OpenAPI (Swagger) spec imports straight into Swagger UI, Postman, or a client generator.
MCP endpoint (BETA)
The MCP endpoint provides comprehensive pricing data to your agentic workflows.
Authentication
All API requests require authentication using an API key. Obtain a key by signing up for an account and subscribing to a plan, then include it in the x-api-key request header.
JUSTTCG_API_KEY environment variable.Auth header
x-api-key: tcg_your_api_key_hereYour first request
List all supported games:
curl https://api.justtcg.com/v1/games \
-H "x-api-key: tcg_your_api_key_here"Same call with the SDK
import { JustTCG } from 'justtcg-js';
// Reads JUSTTCG_API_KEY from env, or pass { apiKey } directly
const client = new JustTCG();
const { data } = await client.v1.games.list();
console.log(data);