# Scryfall MTG Set Lookup

> Scryfall MTG Set Lookup is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns detailed metadata for a Magic: The Gathering set given its set code, sourced from Scryfall.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/scryfall-set
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scryfall-mtg-set-lookup-58695797
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wi5ul6PUMGakM-cszoziK

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 scryfall-mtg-set-lookup-58695797 -d '<json body>'
```

Example prompt: What are the details for the Magic: The Gathering set with the code 'MOM'? I need things like its full name, release date, card count, and set type.

## When to prefer this

Use this endpoint when you need structured metadata about a specific Magic: The Gathering set and already know the set code (e.g. 'MOM', 'BRO', 'NEO'). Prefer this over manual Scryfall web browsing when automating MTG data pipelines, building card databases, or enriching card data with set-level context.

## Known failure modes

- Invalid or unknown set code returns an error or empty response
- Missing 'code' query parameter results in a bad request error
- Network or upstream Scryfall API unavailability causes a 5xx error
- Typo in set code (e.g. lowercase vs uppercase mismatch) may return no results

## How this service works

Details of a Magic: The Gathering set by its set code (param code). Query: ?code= Returns JSON.

## Output

A JSON object containing metadata about the specified Magic: The Gathering set, including fields such as the set's full name, set code, set type (e.g. expansion, core, masters), number of cards, release date, and other Scryfall-sourced set details.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scryfall-mtg-set-lookup-58695797/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
