mtggoldfish.com APImtggoldfish.com ↗
Access MTGGoldfish metagame breakdowns, archetype popularity stats, and full deck lists by format or deck ID via a structured JSON API.
curl -X GET 'https://api.parse.bot/scraper/4836cefe-c334-4463-86c6-73a648a3efd8/get_metagame?format=modern' \ -H 'X-API-Key: $PARSE_API_KEY'
Retrieves MTG metagame archetypes and their popularity statistics for a specific format. Returns archetype names, mana colors, meta share percentages, deck counts, and paper/online prices.
| Param | Type | Description |
|---|---|---|
| format | string | The MTG format to fetch the metagame for (e.g. standard, modern, pioneer, legacy, pauper, vintage). |
{
"type": "object",
"fields": {
"format": "string — the format queried",
"archetypes": "array of archetype objects with name, archetype_url, mana_types, meta_percentage, num_decks, and prices"
},
"sample": {
"data": {
"format": "modern",
"archetypes": [
{
"name": "Boros Energy",
"prices": {
"paper": "$ 875",
"online": "290 tix"
},
"num_decks": 460,
"mana_types": [
"White",
"Red"
],
"archetype_url": "/archetype/modern-boros-energy#online",
"meta_percentage": "20.9%"
}
]
},
"status": "success"
}
}About the mtggoldfish.com API
The MTGGoldfish API exposes 3 endpoints covering Magic: The Gathering metagame data, including archetype popularity, mana composition, and card-level deck lists. The get_metagame endpoint returns meta share percentages and paper/online prices across formats like Modern, Pioneer, and Legacy. The get_archetype_decks endpoint lists recent tournament decks with pilot and event details, and get_deck returns a complete card list grouped by section for any numeric deck ID.
Metagame Coverage by Format
The get_metagame endpoint accepts an optional format parameter (e.g. standard, modern, pioneer, legacy, pauper, vintage) and returns an array of archetype objects. Each archetype includes its name, archetype_url, mana_types (the color composition), meta_percentage (share of the metagame), num_decks (count of tracked decks), and both paper and online prices. This makes it straightforward to build metagame snapshots, track format diversity, or compare budget options across archetypes.
Archetype Drill-Down
The get_archetype_decks endpoint takes a path parameter matching the MTGGoldfish archetype URL path (e.g. /archetype/modern-boros-energy) and returns a list of recently played decks. Each deck object includes a deck_id, name, url, pilot (the player's name), and event (the tournament or league where it was played). This lets you see which versions of an archetype are actively performing and cross-reference pilots across events.
Full Deck Lists
With a numeric deck_id from either get_metagame (via archetype_url) or get_archetype_decks, you can call get_deck to retrieve every card in that deck. The response includes the deck_name (with pilot), the deck_id, and a cards array where each entry has a count, name, and section (e.g. Mainboard, Sideboard). This structure is suitable for card frequency analysis, sideboard pattern research, or building collection tools.
- Track metagame share shifts across Modern or Pioneer over time using
meta_percentageandnum_decks - Compare paper vs. online prices for top archetypes in a given format to inform budget deck decisions
- Aggregate card counts across
get_archetype_decksresults to find the most-played mainboard cards in an archetype - Map pilot names to events to identify consistently top-performing players in a format
- Build a sideboard tracker by parsing the
sectionfield fromget_deckresponses across multiple decks - Monitor archetype diversity in Pauper or Legacy by counting distinct archetypes returned by
get_metagame - Seed a card collection wishlist by pulling full deck lists for target archetypes via
get_deck
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does MTGGoldfish have an official developer API?+
What does `get_metagame` return for mana types, and how granular is the color data?+
mana_types field representing the color or color combination of the deck (e.g. Boros, Grixis, Mono-Green). This is a label rather than a per-card breakdown — it reflects the archetype's identity as listed on MTGGoldfish, not a computed color distribution from the decklist.Can I filter `get_archetype_decks` by event type or date range?+
event field you can filter client-side. You can fork the API on Parse and revise it to add server-side filtering parameters.Does the API cover card prices at the individual card level within a deck?+
get_metagame, but get_deck returns only count, name, and section per card — no per-card price fields. You can fork the API on Parse and revise it to add card-level price data to the deck endpoint.