How to hit the Scryfall API

Scryfall at https://api.scryfall.com is the most complete Magic card database: full search syntax, images in several sizes, and daily prices.

Authentication

None. Scryfall asks for 50–100 ms between requests and a User-Agent and Accept header on each.

Full reference: https://scryfall.com/docs/api

Get a card by name

fuzzy tolerates typos.

curl "https://api.scryfall.com/cards/named?fuzzy=lightning+bolt"
Run in PostTaco
Example response (trimmed)
{
  "object": "card",
  "id": "7673784e-db4b-43a1-8d55-1bb9fc1e284f",
  "oracle_id": "4457ed35-7c10-48c8-9776-456485fdf070",
  "multiverse_ids": [],
  "resource_id": "A59396A4D646C69A1DD41F9906BE9A9CDECE83F18DC5C53501DD7BAE50511DBB",
  "mtgo_id": 152037,
  "arena_id": 105816,
  "tcgplayer_id": 697344,
  "cardmarket_id": 892161,
  "name": "Lightning Bolt",
  "lang": "en",
  "released_at": "2026-06-26",
  "uri": "https://api.scryfall.com/cards/7673784e-db4b-43a1-8d55-1bb9fc1e284f",
  "scryfall_uri": "https://scryfall.com/card/msc/806/lightning-bolt?utm_source=api",
  "layout": "normal"
}

Random card

curl https://api.scryfall.com/cards/random
Run in PostTaco
Example response (trimmed)
{
  "object": "card",
  "id": "c51a437d-14dd-4024-ba9b-84f4249500f1",
  "oracle_id": "a45e0854-28c7-41f5-a9fe-5b76a8070c5b",
  "multiverse_ids": [],
  "tcgplayer_id": 203292,
  "cardmarket_id": 421761,
  "name": "Ferocious Zheng",
  "lang": "en",
  "released_at": "2019-11-07",
  "uri": "https://api.scryfall.com/cards/c51a437d-14dd-4024-ba9b-84f4249500f1",
  "scryfall_uri": "https://scryfall.com/card/plst/GS1-28/ferocious-zheng?utm_source=api",
  "layout": "normal",
  "highres_image": true,
  "image_status": "highres_scan",
  "image_updated_at": "2026-07-13T08:41:56Z"
}