Magic card API: data, images and TCGplayer prices
Cardspine's Magic API covers 121,588 Magic: The Gathering products, each keyed on its TCGplayer product id. Use Scryfall for rules text and card data; use Cardspine for TCGplayer ids, card images and TCGplayer prices, where daily and sold prices come with every plan: Free reads 100 a day, and paid plans from $19.99 a month have no daily price cap.
Magic: The Gathering in the API
| Products | 121,588 as of November 18, 2026 |
|---|---|
| Game parameter | game=magic |
| Language | English |
| Card numbers | 380, the collector number |
| Product key | The TCGplayer product id, in the tcgplayerProductId field |
| Prices | TCGplayer: daily market, low, mid, high and direct low; last five sold prices and listings per condition (every plan; Free reads 100 a day) |
| Updates | Listings checked hourly; catalog and daily prices sync once a day |
| Not included | Graded prices and card rules text |
Three calls for Magic: The Gathering
- GET /search
- Find a card by name, number or set. The response says how the query was read.
- GET /products/tcgplayer/488276
- One product by its TCGplayer id, 488276.
- GET /products/tcgplayer/488276/prices/raw
- Daily and sold prices for the same product (every plan; Free reads 100 a day).
curl "https://api.cardspine.com/api/v1/search?game=magic&q=the+one+ring" \
-H "X-Api-Key: $CARDSPINE_KEY"Magic: The Gathering API questions
- How many Magic: The Gathering products does Cardspine cover?
- 121,588 as of November 18, 2026: singles, promos and sealed product, each with its TCGplayer product id. Sealed boxes and cases list what they hold, with quantities and product ids. New sets are added as soon as TCGplayer lists them, and the counts on this page come from the last catalog sync.
- Does Cardspine have Magic: The Gathering prices?
- Yes, from TCGplayer: a daily market, low, mid, high and direct-low price per printing, plus the last five sold prices and seller-filtered listings per condition. The Free plan reads 100 prices a day, and paid plans from $19.99 a month have no daily price cap. There are no graded (PSA, BGS, CGC) prices.
- How do I find a Magic: The Gathering card's TCGplayer product id?
- Search for it: the one ring returns the matching products, and each result has a tcgplayerProductId field. That id is the key for every other call, and it is the same id TCGplayer uses in its own product links and seller tools.
- Should I use Scryfall or Cardspine?
- Use both for different jobs. Scryfall is the better source for rules text, legality and oracle data. Cardspine is the one to call for TCGplayer product ids, TCGplayer prices and sold prices, because every product is keyed on its TCGplayer id.