EDHREC MTG Commander Meta Scraper
GAMESECOMMERCE
Independent tool. Trademarks referenced on this page are the property of their respective owners and are used only to identify the public website this tool reads. No affiliation or endorsement.
EDHREC MTG Commander Meta Scraper
Scrape commander meta-data from EDHREC — the canonical resource for Commander (EDH) format strategy. Uses the open json.edhrec.com API. No API key required.
What you get
Commander mode (default): For each commander in the selected time period, the actor returns:
| Field | Description |
|---|---|
commander_name |
Full card name |
commander_slug |
URL-safe slug (e.g. the-ur-dragon) |
commander_url |
EDHREC page URL |
color_identity |
Color identity string (e.g. WUBRG, UB, G) |
num_decks |
Number of tracked decks running this commander |
rank |
Commander ranking in the selected period |
salt_score |
Community salt score (how annoying to play against) |
top_cards |
JSON array — top cards by inclusion with synergy scores |
high_synergy_cards |
JSON array — cards with highest synergy for this commander |
new_cards |
JSON array — newly trending cards for this commander |
average_decklist |
JSON array — average decklist grouped by card type |
Card mode: For each card slug, the actor returns inclusion rates, potential decks, synergy score, salt score, and top commanders running the card.
Input
{
"mode": "commander",
"timePeriod": "year",
"maxItems": 100
}
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
mode |
string | commander |
commander — list+detail crawl; card — card-centric lookup |
timePeriod |
string | year |
year, past6months, past3months, newcommanders |
commanderSlugs |
array | [] |
Specific commander slugs (empty = full list) |
cardSlugs |
array | [] |
Card slugs for card mode (e.g. ["sol-ring", "farseek"]) |
maxItems |
integer | 15 |
Maximum records to return |
Example output (commander mode)
{
"record_type": "commander",
"commander_name": "The Ur-Dragon",
"commander_slug": "the-ur-dragon",
"commander_url": "https://edhrec.com/commanders/the-ur-dragon",
"color_identity": "WUBRG",
"num_decks": 47307,
"rank": 1,
"salt_score": 1.9667,
"top_cards": "[{\"name\":\"Farseek\",\"sanitized\":\"farseek\",...}]",
"high_synergy_cards": "[{\"name\":\"Miirym, Sentinel Wyrm\",...}]",
"new_cards": "[{\"name\":\"Witherbloom, the Balancer\",...}]",
"average_decklist": "[{\"category\":\"Creatures\",\"cards\":[...]}]"
}
Use cases
- Card price tracking — inclusion rate spikes on EDHREC signal buying pressure on TCGPlayer/CardKingdom
- Deck-builder apps — seed recommendations with EDHREC synergy and top-card data
- Commander format analytics — track meta shifts across time periods
- Content creation — identify trending commanders and high-synergy combos for articles/videos
Notes
- Open API, no authentication required
- Rate limited to 5 requests/second (polite default)
- Data updates daily on EDHREC's end