Scryfall Scraper: Magic Card Search & Prices avatar

Scryfall Scraper: Magic Card Search & Prices

Pricing

Pay per usage

Go to Apify Store
Scryfall Scraper: Magic Card Search & Prices

Scryfall Scraper: Magic Card Search & Prices

Search Magic: The Gathering cards via the public Scryfall API: oracle text, mana cost, rarity, set and market prices. No login, no proxy, no browser.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Naimur Hasan

Naimur Hasan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Scryfall Scraper

Searches Magic: The Gathering cards through the public Scryfall API and returns oracle text, mana cost, rarity, set and market prices. No login, no proxy, no browser.

Input

FieldTypeNotes
querystringRequired. Scryfall search syntax, e.g. c:red cmc<=2, set:mh3 r:mythic. Default lightning bolt.
maxItemsintegerCap on cards returned. Default 30.

Output

One row per card: id, name, setName, setCode, collectorNumber, releasedAt, typeLine, manaCost, cmc, colors, colorIdentity, rarity, oracleText, priceUsd, priceUsdFoil, priceEur, legalCommander, legalModern, imageUrl, scryfallUri.

Notes

  • Double-faced cards carry no top-level oracle_text or image. Both live under card_faces instead, so a naive mapping silently returns null for every transforming or split card. Text from both faces is joined with // and the image falls back to the first face that has one.
  • Prices arrive as strings ("1.46") and are frequently null for cards with no market data; they are converted to numbers so the dataset sorts and charts numerically.
  • Scryfall asks API clients to identify themselves and to space requests out, so this Actor sends a User-Agent and waits between pages.
  • The query is full Scryfall syntax, not a plain name match — that is what makes queries like c:red cmc<=2 f:modern possible.