# YGOPRODeck Yu-Gi-Oh Card Lookup

> YGOPRODeck Yu-Gi-Oh Card Lookup is a paid API for AI agents from x402-v2-mint-ygoprodeck-card.vercel.app, paid per call via x402, $0.020205/call, status unknown (last checked 2026-11-18).

Looks up Yu-Gi-Oh card data by name, fuzzy name, or numeric ID via the YGOPRODeck database, returning trimmed card metadata for a per-call USDC micropayment.

## Facts

- Endpoint: POST https://x402-v2-mint-ygoprodeck-card.vercel.app/v1/ygoprodeck-card?utm_source=zero.xyz
- Price: $0.020205/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ygoprodeck-yu-gi-oh-card-lookup-9fdf519f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DqkylTrL_zuElWkZXU82J

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 ygoprodeck-yu-gi-oh-card-lookup-9fdf519f -d '<json body>'
```

Example prompt: Can you look up the Yu-Gi-Oh card called 'Dark Magician' and tell me its type, ATK, DEF, and card description?

## When to prefer this

Choose this endpoint when you need structured Yu-Gi-Oh card metadata (stats, type, description) by exact name, fuzzy name, or numeric ID, and you want a keyless, pay-per-call micropayment model via x402 USDC. Prefer it over scraping YGOPRODeck directly when you need a managed API with predictable pricing and no API key management. Best for agents doing card lookups in the context of deck building, collection tracking, or game rule queries.

## Known failure modes

- Payment not settled: returns HTTP 402 with an empty body, prompting the x402 payment flow before data is returned
- Invalid or unrecognized card name/ID after payment: returns HTTP 400 with charged:false indicating the lookup failed and no charge was applied
- Missing all input fields (no id, name, or fname): returns 400 with charged:false
- Card not found in YGOPRODeck database: returns error response with charged:false
- Network timeout or upstream YGOPRODeck API unavailability

## How this service works

YGOPRODeck Yu-Gi-Oh card lookup (keyless). POST {name|fname|id}. Unpaid empty → 402; after settle empty/invalid → 400 charged:false. Soft disclose scryfall-cards. Response trimmed (no full card_sets dump).

## Output

A JSON object with ok:true, skill:'ygoprodeck-card', charged:true, summary:'ok', plus trimmed card data from YGOPRODeck including fields such as card name, type, description, ATK, DEF, level, attribute, and race — but excluding large nested arrays like full card_sets dumps.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "integer",
   "minimum": 1
  },
  "name": {
   "type": "string",
   "maxLength": 120
  },
  "fname": {
   "type": "string",
   "maxLength": 120
  },
  "request_id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "skill": "ygoprodeck-card",
  "charged": true,
  "summary": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ygoprodeck-yu-gi-oh-card-lookup-9fdf519f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-v2-mint-ygoprodeck-card.vercel.app](https://www.zero.xyz/host/x402-v2-mint-ygoprodeck-card.vercel.app/llms.txt)
