# Scryfall card API

Get Scryfall Card data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as name, output, raw, and retrieve structured data including printing-specific Scryfall identifier, cross-printing card identity, card name, collector number, and source format status map for collection identity, and source-linked views.

Documentation: https://openany.si/market/apis/scryfall/scryfall-card-api/?offering=f6c2060f-a74e-4435-ab7c-332c9977ca70
API ID: f6c2060f-a74e-4435-ab7c-332c9977ca70
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/scryfall/v1/card
Page update time: 2026-12-03T02:45:04.177Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:45:01.385Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Scryfall card API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "A Scryfall card id or a scryfall.com/card/... link."
        },
        "set": {
          "type": "string",
          "description": "Set code (with `number`, or to narrow `name`/`fuzzy`)."
        },
        "number": {
          "type": "string",
          "description": "Collector number in `set`."
        },
        "lang": {
          "type": "string",
          "description": "Language code with set + number (en, ja, de, fr, ...)."
        },
        "name": {
          "type": "string",
          "description": "Exact card name."
        },
        "fuzzy": {
          "type": "string",
          "description": "Approximate card name."
        },
        "multiverse_id": {
          "type": "string",
          "description": "A Gatherer Multiverse id."
        },
        "mtgo_id": {
          "type": "string",
          "description": "A Magic Online id."
        },
        "arena_id": {
          "type": "string",
          "description": "An MTG Arena id."
        },
        "tcgplayer_id": {
          "type": "string",
          "description": "A TCGplayer product id."
        },
        "cardmarket_id": {
          "type": "string",
          "description": "A Cardmarket product id."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "all_parts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "component": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "object": {
            "type": "string"
          },
          "type_line": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          }
        }
      }
    },
    "arena_id": {
      "type": "null"
    },
    "art_crop": {
      "type": "string"
    },
    "artist": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "cardmarket_id": {
      "type": "null"
    },
    "cmc": {
      "type": "integer"
    },
    "collector_number": {
      "type": "string"
    },
    "color_identity": {
      "type": "array",
      "items": {}
    },
    "colors": {
      "type": "array",
      "items": {}
    },
    "credits_used": {
      "type": "integer"
    },
    "defense": {
      "type": "null"
    },
    "digital": {
      "type": "boolean"
    },
    "edhrec_rank": {
      "type": "null"
    },
    "fetched_at": {
      "type": "string"
    },
    "finishes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "flavor_text": {
      "type": "null"
    },
    "id": {
      "type": "string"
    },
    "image": {
      "type": "string"
    },
    "image_large": {
      "type": "string"
    },
    "image_png": {
      "type": "string"
    },
    "keywords": {
      "type": "array",
      "items": {}
    },
    "lang": {
      "type": "string"
    },
    "layout": {
      "type": "string"
    },
    "legalities": {
      "type": "object",
      "properties": {
        "alchemy": {
          "type": "string"
        },
        "brawl": {
          "type": "string"
        },
        "commander": {
          "type": "string"
        },
        "competitivebrawl": {
          "type": "string"
        },
        "duel": {
          "type": "string"
        },
        "future": {
          "type": "string"
        },
        "gladiator": {
          "type": "string"
        },
        "historic": {
          "type": "string"
        },
        "legacy": {
          "type": "string"
        },
        "modern": {
          "type": "string"
        },
        "oathbreaker": {
          "type": "string"
        },
        "oldschool": {
          "type": "string"
        },
        "pauper": {
          "type": "string"
        },
        "paupercommander": {
          "type": "string"
        },
        "penny": {
          "type": "string"
        },
        "pioneer": {
          "type": "string"
        },
        "predh": {
          "type": "string"
        },
        "premodern": {
          "type": "string"
        },
        "standard": {
          "type": "string"
        },
        "standardbrawl": {
          "type": "string"
        },
        "timeless": {
          "type": "string"
        },
        "tlr": {
          "type": "string"
        },
        "vintage": {
          "type": "string"
        }
      }
    },
    "loyalty": {
      "type": "null"
    },
    "mana_cost": {
      "type": "string"
    },
    "mtgo_id": {
      "type": "integer"
    },
    "multiverse_ids": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "name": {
      "type": "string"
    },
    "oracle_id": {
      "type": "string"
    },
    "oracle_text": {
      "type": "string"
    },
    "penny_rank": {
      "type": "null"
    },
    "power": {
      "type": "null"
    },
    "prices": {
      "type": "object",
      "properties": {
        "eur": {
          "type": "null"
        },
        "eur_foil": {
          "type": "null"
        },
        "tix": {
          "type": "string"
        },
        "usd": {
          "type": "null"
        },
        "usd_etched": {
          "type": "null"
        },
        "usd_foil": {
          "type": "null"
        }
      }
    },
    "promo": {
      "type": "boolean"
    },
    "purchase_uris": {
      "type": "object",
      "properties": {
        "cardhoarder": {
          "type": "string"
        },
        "cardmarket": {
          "type": "string"
        },
        "tcgplayer": {
          "type": "string"
        }
      }
    },
    "rarity": {
      "type": "string"
    },
    "related_uris": {
      "type": "object",
      "properties": {
        "edhrec": {
          "type": "string"
        },
        "gatherer": {
          "type": "string"
        },
        "tcgplayer_infinite_articles": {
          "type": "string"
        },
        "tcgplayer_infinite_decks": {
          "type": "string"
        }
      }
    },
    "released_at": {
      "type": "string"
    },
    "reprint": {
      "type": "boolean"
    },
    "reserved": {
      "type": "boolean"
    },
    "set": {
      "type": "string"
    },
    "set_name": {
      "type": "string"
    },
    "set_type": {
      "type": "string"
    },
    "tcgplayer_id": {
      "type": "null"
    },
    "toughness": {
      "type": "null"
    },
    "type_line": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Recorded API.SH response · Exact minimal requ
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/scryfall/v1/card?name=Black+Lotus&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "all_parts": [
    {
      "component": "combo_piece",
      "id": "bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd",
      "name": "Black Lotus",
      "object": "related_card",
      "type_line": "Artifact",
      "uri": "https://api.scryfall.com/cards/bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd"
    },
    {
      "component": "combo_piece",
      "id": "85f81500-1b1b-47e7-93a1-db5f6de95e87",
      "name": "Arzakon",
      "object": "related_card",
      "type_line": "Legendary Planeswalker — Arzakon",
      "uri": "https://api.scryfall.com/cards/85f81500-1b1b-47e7-93a1-db5f6de95e87"
    }
  ],
  "arena_id": null,
  "art_crop": "https://cards.scryfall.io/art_crop/front/b/d/bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd.jpg?1783939332",
  "artist": "Chris Rahn",
  "cached": false,
  "cardmarket_id": null,
  "cmc": 0,
  "collector_number": "4",
  "color_identity": [],
  "colors": [],
  "credits_used": 1,
  "defense": null,
  "digital": true,
  "edhrec_rank": null,
  "fetched_at": "2026-11-20T05:21:18.966Z",
  "finishes": [
    "nonfoil",
    "foil"
  ],
  "flavor_text": null,
  "id": "bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd",
  "image": "https://cards.scryfall.io/normal/front/b/d/bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd.jpg?1783939332",
  "image_large": "https://cards.scryfall.io/large/front/b/d/bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd.jpg?1783939332",
  "image_png": "https://cards.scryfall.io/png/front/b/d/bd8fa327-dd41-4737-8f19-2cf5eb1f7cdd.png?1783939332",
  "keywords": [],
  "lang": "en",
  "layout": "normal",
  "legalities": {
    "alchemy": "not_legal",
    "brawl": "not_legal",
    "commander": "banned",
    "competitivebrawl": "not_legal",
    "duel": "banned",
    "future": "not_legal",
    "gladiator": "not_legal",
    "historic": "not_legal",
    "legacy": "banned",
    "modern": "not_legal",
    "oathbreaker": "banned",
    "oldschool": "not_legal",
    "pauper": "not_legal",
    "paupercommander": "not_legal",
    "penny": "not_legal",
    "pioneer": "not_legal",
    "predh": "banned",
    "premodern": "not_legal",
    "standard": "not_legal",
    "standardbrawl": "not_legal",
    "timeless": "not_legal",
    "tlr": "banned",
    "vintage": "restricted"
  },
  "loyalty": null,
  "mana_cost": "{0}",
  "mtgo_id": 53155,
  "multiverse_ids": [
    382866
  ],
  "name": "Black Lotus",
  "oracle_id": "5089ec1a-f881-4d55-af14-5d996171203b",
  "oracle_text": "{T}, Sacrifice this artifact: Add three mana of any one color.",
  "penny_rank": null,
  "power": null,
  "prices": {
    "eur": null,
    "eur_foil": null,
    "tix": "74.68",
    "usd": null,
    "usd_etched": null,
    "usd_foil": null
  },
  "promo": false,
  "purchase_uris": {
    "cardhoarder": "https://www.cardhoarder.com/cards/53155?affiliate_id=scryfall&ref=card-profile&utm_campaign=affiliate&utm_medium=card&utm_source=scryfall",
    "cardmarket": "https://www.cardmarket.com/en/Magic/Products/Search?referrer=scryfall&searchString=Black+Lotus&utm_campaign=card_prices&utm_medium=text&utm_source=scryfall",
    "tcgplayer": "https://partner.tcgplayer.com/c/4931599/1830156/21018?subId1=api&u=https%3A%2F%2Fwww.tcgplayer.com%2Fsearch%2Fmagic%2Fproduct%3FproductLineName%3Dmagic%26q%3DBlack%2BLotus%26view%3Dgrid"
  },
  "rarity": "bonus",
  "related_uris": {
    "edhrec": "https://edhrec.com/route/?cc=Black+Lotus",
    "gatherer": "https://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=382866&printed=false",
    "tcgplayer_infinite_articles": "https://partner.tcgplayer.com/c/4931599/1830156/21018?subId1=api&trafcat=tcgplayer.com%2Fsearch%2Farticles&u=https%3A%2F%2Fwww.tcgplayer.com%2Fsearch%2Farticles%3FproductLineName%3Dmagic%26q%3DBlack%2BLotus",
    "tcgplayer_infinite_decks": "https://partner.tcgplayer.com/c/4931599/1830156/21018?subId1=api&trafcat=tcgplayer.com%2Fsearch%2Fdecks&u=https%3A%2F%2Fwww.tcgplayer.com%2Fsearch%2Fdecks%3FproductLineName%3Dmagic%26q%3DBlack%2BLotus"
  },
  "released_at": "2014-06-16",
  "reprint": true,
  "reserved": true,
  "set": "vma",
  "set_name": "Vintage Masters",
  "set_type": "masters",
  "tcgplayer_id": null,
  "toughness": null,
  "type_line": "Artifact",
  "url": "https://scryfall.com/card/vma/4/black-lotus"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/scryfall/scryfall-card-api/?offering=f6c2060f-a74e-4435-ab7c-332c9977ca70

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
