Skip to content
TTCGAPIs
Catalog API

TCG Card Search & Catalog API

Try with 100 free credits across all customer data endpoints. No payment card required. Credits pay for requests: 1 credit for a catalog lookup, 2 for a price or certificate lookup, 5 for live listings or prices by condition (SKU prices). After your free credits are used, buy a credit pack (from £10, no subscription) or choose a monthly plan. Every monthly plan can call every endpoint: a request takes 1 call from the monthly allowance, except live listings and SKU prices, which take 5 calls on Hobby and Business.

Browse and search card data by name. Query games, expansions, and cards using human-readable names instead of numeric IDs.

Name-Based Card Data

Search and browse card catalogs using game names, expansion names, and card names.

Name-Based Search

Query by human-readable names instead of numeric IDs. Perfect for search bars and autocomplete.

Hierarchical Browsing

Drill down from games to expansions to cards with simple query parameters.

Rich Card Details

Get comprehensive card data including images, rarity, product IDs, and optional pricing in one call.

Fields by plan

The legacy card details endpoint takes 1 call on every monthly plan and returns price fields from Business and live-listing fields on Unlimited; on a lower plan use the price and listing endpoints. With credits it costs 5 credits per request.

60+ Games

Catalog records for Pokemon, MTG, Yu-Gi-Oh!, and dozens more TCGs.

Flexible Lookups

Look up card details by name or directly by productId for maximum flexibility.

4 Endpoints

Catalog API Endpoints

Protected endpoints require authentication via x-api-key header.

GET/api/v1/catalog/games
Calls: 1 on every plan

Get a list of all distinct game names in the catalog. Supports pagination via ?limit=25&offset=0.

Params: limit (optional), offset (optional)
GET/api/v1/catalog/expansions
Calls: 1 on every plan

Get expansion names for a specific game. Supports pagination via ?limit=25&offset=0.

Params: game (required), limit (optional), offset (optional)
GET/api/v1/catalog/cards
Calls: 1 on every plan

Get card names for a specific game and expansion. Supports pagination via ?limit=25&offset=0.

Params: game (required), expansion (required), limit (optional), offset (optional)
GET/api/v1/catalog/card-details
Calls: 1 on every plan

Get detailed card information by name or product ID. On a monthly plan it takes 1 call and adds price fields from Business and listing fields on Unlimited. Without a monthly plan it costs 5 credits per request.

Params: name + game + expansion, or productId
Developer Ready

Executable Requests

Use the returned identifiers and inspect the actual catalog records. Prices and listings are separate requests.

GET /api/v2/expansions/3
// Run on your server. Keep the key out of client-side code.
const headers = { 'x-api-key': process.env.TCGAPIS_KEY };
async function get(path) {
  const response = await fetch('https://api.tcgapis.com/api/v2' + path, { headers });
  const body = await response.json();
  if (!response.ok || !body.success) throw new Error(body.error || 'Request failed');
  return body;
}

// Credits (1 per request), or 1 call on any monthly plan. Pokemon is category 3.
const expansions = await get('/expansions/3?limit=25&offset=0');
console.log(expansions.data); // Objects carrying groupId, not strings
const groupId = expansions.data[0]?.groupId;
if (!groupId) throw new Error('No expansion found');
const cards = await get('/cards/' + groupId + '?limit=25&offset=0');
console.log(cards.data); // Product records; paginate using count/total/offset/limit
// Inspect the set and printing before selecting a product for your application.
GET /api/v2/products/:productId
// Run on your server. Keep the key out of client-side code.
const headers = { 'x-api-key': process.env.TCGAPIS_KEY };
async function get(path) {
  const response = await fetch('https://api.tcgapis.com/api/v2' + path, { headers });
  const body = await response.json();
  if (!response.ok || !body.success) throw new Error(body.error || 'Request failed');
  return body;
}

const found = await get('/search?q=Charizard&game=3&limit=10');
console.log(found.data); // Inspect candidates before choosing the intended set/printing
const productId = found.data[0]?.productId;
if (!productId) throw new Error('No matching product found');

const product = await get('/products/' + productId);
console.log(product.data); // Catalog metadata and SKU identifiers
// Prices and listings are separate endpoints, not embedded catalog objects.
Use Cases

What Can You Build?

The Catalog API is ideal for user-facing search and browse experiences.

Search Interfaces

Build search bars and autocomplete that let users find cards by name, game, and expansion.

Card Databases

Create browsable card databases organized by game and expansion.

Deck Builders

Power deck building tools with name-based card lookups and detailed card information.

Price Checkers

Let users type a card name and instantly see current market prices.

Frequently Asked Questions

Common questions about the Catalog API.

What is the Catalog API?

The Catalog API provides name-based endpoints to browse and search trading card game data. Query by game name, expansion name and card name; the V2 workflow uses numeric IDs and separate catalog, pricing and listing endpoints.

How does the Catalog API differ from the V2 API?

The Catalog API is name-based: you query by game name, expansion name, and card name. The V2 API is ID-based: you chain requests using categoryId, groupId, and productId. Use Catalog for search/browse UIs and V2 for structured data pipelines.

What data does the card-details endpoint return?

The legacy /api/v1/catalog/card-details endpoint returns catalog fields and may add price_trends or live_listings when source data exists. With credits it costs 5 credits per request. On a monthly plan it takes 1 call and returns price_trends from Business and live_listings on Unlimited; on a lower plan, use the price and listing endpoints for those fields. The V2 /products endpoint is catalog-only; request V2 prices and listings separately.

Which trading card games are supported?

We support 60+ TCGs including Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Flesh and Blood, One Piece, Disney Lorcana, Star Wars Unlimited, and many more.

Can I look up cards by product ID?

Yes. The /api/v1/catalog/card-details endpoint supports name-based lookups and direct product ID lookups with the productId query parameter.

Related API Features

Explore other API endpoints for a complete integration.

Ready to Search the Catalog?

Get started with 100 free credits or a Hobby plan and browse card data by name across 60+ trading card games.