Magic: The Gathering API

The original TCG — 30 years of cards, real-time pricing

100,000+ cards 1,000+ sets 5 major formats tracked

Magic: The Gathering is the world's oldest trading card game, releasing its first set in 1993. With over 30 years of printing history and a card pool exceeding 100,000 unique cards, MTG's market dynamics are unlike any other TCG. The Reserved List — a promise by Wizards of the Coast never to reprint specific cards — creates an absolute price floor for over 500 cards. Black Lotus, the most valuable MTG card, regularly sells for $100,000+ in high grades. The entire Alpha set commands prices that rival fine art.

Unlike rotation-based games, MTG's eternal formats (Legacy, Vintage, Commander) keep older cards in active demand indefinitely. Commander is now the most-played MTG format worldwide, and it drives distinct price pressure on cards with political, interaction, or ramp value. A card spiking in Commander can move from $5 to $50 in a weekend. Modern Horizons sets specifically target competitive formats with powerful reprints and new designs, making them the highest-impact releases for secondary market prices each year.

MTG card pricing is condition-sensitive in a way unique among TCGs. Edge wear on a 1993 Alpha card is not the same as edge wear on a 2023 card — collectors and graders treat them differently. Foil multipliers vary wildly by card and printing: some foils are 5x the non-foil price; others are barely above it. The price API returns both foil and non-foil prices where applicable, and per-condition granularity for accurate collection valuation.

What the API Provides for MTG

Foil & Non-Foil Pricing

Separate market prices for regular and foil printings. Essential for MTG where foil premiums range from negligible to 10x for the same card.

Per-Condition Breakdown

Near Mint through Damaged prices for every card. For Reserved List staples, condition dramatically affects value — an LP Power 9 card can be worth half its NM equivalent.

PSA / BGS / CGC Graded Values

Graded values for eligible MTG cards. High-grade Alpha and Beta copies increasingly trade as graded cards; the premium over raw copies is tracked here. Requires Trader plan.

90-Day Price History

Track Commander spikes, format bans, and reprint announcements over time. MTG has the most dramatic short-term price movements of any TCG. Requires Trader plan.

Set & Edition Filtering

Filter by set to isolate specific printings. A Counterspell from Legends is worth far more than a Counterspell from a Masters reprint set — set filtering lets you price each correctly.

Bulk Request Support

Submit up to 20 card lookups per request. Price a full Commander deck, evaluate a binder, or generate store buylist values in one API call rather than 100.

High-Demand MTG Cards

Key cards across Commander, Modern, Legacy, and collector markets:

Black Lotus — Alpha/Beta/Unlimited
The most valuable TCG card in existence. Alpha NM copies trade for $100,000+. Unlimited copies remain accessible at $5,000–$15,000. The ultimate collectible in all of TCG.
The One Ring — LTR Serialized
The serialized 1/1 One Ring from Lord of the Rings sold for $2.1M. Non-serialized copies are competitive Modern staples tracking $50–$80 NM.
Mana Crypt
The defining Commander accelerant. Every printing is priced separately — promo versions and original Eternal Masters copies command significant premiums over reprints.
Ragavan, Nimble Pilferer
Modern Horizons 2's most impactful card. A Modern and Legacy staple that defined competitive play for years; frequently tracked for format ban risk spikes.
Sheoldred, the Apocalypse
Dominaria United's breakout card. Crossed $100 on the secondary market and held — one of the most expensive Standard-legal cards in modern MTG history.
Force of Will
The cornerstone of Legacy and Vintage. Every printing tracked; Alliances version commands significant premium over Judge Promo and reprint versions.
Dockside Extortionist
The most demanded Commander card of its era before reprinting. Price history here shows the classic reprint announcement crash pattern in real-time data.
Jace, the Mind Sculptor
Once banned in Modern, still a Legacy and Vintage staple. Multiple printings with meaningful price differences; Worldwake foil versions are collector targets.

Notable MTG Sets

Alpha / Beta / Unlimited (1993–1994) Reserved List foundation

The original prints. Alpha's black border, rounded corners, and limited print run give it permanent premium status. Beta and Unlimited copies are more liquid but still highly valued. The Power 9 lives here.

Modern Horizons 2 (2021) Highest secondary market impact set

Arguably the highest-impact set for secondary market prices in Modern MTG history. Ragavan, Solitude, Grief, and numerous fetchland/dual reprints drove box prices to $300+ at peak.

Lord of the Rings: Tales of Middle-earth (2023) Crossover collector appeal

The One Ring serialized card drove enormous mainstream press coverage. The full set includes competitive staples and high-value Showcase and Scene treatments commanding significant premiums.

Commander Masters (2023) Reprint set price tracking

A high-value reprint set targeting Commander staples. Tracking Dockside, Mana Crypt, and other reprints here shows the typical post-reprint price trajectory over 90 days.

Modern Horizons 3 (2024) Current competitive set

Continued the Modern Horizons tradition with format-warping designs. Eldrazi and Nadu-related cards dominated competitive pricing discourse; ban watchlist price tracking is a common use case here.

Code Examples

Search MTG Cards

