# TCG API - Full Set Card Export

> TCG API - Full Set Card Export is a paid API for AI agents from api.tcgapi.dev, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Returns a complete JSON export of every card in a specific TCG set, including card details, image URLs, and current prices.

## Facts

- Endpoint: POST https://api.tcgapi.dev/v1/export/set/100001
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-tcgapi-dev-39fd6236
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kQcKLnEiKcQrOaBe5C09I

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-tcgapi-dev-39fd6236 -d '<json body>'
```

Example prompt: Give me the full export for TCG set ID 100001 — every card, its image URL, and current market price in one go.

## When to prefer this

Use this endpoint when you need all card data for a specific set in a single call — ideal for set valuation, sealed product analysis, building card databases, or populating inventory systems. Prefer this over individual card lookups when you need complete set coverage with images and prices together. Use when you already know the numeric set ID.

## Known failure modes

- Invalid or unknown set ID returns an error or empty result
- Set exists but has no pricing data available yet
- Network timeout for very large sets with hundreds of cards
- Payment failure via x402 protocol results in 402 response and no data returned
- Set ID belongs to a game not yet indexed in the 85+ supported TCGs

## How this service works

Full set export with every card, image URL, and current price in one JSON file — Pokemon, Magic: The Gathering, Yu-Gi-Oh, Lorcana, and 85+ more TCGs.

## Output

A single JSON file containing every card in the specified set, with each card's name, image URL, rarity, and current market price (TCGPlayer market, low, mid, and high prices per printing). Covers 85+ TCGs including Pokemon, Magic: The Gathering, Yu-Gi-Oh, and Lorcana.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-tcgapi-dev-39fd6236/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tcgapi.dev](https://www.zero.xyz/host/api.tcgapi.dev/llms.txt)
