Discover/MTGGoldfish API
live

MTGGoldfish APImtggoldfish.com

Access MTGGoldfish metagame breakdowns, archetype popularity stats, and full deck lists by format or deck ID via a structured JSON API.

Endpoint health
verified 3d ago
get_metagame
get_archetype_decks
get_deck
3/3 passing latest checkself-healing
Endpoints
3
Updated
22d ago

What is the MTGGoldfish 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.

Try it
The MTG format to fetch the metagame for.
api.parse.bot/scraper/4836cefe-c334-4463-86c6-73a648a3efd8/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/4836cefe-c334-4463-86c6-73a648a3efd8/get_metagame?format=standard' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace mtggoldfish-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""MTGGoldfish SDK — explore metagame archetypes, browse recent decks, inspect card lists."""
from parse_apis.mtggoldfish_api import MTGGoldfish, Format, NotFound

client = MTGGoldfish()

# Fetch the Modern metagame and inspect top archetypes
metagame = client.metagames.get(format=Format.MODERN)
print(f"Format: {metagame.format}, archetypes: {len(metagame.archetypes)}")

# Drill into the top archetype's recent decks
top = metagame.archetypes[0]
print(f"Top archetype: {top.name}, meta share: {top.meta_percentage}, decks: {top.num_decks}")
print(f"Prices — paper: {top.prices.paper}, online: {top.prices.online}")

# List recent decks for that archetype (bounded)
for deck_summary in top.decks(limit=3):
    print(f"  Deck {deck_summary.deck_id} by {deck_summary.pilot} at {deck_summary.event}")

# Get full card list for one deck
first_deck = top.decks(limit=1).first()
if first_deck:
    full = first_deck.details()
    print(f"Deck: {full.deck_name} ({len(full.cards)} cards)")
    for card in full.cards[:5]:
        print(f"  {card.count}x {card.name} [{card.section}]")

# Typed error handling: attempt to fetch a non-existent deck
try:
    client.decks.get(deck_id="9999999999")
except NotFound:
    print("Deck not found — expected for invalid ID")

print("Exercised: metagames.get / archetype.decks / deck_summary.details / decks.get")
All endpoints · 3 totalmissing one? ·

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. Each archetype includes an archetype_url path that can be passed to get_archetype_decks to list recent decks.

Input
ParamTypeDescription
formatstringThe MTG format to fetch the metagame for.
Response
{
  "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": "Affinity",
          "prices": {
            "paper": "$ 1,133",
            "online": "343 tix"
          },
          "num_decks": 280,
          "mana_types": [
            "Blue",
            "Red"
          ],
          "archetype_url": "/archetype/modern-affinity#online",
          "meta_percentage": "11.5%"
        }
      ]
    },
    "status": "success"
  }
}

About the MTGGoldfish API

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.

Reliability & maintenanceVerified

The MTGGoldfish API is a managed, monitored endpoint for mtggoldfish.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when mtggoldfish.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official mtggoldfish.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track metagame share shifts across Modern or Pioneer over time using meta_percentage and num_decks
  • Compare paper vs. online prices for top archetypes in a given format to inform budget deck decisions
  • Aggregate card counts across get_archetype_decks results 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 section field from get_deck responses 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
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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.

Frequently asked questions
Does MTGGoldfish have an official developer API?+
MTGGoldfish does not offer a public developer API. The structured data in this API is not available through any official MTGGoldfish endpoint.
What does `get_metagame` return for mana types, and how granular is the color data?+
Each archetype object includes a 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?+
Not currently. The endpoint returns a list of recent decks for an archetype path with no filtering by event type, tournament tier, or date. Each deck object does include an 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?+
Not currently. Pricing data is available at the archetype level (paper and online prices) via 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.
How fresh is the metagame data, and does it reflect real-time tournament results?+
The data reflects what MTGGoldfish publishes on its metagame pages, which are updated periodically as new tournament results are processed — not in real time. There is no timestamp field in the response, so polling frequency should be set conservatively (e.g. daily) to avoid retrieving stale data between MTGGoldfish updates.
Page content last updated . Spec covers 3 endpoints from mtggoldfish.com.
Related APIs in EntertainmentSee all →
17lands.com API
Analyze Magic: The Gathering Arena draft performance by accessing card ratings, color win rates, trophy-winning decks, and competitive leaderboards from 17lands community data. Track which cards and archetypes perform best across different draft formats to optimize your deck-building strategy.
onepiece.gg API
Access One Piece Trading Card Game deck lists and card statistics to discover popular competitive strategies and build optimized decks. Search through detailed deck information to compare card choices and improve your gameplay.
cardkingdom.com API
Search and browse Magic: The Gathering cards with real-time pricing and availability from Card Kingdom, including buylist prices and current deals. Find card details across all editions and filter by format to discover the best prices across the full catalog.
ygoprodeck.com API
Search and retrieve detailed Yu-Gi-Oh! card information including attributes, effects, and images from the comprehensive YGOProDeck database. Browse the complete card catalog or look up specific cards to find everything you need about their stats and abilities.
grandarchive.com API
Access official Grand Archive TCG news, articles, and comprehensive card database to stay updated on the latest announcements, ban & restricted updates, and guides. Search cards, browse champions, and retrieve detailed card metadata all in one place.
moxfield.com API
Search and retrieve Magic: The Gathering card data from Moxfield, including high-resolution card images, pricing, legalities, edition details, and metadata. Supports card name lookups, Scryfall syntax queries, and browsing curated card lists for deck building and collection management.
cardmarket.com API
Search and browse trading cards across Europe's largest marketplace, accessing detailed card information, listings, seller profiles, and finding the best bargains all in one place. Explore games and expansions to discover available singles and compare prices from multiple sellers.
bazaardb.gg API
Search and retrieve comprehensive data about The Bazaar game cards, including items, skills, merchants, trainers, monsters, and events with full details like tiers, attributes, enchantments, and tooltips. Quickly find the specific card information you need to optimize your gameplay strategy and deck building.