import { TcgLookupClient } from '@tcgpricelookup/sdk';
const tcg = new TcgLookupClient({ apiKey: 'YOUR_KEY' });

// Search for any MTG card
const results = await tcg.cards.search({
  name: 'Mana Crypt',
  game: 'mtg',
});

// Search by set for specific printing
const mh2Cards = await tcg.cards.search({
  name: 'Ragavan',
  game: 'mtg',
  set: 'Modern Horizons 2',
});

console.log(results.data[0].name);
console.log(results.data[0].prices.nearMint.market);  // NM non-foil market
console.log(results.data[0].prices.nearMint.foil);    // NM foil market

Get Card with Foil Pricing

// Get Sheoldred with full condition + foil breakdown
const card = await tcg.cards.get('dmu-107', { game: 'mtg' });

console.log(card.name);                           // "Sheoldred, the Apocalypse"
console.log(card.set.name);                       // "Dominaria United"
console.log(card.prices.nearMint.market);         // NM non-foil market
console.log(card.prices.nearMint.foil);           // NM foil market
console.log(card.prices.lightlyPlayed.market);    // LP non-foil
console.log(card.prices.lightlyPlayed.foil);      // LP foil

Commander Deck Price Tool

// Price a Commander decklist (batch up to 20 cards per request)
const batch = await tcg.cards.batch([
  { name: 'Mana Crypt',              game: 'mtg' },
  { name: 'Sol Ring',                game: 'mtg' },
  { name: 'Dockside Extortionist',   game: 'mtg' },
  { name: 'Smothering Tithe',        game: 'mtg' },
  { name: 'Cyclonic Rift',           game: 'mtg' },
]);

const total = batch.data.reduce((sum, card) => {
  return sum + (card.prices.nearMint.market ?? 0);
}, 0);

console.log(`Staple package NM value: $${total.toFixed(2)}`);

Track Commander Spike / Ban Price Movement

// 90-day history to catch Commander spike or ban announcement (Trader plan)
const history = await tcg.cards.history('card-id-here', {
  game: 'mtg',
  days: 90,
});

history.data.forEach(entry => {
  console.log(entry.date, entry.prices.nearMint.market);
});

What People Build with MTG Price Data

Commander Deck Builders

Show live price for each card as users build their Commander deck. Display budget alternatives when a staple is too expensive. Sum the full deck cost in real time.

Store Buylist Automation

MTG stores run large buylists. Automating buylist prices from real market data, with condition-based adjustment, saves hours of manual pricing and keeps stores competitive.

MTG Finance Trackers

Watch lists for Reserved List cards, reprint monitoring, and ban/unban price impact analysis. The 90-day history endpoint is essential for this use case.

Large Collection Management

MTG collectors routinely have 10,000–100,000 cards. Batch pricing, set-based organization, and per-printing price isolation make collection valuation tractable at that scale.

Format Legality + Price Tools

Combine card legality data with real-time prices to show "cheapest Standard-legal version" or "which printing of this card is cheapest for Modern play."

Printing Comparison Tools

MTG cards have dozens of printings spanning 30 years. Show the cheapest functional printing vs. the premium collector printing for any given card.

Frequently Asked Questions

Does the API include Reserved List cards?
Yes. All Reserved List cards — including the Power 9 and high-value Alpha/Beta cards — are fully indexed with real-time pricing. Black Lotus, Moxen, Time Walk, and all reserved cards are searchable and priced. Set filtering lets you isolate specific printings (Alpha vs. Beta vs. Unlimited).
Can I filter MTG cards by format legality?
The API focuses on pricing data rather than rules metadata. You can search by set to target format-legal printings, and combine our price data with format legality data from a rules-focused source like Scryfall for complete deck-building tools. Use game: 'mtg' with set filtering for the most precise pricing.
How does MTG foil pricing work in the API?
Foil and non-foil prices are returned as separate fields within each condition tier. For example, prices.nearMint.market is the NM non-foil price, and prices.nearMint.foil is the NM foil price. Both TCGPlayer and eBay sources are separated this way where data is available.
How many different printings of a card can I access?
Every printing of every card is a unique record with its own ID. A card like Sol Ring with 50+ printings has 50+ separate entries. Search by name returns all printings; filter by set to narrow down. This lets you price-compare a Collector's Edition Sol Ring against a Commander Anthology version accurately.

Get Started with the MTG API

  1. 1

    Get a free API key

    Sign up at tcgpricelookup.com/dashboard. Free plan is 200 requests/day — enough to prototype any Commander deck tool or collection tracker.

  2. 2

    Search with game: 'mtg'

    All MTG queries use the mtg game slug. Search by name returns all printings; add a set filter for specific editions. Response includes foil and non-foil prices per condition.

  3. 3

    Use batch lookups for decklists

    Submit up to 20 cards per request. A full Commander deck (99 cards + commander) takes 5 batch requests. Price a complete decklist in a fraction of a second.

  4. 4

    Upgrade for price history and graded data

    Trader plan ($14.99/mo) adds 90-day price history — essential for MTG finance and Commander spike tracking. Business plan ($89.99/mo) for high-volume store tooling.

Build with Magic: The Gathering price data

Get your free API key and start querying MTG card prices across 30 years of sets. No credit card required.