# TCG API Full-Text Card Search

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

Full-text search for trading cards across 89+ games including Pokemon, Magic: The Gathering, Yu-Gi-Oh, Lorcana, Flesh and Blood, One Piece, and Riftbound

## Facts

- Endpoint: POST https://api.tcgapi.dev/v1/search
- Price: $0.005/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-ae7567f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_emmnWnwBjs_YdOChBFXji

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-ae7567f9 -d '<json body>'
```

Example prompt: Search across all trading card games for cards named 'Charizard' — I want to see every printing and version that matches, including the set name, rarity, and image.

## When to prefer this

Use this endpoint when you need to search for trading cards by name or keyword across multiple TCG games simultaneously. Prefer this over single-card lookup endpoints when you don't know the exact TCGPlayer product ID, or when you want to find all versions of a card across different sets and games. Best for discovery and fuzzy search scenarios.

## Known failure modes

- No results found for obscure or misspelled card names
- Rate limiting or payment failure for the $0.005 USDC per-call fee
- Query too short or ambiguous returns too many results
- Unsupported game or newly released set not yet indexed
- Network timeout for broad queries returning large result sets

## How this service works

Full-text card search across 89+ trading card games — Pokemon, Magic: The Gathering, Yu-Gi-Oh, Lorcana, Flesh and Blood, One Piece, Riftbound.

## Output

A list of matching trading cards from across 89+ supported TCG games, each including card name, set name, game, image URL, rarity, and TCGPlayer product ID, filtered by the search query.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-tcgapi-dev-ae7567f9/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)
