# MasterSet API: complete documentation > The master set API for Pokémon TCG: every master set defined (character, artist, expansion, promo), with complete checklists, sections, roles, print variants, cameos and a changes feed. Read-only JSON. No prices or market values, no card images, no purchase links today. # Quickstart Make your first request in under a minute, with or without a key. The MasterSet API returns Pokémon TCG master sets: what each set contains, which section every card belongs to, and how its variants are grouped. It is read-only JSON over HTTPS. ## 1. Try it without a key Five sample master sets work with no account: `charizard`, `eevee`, `151`, `mitsuhiro-arita-cards` and `base-set`. ```bash curl https://masterset.io/api/v1/sample/mastersets/charizard/cards ``` ## 2. Get a key Sign in at [the dashboard](https://masterset.io/developers/dashboard) and create a key. Creating your first key starts a 30-day free trial; no card is needed. The key is shown once, so copy it then. ## 3. How do I get every Charizard card programmatically? cURL: ```bash curl https://masterset.io/api/v1/mastersets/charizard/cards \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` JavaScript: ```javascript const res = await fetch('https://masterset.io/api/v1/mastersets/charizard/cards', { headers: { Authorization: `Bearer ${process.env.MASTERSET_API_KEY}` } }); const { count, cards } = await res.json(); console.log(count, cards[0].name, cards[0].section); ``` Python: ```python import os, requests res = requests.get( "https://masterset.io/api/v1/mastersets/charizard/cards", headers={"Authorization": f"Bearer {os.environ['MASTERSET_API_KEY']}"}, ) data = res.json() print(data["count"], data["cards"][0]["name"], data["cards"][0]["section"]) ``` One request returns the whole checklist. There is no paging on a checklist and no request per card. ## 4. Shape the checklist Every master set is made of sections. Leave some out, or ask for one row per card instead of one per variant: ```bash # Charizard cards only: no cameos, one row per card curl "https://masterset.io/api/v1/mastersets/charizard/cards?exclude=cameos&variants=false" \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` ## What is not in the API - Card prices, graded values, set values and price history. - Card images. - Marketplace purchase links. - Gameplay text: attacks, abilities, HP and rules text. - Languages other than English. - Anything about collectors or their collections. [What's available](https://masterset.io/developers/docs/capabilities) lists what is planned. `GET /meta` reports what is available. --- # What's available What you can build with the API today, what it does not provide, and what is planned. MasterSet is the collecting layer for Pokémon TCG apps: which cards belong to each master set, how variants and cameos relate to them, and what changed. This page lists what the API provides today, what it does not, and what is planned. `GET /meta` reports the same thing as data. ## Available today | Capability | Plans | | --- | --- | | Card catalogue | Free trial, Hobbyist, Developer, Business | | Master sets, sections, rules and variants | Free trial, Hobbyist, Developer, Business | | Cameo relationships | Free trial, Hobbyist, Developer, Business | | Changes feed | Free trial, Hobbyist, Developer, Business | ## What you can build with it - A Pokémon collection tracker or master set tracker. - A tracker of every card featuring one Pokémon, cameo appearances included. - Character, artist, expansion and promo checklists, with each collector choosing what counts. - Completion tracking down to print variants: reverse holos, 1st Edition, patterns. - A catalogue that stays current through the changes feed, with no ingestion of your own. ## Not in the API today - Card prices, graded values, set values and price history. - Card images. - Marketplace purchase links. - Gameplay text: attacks, abilities, HP and rules text. - Languages other than English. - Anything about collectors or their collections. For what is missing, MasterSet can be one part of your app. Where it is known, each card carries `external_ids.printing_code`, a widely used printing identifier, to join it to an image or price provider you are licensed to use, and a `url` to its MasterSet page. ## Planned None of these can be used yet: | Capability | What it is | Status | | --- | --- | --- | | Marketplace purchase links | Ready-to-use purchase links for eBay and TCGplayer, without managing your own marketplace integrations. | Planned | | Card imagery | A unified source for card images, including variant-specific imagery where available. | Planned | | Market intelligence | Card prices, graded valuations, master set values and historical market trends. | Planned | Planned capabilities are subject to commercial licensing arrangements. Availability, subscription eligibility and release dates may change. Which plans a new capability comes with is decided when it is released; the [pricing page](https://masterset.io/developers/pricing) and `GET /meta` say so then. ## Checking from code ```bash curl https://masterset.io/api/v1/meta ``` `capabilities` gives `available` for each capability; send your key to see `your_plan`. `planned` is separate, and nothing in it is available. Build against what `GET /meta` reports rather than against this page. --- # Authentication Bearer keys, where to keep them, and how to roll one. Send your key in the `Authorization` header on every request: ```http GET /api/v1/mastersets/eevee HTTP/1.1 Host: masterset.io Authorization: Bearer ms_live_… ``` - Keys start with `ms_live_`. A key is shown once, when you create it. We store only a hash of it, so we cannot show it again. - Never put a key in a URL. Requests with `?api_key=` are refused. - Keep keys on your server. A key in browser or app code can be copied by anyone who looks. If one leaks, revoke it in the dashboard and create another. - You can hold up to 5 active keys. Limits and quotas apply to your account, not to each key. ## Endpoints that need no key `GET /meta` and everything under `/sample/` work without a key, at up to 30 requests a minute per address. --- # Master sets, sections and roles The data model: set types, sections, roles and variants. A master set is every card that belongs to a subject. MasterSet defines six types: | `type` | What it is | Example | | --- | --- | --- | | `character` | Every card of one Pokémon | `charizard` | | `artist` | Every card one illustrator drew | `mitsuhiro-arita-cards` | | `expansion` | A released set, with every finish of every card | `151` | | `promo_series` | A promo line | `scarlet-violet-black-star-promos` | | `specialty` | A kind of card across sets | Gold Star cards | | `collectible` | An official non-TCG line | Topps series | ## Sections Collectors disagree about what counts. MasterSet answers by putting every card in exactly one section, and letting you choose sections. A set object lists the sections it has, how many cards each holds, and whether MasterSet includes each by default. | Key | Contains | | --- | --- | | `main` | The set’s own cards, one per printing | | `finish:` | A variant finish of those cards, e.g. `finish:reverse_holofoil`, `finish:1st_edition` | | `cameos` | Cards where the Pokémon appears in another card’s artwork (character sets) | | `trophy` | Cards awarded at a single event or to players who placed (character sets) | | `promos` | Stamped, overlay and distribution variants of an expansion’s cards | | `energy` | Basic Energy belonging to an expansion | | `special_editions` | Prerelease, staff, league and retailer-exclusive releases | | `errors`, `prototypes`, `metal`, `jumbo`, `collectibles` | Special kinds of card | Use `exclude` and `include` with these keys on a checklist request. A key the set does not have is ignored, so one request shape works for every set. ## Roles A card’s role belongs to the set it is in, not to the card. The same card can be a regular card in one Pokémon’s set and a cameo in another’s. Each checklist row carries `roles`: any of `cameo`, `trophy`, `promo`, `energy`, `special_edition`. Cameo data builds on [RotomAmiti’s Cameo Pokémon Card Database](https://docs.google.com/spreadsheets/d/18nIkOgqQrHZTz0TrH_gL1e1nL1RcHiCmPF5finAjToY), a community project, with MasterSet’s own corrections and per-set roles. ## Variants Each finish of a card is its own row with its own id: the unlimited print, the 1st Edition, the reverse holo. `finish` names it. `variants=false` returns one row per card. `GET /cards/{id}` lists a card’s other finishes. ## Identifiers - Master sets: `ms_12`, or the slug (`charizard`). Slugs can be renamed; a renamed slug answers `301` to the new one. Ids never change. - Cards: `card_1294`. When two records turn out to be one card they are merged, and the old id answers `301` to the surviving one. - Treat ids as opaque strings. --- # API reference Every endpoint, parameter and field. ## API reference The MasterSet API is organised around REST. It has predictable resource URLs, returns JSON, and uses standard HTTP status codes, authentication and caching headers. It is read-only: every endpoint is a `GET`. It describes Pokémon TCG master sets, which cards belong to each, the role every card plays in a set, and how variants are grouped. It does not return prices or market values, card images or purchase links (they are planned; see `GET /meta`). You can try it before you sign up. Five sample master sets answer without a key, and a 30-day free trial starts when you create your first key. Base URL: ```text https://masterset.io/api/v1 ``` ## Authentication Authenticate with an API key, sent as a Bearer token in the `Authorization` header. Create and revoke keys in [the dashboard](https://masterset.io/developers/dashboard). A key is shown once, when it is created, and is stored only as a hash. Keys carry your whole quota, so keep them on your server. Never put one in browser code, a mobile app or a public repository, and never in a URL: a key sent as a query parameter is refused. The sample endpoints and `GET /meta` need no key and are not counted. Authenticated request: ```bash curl https://masterset.io/api/v1/mastersets/charizard \ -H "Authorization: Bearer ms_live_4eC39HqLyjWDarjtT1zdp7dc" ``` ## Errors MasterSet uses conventional HTTP status codes. `2xx` means success, `4xx` means the request was wrong or not allowed (a bad parameter, a missing key, a used-up quota), and `5xx` means something failed on our side. Every error has the same JSON shape. `type` is stable and safe to switch on; `message` is written for a person; `request_id` identifies the request if you write to us about it. | HTTP status codes | | | --- | --- | | 200 | OK. Everything worked. | | 301 | Moved. The id or slug changed; follow `Location`. | | 304 | Not Modified. Your cached copy is current. | | 400 | `invalid_parameter`. The message says which. | | 401 | `missing_key`, `invalid_key`. | | 402 | `trial_expired`, `subscription_inactive`. | | 403 | `no_trial`. Create a key first. | | 404 | `not_found`. No such set, card or Pokémon. | | 429 | `rate_limited`, `quota_exceeded`. | | 503 | `busy`. Retry after a second, with backoff. | ## The error object Returned with every `4xx` and `5xx` response. - `type` (string): one of the types in the table above. - `message` (string): what went wrong, in plain words. - `docs_url` (string): the part of the docs that covers it. - `request_id` (string): also sent as the `X-Request-Id` header. Error response: ```json { "error": { "type": "quota_exceeded", "message": "Your plan's 10,000 requests for this period are used. Resets 2026-12-23T00:00:00.000Z.", "docs_url": "https://masterset.io/developers/docs/errors#quota_exceeded", "request_id": "req_8f3k2m9x41ab" } } ``` ## Rate limits and quotas Each plan has a number of requests per period and a per-minute rate. Limits are hard: when one is reached the API answers `429`, and there are never overage charges. A whole checklist is one request, whatever its size. Successful responses count, including `304` and `301`. Errors, the sample endpoints and `GET /meta` do not. Every authenticated response reports where you stand in its headers. | Limits by plan | | | --- | --- | | Free trial · Free | 2,000 requests, 500 a day · 60/min | | Hobbyist · $9/mo | 10,000 requests · 60/min | | Developer · $29/mo | 100,000 requests · 120/min | | Business · $99/mo | 1,000,000 requests · 600/min | ## Limit headers Sent on every response made with a key. When you are rate limited, `Retry-After` gives the seconds to wait. - `X-RateLimit-Limit`, `X-RateLimit-Remaining`: this minute. - `X-RateLimit-Reset`: when the minute ends, as a Unix time. - `X-Quota-Limit`, `X-Quota-Remaining`: this period. - `X-Quota-Reset`: when the period ends, ISO 8601. Response headers: ```http X-RateLimit-Limit: 60 X-RateLimit-Remaining: 59 X-RateLimit-Reset: 1795500000 X-Quota-Limit: 2000 X-Quota-Remaining: 1873 X-Quota-Reset: 2026-12-23T00:00:00.000Z ETag: "pZ3vJm0kUO0c1hJkq7fX2a8HnYw" ``` ## Pagination `GET /mastersets` and the changes feed are paged, with a cursor. Pass the `next_cursor` of one page as `cursor` to get the next; `next_cursor` is `null` on the last page. `limit` is 1 to 250 and defaults to 50. Nothing else is paged. A checklist, the Pokémon list and the artist list each come back whole, so there is no request per card and no loop to write. Paging through master sets: ```bash curl "https://masterset.io/api/v1/mastersets?type=artist&limit=100" \ -H "Authorization: Bearer $MASTERSET_API_KEY" # then, with "next_cursor": "ms_402" curl "https://masterset.io/api/v1/mastersets?type=artist&limit=100&cursor=ms_402" \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` ## Caching Every response carries an `ETag`. Send it back as `If-None-Match` and you get `304 Not Modified` with no body when nothing has changed. Checklists change when cards are released or corrected, usually a few times a week at most. Caching a checklist for a day is reasonable; `first_listed_at` on each card tells you what is new since you last looked. The API Terms (section 5) ask you to refresh stored data, or delete it, at least every 30 days. A full refresh is one request per checklist, about 1,700 today: roughly a sixth of the Hobbyist plan’s monthly requests, and well within the larger plans. A `304` counts as a request, so the cheaper way is the changes feed (`GET /changes`): it lists the master sets that changed, and you refresh only those. Deleting what you no longer need is always allowed instead of refreshing it. On the free trial (2,000 requests in all) cache only the sets you are testing with. Your users’ own records are theirs: when your access ends you may keep, for each user, the card and master set ids and the few fields needed to keep their collection intact (Terms, section 5). Conditional request: ```bash curl -i https://masterset.io/api/v1/mastersets/151/cards \ -H "Authorization: Bearer $MASTERSET_API_KEY" \ -H 'If-None-Match: "pZ3vJm0kUO0c1hJkq7fX2a8HnYw"' HTTP/1.1 304 Not Modified ``` ## Identifiers and versioning Ids are opaque strings with a prefix: `ms_1` for a master set, `card_109` for a card. They never change. A master set also answers to its slug (`charizard`), which can be renamed; a renamed slug answers `301` to the new one. When two card records turn out to be one card they are merged, and the old id answers `301` to the survivor. Follow redirects and you never hold a dead id. The version is in the URL (`/v1`). Within a version, fields are only added, never removed or renamed. A change that would break a client is a new version, announced at least 90 days ahead. | Conventions | | | --- | --- | | Field names | `snake_case` | | Dates | `YYYY-MM-DD` | | Timestamps | ISO 8601, UTC | | Unknown values | `null`, never omitted | | Language | English cards (`en`) | | Cross-origin | Allowed from any origin | ## Master sets A master set is every card that belongs to a subject: a Pokémon, an illustrator, an expansion, a promo line, a specialty such as 1st Edition holos, or a collectible line. MasterSet defines each one and keeps it current as cards are released. A set is made of sections. The set’s own cards are `main`; cameos, trophy cards, promos, Energy and each variant finish are sections of their own. The checklist endpoint returns the cards, and lets you include or leave out any section. | Endpoint | What it does | | --- | --- | | `GET /mastersets` | List all master sets | | `GET /mastersets/{ref}` | Retrieve a master set | | `GET /mastersets/{ref}/cards` | Retrieve a checklist | ### The master set object | Attribute | Type | Description | | --- | --- | --- | | `id` | string | Unique identifier, like `ms_1`. Never changes. | | `slug` | string | URL name, like `charizard`. Can be renamed; the old slug redirects. | | `name` | string | Display name: "Charizard Master Set". | | `type` | enum | One of `character`, `artist`, `expansion`, `promo_series`, `specialty`, `collectible`. | | `subject` | string or null | The Pokémon a character set is about. `null` for other types. | | `language` | string | Language of the cards. Always `en` in v1. | | `description` | string or null | A sentence about the set. | | `card_count` | integer | Rows in MasterSet’s default checklist: every section whose `default` is true. | | `sections` | array of objects | Every section the set has, including ones the default checklist leaves out. | | `sections.key` | string | Stable key to use in `include` and `exclude`: `main`, `cameos`, `trophy`, `promos`, `energy`, `special_editions`, `errors`, `prototypes`, `metal`, `jumbo`, `collectibles`, or `finish:` for a variant finish. | | `sections.label` | string | The name MasterSet shows for the section: "Main Cards", "Cameos", "Reverse Holos". | | `sections.count` | integer | Cards in the section. | | `sections.default` | boolean | Whether MasterSet’s default checklist includes it. | | `sections.placement` | enum | Where MasterSet lists it by default: `main` (beside the set’s own cards) or `section` (under its own heading). | | `default_sort` | string | How MasterSet orders the checklist, as `field:direction`: `releaseDate:asc`, `cardNumber:asc`. | | `updated_at` | timestamp or null | When the set’s record last changed. | | `url` | string | The set’s page on MasterSet. | | `attribution` | object | The credit to show with this data. | | `attribution.text` | string | "Master set data by MasterSet". | | `attribution.url` | string | Where the credit should link. | The master set object: ```json { "id": "ms_1", "slug": "charizard", "name": "Charizard Master Set", "type": "character", "subject": "Charizard", "language": "en", "description": "Complete collection of all Charizard Pokémon cards", "card_count": 243, "sections": [ { "key": "main", "label": "Main Cards", "count": 126, "default": true, "placement": "main" }, { "key": "finish:reverse_holofoil", "label": "Reverse Holos", "count": 11, "default": true, "placement": "main" }, { "key": "finish:1st_edition_holofoil", "label": "1st Edition Holofoil Prints", "count": 4, "default": true, "placement": "main" }, { "key": "cameos", "label": "Cameos", "count": 25, "default": true, "placement": "section" } ], "default_sort": "releaseDate:asc", "updated_at": "2026-10-22T05:27:38.000Z", "url": "https://masterset.io/charizard", "attribution": { "text": "Master set data by MasterSet", "url": "https://masterset.io/charizard" } } ``` ### List all master sets: GET /mastersets Returns master sets, 50 a page, in a stable order. Search by name or subject, and narrow by type. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `q` | query | string | Search in set names and subjects. Case-insensitive. | | `type` | query | enum | Only sets of this type. One of `character`, `artist`, `expansion`, `promo_series`, `specialty`, `collectible`. | | `limit` | query | integer | 1 to 250. Default 50. | | `cursor` | query | string | The `next_cursor` of the previous page. | Returns: An object with `count`, a `master_sets` array of summaries (`id`, `slug`, `name`, `type`, `subject`, `url`) and `next_cursor`, which is `null` on the last page. Request: ```bash curl "https://masterset.io/api/v1/mastersets?q=pikachu&limit=2" \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "count": 2, "master_sets": [ { "id": "ms_2", "slug": "pikachu", "name": "Pikachu Master Set", "type": "character", "subject": "Pikachu", "url": "https://masterset.io/pikachu" }, { "id": "ms_71", "slug": "2017-pikachu-project", "name": "2017 Pikachu Project Master Set", "type": "artist", "subject": null, "url": "https://masterset.io/2017-pikachu-project" } ], "next_cursor": "ms_71" } ``` ### Retrieve a master set: GET /mastersets/{ref} Returns one master set with every section and its size. Use the sections to decide what to ask the checklist for. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `ref` (required) | path | string | A master set id (`ms_1`) or slug (`charizard`). | Returns: A master set object. `404` if there is none; `301` if the slug was renamed. Request: ```bash curl https://masterset.io/api/v1/mastersets/charizard \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "id": "ms_1", "slug": "charizard", "name": "Charizard Master Set", "type": "character", "subject": "Charizard", "language": "en", "description": "Complete collection of all Charizard Pokémon cards", "card_count": 243, "sections": [ { "key": "main", "label": "Main Cards", "count": 126, "default": true, "placement": "main" }, { "key": "finish:reverse_holofoil", "label": "Reverse Holos", "count": 11, "default": true, "placement": "main" }, { "key": "finish:1st_edition_holofoil", "label": "1st Edition Holofoil Prints", "count": 4, "default": true, "placement": "main" }, { "key": "cameos", "label": "Cameos", "count": 25, "default": true, "placement": "section" } ], "default_sort": "releaseDate:asc", "updated_at": "2026-10-22T05:27:38.000Z", "url": "https://masterset.io/charizard", "attribution": { "text": "Master set data by MasterSet", "url": "https://masterset.io/charizard" } } ``` ### Retrieve a checklist: GET /mastersets/{ref}/cards Returns every card in the master set in one response, in MasterSet’s default order. There is no paging: the largest checklists are a few thousand cards. With no parameters you get MasterSet’s default checklist. `exclude` and `include` change which sections are in it, and `variants=false` collapses each card to one row. When a section is left out, a card that holds its role is left out even if it also holds another: excluding `cameos` removes a trophy card that is also a cameo. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `ref` (required) | path | string | A master set id (`ms_1`) or slug (`charizard`). | | `exclude` | query | string | Comma-separated section keys to leave out: `cameos,trophy`. `main` leaves out the set’s own cards. | | `include` | query | string | Comma-separated section keys to add that the default checklist leaves out: `jumbo`, `metal`. | | `variants` | query | boolean | `false` returns one row per card, leaving out every variant finish. Default `true`. | | `fields` | query | string | Comma-separated card attributes to return, for a smaller response: `id,name,section`. `id` is always included. | Returns: An object with `master_set` (id, slug, name), `rules_applied`, `count` and a `cards` array of card objects. Request: ```bash curl "https://masterset.io/api/v1/mastersets/charizard/cards?exclude=cameos&variants=false" \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "master_set": { "id": "ms_1", "slug": "charizard", "name": "Charizard Master Set" }, "rules_applied": { "include": [], "exclude": ["cameos"], "variants": false }, "count": 126, "cards": [ { "id": "card_109", "name": "Charizard-EX (100 Full Art)", "set_name": "Flashfire", "number": "100", "rarity": "Rare Ultra", "supertype": "Pokémon", "finish": "Holofoil", "special_kind": null, "release_date": "2014-03-07", "language": "en", "artist": "Ryo Ueda", "pokedex_numbers": [6], "external_ids": { "printing_code": "xy2-100" }, "section": "main", "roles": [], "first_listed_at": "2026-07-02T00:00:00.000Z", "url": "https://masterset.io/card/109-charizard-ex-100-full-art-flashfire-100?set=charizard" } ] } ``` ## Cards A card object is one printing in one finish. The unlimited print, the 1st Edition and the reverse holo of the same card are three objects with three ids, each naming its `finish`. In a checklist, a card also carries `section` and `roles`, which describe its place in that master set. On its own, it lists its other finishes and every master set it belongs to. | Endpoint | What it does | | --- | --- | | `GET /cards/{id}` | Retrieve a card | ### The card object | Attribute | Type | Description | | --- | --- | --- | | `id` | string | Unique identifier, like `card_109`. Each finish of a card has its own id. | | `name` | string | The card’s name, with a label in brackets where one tells it apart: "Charizard-EX (100 Full Art)", "Pikachu (Prerelease Staff)". | | `set_name` | string | The release the card is from: "Flashfire". | | `number` | string or null | The number printed on the card, without the set total. A string: "100", "SWSH144", "TG11", "107a". | | `rarity` | string or null | Printed rarity: "Rare Holo", "Illustration Rare". | | `supertype` | string or null | `Pokémon`, `Trainer` or `Energy`. | | `finish` | string or null | What tells this row from the card’s other variants: "Normal", "Holofoil", "Reverse Holofoil", "1st Edition Holofoil". | | `special_kind` | enum or null | Set for cards outside the standard game: `error`, `prototype`, `metal`, `jumbo`, `collectible`. `null` for an ordinary card. | | `release_date` | date or null | When the card’s release came out. | | `language` | string | Always `en` in v1. | | `artist` | string or null | The illustrator credited on the card. | | `pokedex_numbers` | array of integers | National Pokédex numbers of the Pokémon the card is: two or more for a Tag Team, empty for Trainers and Energy. Cameos are not listed here; they are roles. | | `external_ids` | object | Ids for joining to data you already hold. Either can be `null`. | | `external_ids.printing_code` | string or null | Set code and number as open card databases write it: `xy2-100`. | | `section` | string | The section of this master set the card is listed in: a key from the set’s `sections`. | | `roles` | array of enums | The roles the card holds in this master set: `cameo`, `trophy`, `promo`, `energy`, `special_edition`. Empty for one of the set’s own cards. A role belongs to the set, not the card: the same card is a cameo in one set and a regular card in another. | | `first_listed_at` | timestamp or null | When the card joined this master set on MasterSet. Use it to find what is new. | | `url` | string | The card’s page on MasterSet, opened from this master set. | The card object: ```json { "id": "card_109", "name": "Charizard-EX (100 Full Art)", "set_name": "Flashfire", "number": "100", "rarity": "Rare Ultra", "supertype": "Pokémon", "finish": "Holofoil", "special_kind": null, "release_date": "2014-03-07", "language": "en", "artist": "Ryo Ueda", "pokedex_numbers": [6], "external_ids": { "printing_code": "xy2-100" }, "section": "main", "roles": [], "first_listed_at": "2026-07-02T00:00:00.000Z", "url": "https://masterset.io/card/109-charizard-ex-100-full-art-flashfire-100?set=charizard" } ``` ### Retrieve a card: GET /cards/{id} Returns one card, its other finishes, and every master set it belongs to with its role in each. This is how to go from a card to the Pokémon that appear on it: each character set where its role is `cameo` names one. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `id` (required) | path | string | A card id, like `card_1012`. | Returns: A card object without `section`, `roles` and `first_listed_at` (those belong to a master set), plus `variants` and `master_sets`. `301` if the card was merged into another. Request: ```bash curl https://masterset.io/api/v1/cards/card_1012 \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "id": "card_1012", "name": "Charizard", "set_name": "Base", "number": "4", "rarity": "Rare Holo", "supertype": "Pokémon", "finish": "1st Edition Holofoil", "special_kind": null, "release_date": "1999-01-09", "language": "en", "artist": "Mitsuhiro Arita", "pokedex_numbers": [6], "external_ids": { "printing_code": "base1-4" }, "variants": [ { "id": "card_127", "name": "Charizard", "finish": "Holofoil" }, { "id": "card_1013", "name": "Charizard", "finish": "Shadowless Holofoil" } ], "master_sets": [ { "id": "ms_13", "slug": "base-set", "name": "Base Set Grand Master Set", "type": "expansion", "roles": [] }, { "id": "ms_1", "slug": "charizard", "name": "Charizard Master Set", "type": "character", "roles": [] }, { "id": "ms_14", "slug": "mitsuhiro-arita-cards", "name": "Mitsuhiro Arita Master Set", "type": "artist", "roles": [] } ], "url": "https://masterset.io/card/1012-charizard-base-4" } ``` ## Pokémon Every species in the National Pokédex, each with its master set. Use it to build a species picker, to map a Pokédex number to a master set, or to find the cards a Pokémon makes a cameo on. | Endpoint | What it does | | --- | --- | | `GET /pokemon` | List all Pokémon | | `GET /pokemon/{ref}` | Retrieve a Pokémon | | `GET /pokemon/{ref}/cameos` | List a Pokémon’s cameos | ### The Pokémon object | Attribute | Type | Description | | --- | --- | --- | | `pokedex_number` | integer | National Pokédex number. | | `name` | string | Species name: "Charizard". | | `slug` | string | URL name: `charizard`, `mr-mime`. | | `generation` | integer | 1 to 9. | | `master_set` | object or null | The species’ master set. In the list: `id` and `slug`. On its own: the whole master set object. | | `forms` | array of objects | Retrieve only. Mega, Primal, regional and Gigantamax forms. | | `forms.name` | string | "Mega Charizard", "Alolan Vulpix". | | `forms.kind` | enum | `mega`, `primal`, `regional` or `gmax`. | | `forms.region` | enum or null | `alola`, `galar`, `hisui` or `paldea` for a regional form. | | `card_count` | integer | Retrieve only. Rows in the default checklist of its master set. | | `cameo_count` | integer | Retrieve only. Cards where it appears without being the subject. | The Pokémon object: ```json { "pokedex_number": 6, "name": "Charizard", "slug": "charizard", "generation": 1, "master_set": { "id": "ms_1", "slug": "charizard" } } ``` ### List all Pokémon: GET /pokemon Returns every species in Pokédex order, in one response. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `generation` | query | integer | Only this generation, 1 to 9. | Returns: An object with `count` and a `pokemon` array. Request: ```bash curl "https://masterset.io/api/v1/pokemon?generation=1" \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "count": 151, "pokemon": [ { "pokedex_number": 1, "name": "Bulbasaur", "slug": "bulbasaur", "generation": 1, "master_set": { "id": "ms_212", "slug": "bulbasaur" } }, { "pokedex_number": 2, "name": "Ivysaur", "slug": "ivysaur", "generation": 1, "master_set": { "id": "ms_669", "slug": "ivysaur" } } ] } ``` ### Retrieve a Pokémon: GET /pokemon/{ref} Returns one species with its forms, how many cards and cameos it has, and its whole master set object. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `ref` (required) | path | string | A Pokédex number (`6`) or slug (`charizard`). | Returns: A Pokémon object with `forms`, `card_count`, `cameo_count` and the full `master_set`. Request: ```bash curl https://masterset.io/api/v1/pokemon/6 \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "pokedex_number": 6, "name": "Charizard", "slug": "charizard", "generation": 1, "forms": [ { "name": "Mega Charizard", "kind": "mega", "region": null }, { "name": "Gigantamax Charizard", "kind": "gmax", "region": null } ], "card_count": 243, "cameo_count": 25, "master_set": { "id": "ms_1", "slug": "charizard", "name": "Charizard Master Set", "…": "the whole master set object" } } ``` ### List a Pokémon’s cameos: GET /pokemon/{ref}/cameos Returns the cards this Pokémon appears on without being the card’s subject: another Pokémon’s card, a Trainer or an Energy whose artwork shows it. Each is a full card object from the species’ master set, carrying the role `cameo`. Cameo data builds on RotomAmiti’s Cameo Pokémon Card Database, a community project; the response carries that credit in `credit`. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `ref` (required) | path | string | A Pokédex number (`6`) or slug (`charizard`). | Returns: An object with `pokemon`, `count`, a `cards` array of card objects, and `credit` (`text` and `url`). Request: ```bash curl https://masterset.io/api/v1/pokemon/pikachu/cameos \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "pokemon": { "pokedex_number": 25, "name": "Pikachu", "slug": "pikachu", "generation": 1, "master_set": { "id": "ms_2", "slug": "pikachu" } }, "count": 252, "cards": [ { "id": "card_7577", "name": "Marshadow", "set_name": "Cosmic Eclipse", "number": "103", "rarity": "Rare", "supertype": "Pokémon", "finish": "Normal", "special_kind": null, "release_date": "2019-11-01", "language": "en", "artist": "0313", "pokedex_numbers": [802], "external_ids": { "printing_code": "sm12-103" }, "section": "cameos", "roles": ["cameo"], "first_listed_at": "2026-07-11T12:51:13.000Z", "url": "https://masterset.io/card/7577-marshadow-cosmic-eclipse-103?set=pikachu" } ], "credit": { "text": "Cameo data builds on RotomAmiti's Cameo Pokémon Card Database", "url": "https://docs.google.com/spreadsheets/d/18nIkOgqQrHZTz0TrH_gL1e1nL1RcHiCmPF5finAjToY" } } ``` ## Artists Every illustrator with a master set. An artist’s checklist is their master set: pass its id or slug to the checklist endpoint. | Endpoint | What it does | | --- | --- | | `GET /artists` | List all artists | ### The artist object | Attribute | Type | Description | | --- | --- | --- | | `name` | string | The illustrator’s name as credited on cards. | | `card_count` | integer | Rows in the artist’s default checklist: the same number as their master set’s `card_count`. | | `master_set` | object | The artist’s master set. | | `master_set.id` | string | Master set id. | | `master_set.slug` | string | Master set slug. | | `master_set.url` | string | Its page on MasterSet. | The artist object: ```json { "name": "Mitsuhiro Arita", "card_count": 1448, "master_set": { "id": "ms_14", "slug": "mitsuhiro-arita-cards", "url": "https://masterset.io/mitsuhiro-arita-cards" } } ``` ### List all artists: GET /artists Returns every illustrator by name, in one response. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `q` | query | string | Search in names. Case-insensitive. | Returns: An object with `count` and an `artists` array. Request: ```bash curl "https://masterset.io/api/v1/artists?q=arita" \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "count": 1, "artists": [ { "name": "Mitsuhiro Arita", "card_count": 1448, "master_set": { "id": "ms_14", "slug": "mitsuhiro-arita-cards", "url": "https://masterset.io/mitsuhiro-arita-cards" } } ] } ``` ## Changes What changed in master sets: cards added, cards removed, cards merged into another, and cards whose name, number, finish, set or kind was corrected. Use it to keep a copy of the checklists you hold up to date without refetching each one. Changes are detected hourly and listed oldest first. Keep the `next_cursor` of each response and pass it as `cursor` next time: you get only what happened since. When a change is about a card, fetch the card or the set’s checklist for its new details. History begins when the feed started on MasterSet and is kept for 400 days. A client further behind than that should refetch its checklists. | Endpoint | What it does | | --- | --- | | `GET /changes` | List changes | | `GET /mastersets/{ref}/changes` | List a master set’s changes | ### The change object | Attribute | Type | Description | | --- | --- | --- | | `id` | string | Unique, increasing identifier, like `chg_1042`. Also the cursor. | | `type` | enum | `added`, `removed`, `replaced` (merged into `replaced_by`) or `updated` (the card’s name, number, finish, set name or special kind changed). | | `master_set` | object | The master set it happened in. | | `master_set.id` | string | Master set id. | | `master_set.slug` | string or null | Its slug now. | | `card` | object | The card it is about. A removed or replaced card may no longer exist on its own. | | `card.id` | string | Card id. | | `replaced_by` | object or null | For `replaced`: the card it was merged into. That card is now in the set in its place. | | `replaced_by.id` | string | Card id. | | `detected_at` | timestamp | When MasterSet detected the change. | The change object: ```json { "id": "chg_3", "type": "replaced", "master_set": { "id": "ms_1", "slug": "charizard" }, "card": { "id": "card_9" }, "replaced_by": { "id": "card_16382" }, "detected_at": "2026-11-28T02:56:14.221Z" } ``` ### List changes: GET /changes Every change across all master sets, oldest first, 100 a page (up to 1,000). | Parameter | In | Type | Description | | --- | --- | --- | --- | | `cursor` | query | string | The `next_cursor` of your previous response: only changes after it. | | `since` | query | string | A date or time (`2026-11-27`, `2026-11-27T12:00:00Z`): only changes detected at or after it. For a first request; use `cursor` after that. | | `type` | query | string | Comma-separated change types to return: `added,removed`. | | `limit` | query | integer | 1 to 1,000. Default 100. | Returns: An object with `count`, a `changes` array, `next_cursor` (keep it: with no new changes it is the cursor you sent), `has_more` (true when another page is waiting now) and `history_begins`. Request: ```bash curl "https://masterset.io/api/v1/changes?since=2026-11-27" \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "count": 2, "changes": [ { "id": "chg_1", "type": "updated", "master_set": { "id": "ms_1", "slug": "charizard" }, "card": { "id": "card_1" }, "replaced_by": null, "detected_at": "2026-11-28T02:56:14.221Z" }, { "id": "chg_3", "type": "replaced", "master_set": { "id": "ms_1", "slug": "charizard" }, "card": { "id": "card_9" }, "replaced_by": { "id": "card_16382" }, "detected_at": "2026-11-28T02:56:14.221Z" } ], "next_cursor": "chg_3", "has_more": false, "history_begins": "2026-11-28T02:56:14.221Z" } ``` ### List a master set’s changes: GET /mastersets/{ref}/changes The same, for one master set. Poll it for the sets your users track. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `ref` (required) | path | string | A master set id (`ms_1`) or slug (`charizard`). | | `cursor` | query | string | The `next_cursor` of your previous response for this set. | | `since` | query | string | A date or time: only changes detected at or after it. | | `type` | query | string | Comma-separated change types to return. | | `limit` | query | integer | 1 to 1,000. Default 100. | Returns: The same shape as listing changes. Request: ```bash curl "https://masterset.io/api/v1/mastersets/charizard/changes?type=added,replaced" \ -H "Authorization: Bearer $MASTERSET_API_KEY" ``` Response: ```json { "count": 1, "changes": [ { "id": "chg_3", "type": "replaced", "master_set": { "id": "ms_1", "slug": "charizard" }, "card": { "id": "card_9" }, "replaced_by": { "id": "card_16382" }, "detected_at": "2026-11-28T02:56:14.221Z" } ], "next_cursor": "chg_3", "has_more": false, "history_begins": "2026-11-28T02:56:14.221Z" } ``` ## Meta The API describing itself: its version, how big the catalogue is, the vocabulary in use, and which capabilities are available. Useful as a health check, for building against the vocabulary instead of hard-coding it, and for an app or a coding assistant to check what it can rely on before using it. `capabilities` lists every capability with `available` true or false; an available one also lists the `plans` it comes with, and, when you send your key, `your_plan` says whether yours includes it. `planned` lists what is planned, separately: nothing in it is available. | Endpoint | What it does | | --- | --- | | `GET /meta` | Retrieve API metadata | ### Retrieve API metadata: GET /meta No key needed, and never counted. Send your key to get `your_plan` on each available capability. No API key needed. Returns: An object with `version`, `languages`, `master_sets` (total and by type), `set_types`, `section_keys`, `roles`, `card_fields`, `master_set_fields`, `sample_master_sets`, `modules` (each switch, true or false), `credits` (credit for data that builds on others’ work), `capabilities`, `planned` and `purchase_links`. Request: ```bash curl https://masterset.io/api/v1/meta ``` Response: ```json { "version": "v1", "languages": [ "en" ], "master_sets": { "total": 1738, "by_type": { "artist": 424, "character": 1025, "collectible": 43, "expansion": 182, "promo_series": 31, "specialty": 33 } }, "set_types": [ "character", "artist", "expansion", "promo_series", "specialty", "collectible" ], "section_keys": [ "main", "cameos", "trophy", "promos", "energy", "special_editions", "errors", "prototypes", "metal", "jumbo", "collectibles", "finish:" ], "roles": [ "cameo", "trophy", "promo", "energy", "special_edition" ], "card_fields": [ "id", "name", "set_name", "number", "rarity", "supertype", "finish", "special_kind", "release_date", "language", "artist", "pokedex_numbers", "external_ids", "section", "roles", "first_listed_at", "url" ], "master_set_fields": [ "id", "slug", "name", "type", "subject", "language", "description", "card_count", "sections", "default_sort", "updated_at", "url", "attribution" ], "sample_master_sets": [ "charizard", "eevee", "151", "mitsuhiro-arita-cards", "base-set" ], "modules": { "catalogue": true, "collecting": true, "cameos": true, "changes": true, "images": false, "prices": false, "condition_prices": false, "graded_prices": false, "valuations": false, "price_history": false, "purchase_links": false }, "credits": [ { "for": "cameos", "text": "Cameo data builds on RotomAmiti's Cameo Pokémon Card Database", "url": "https://docs.google.com/spreadsheets/d/18nIkOgqQrHZTz0TrH_gL1e1nL1RcHiCmPF5finAjToY" } ], "capabilities": [ { "id": "catalogue", "name": "Card catalogue", "available": true, "plans": [ "trial", "hobbyist", "developer", "business" ] }, { "id": "collecting", "name": "Master sets, sections, rules and variants", "available": true, "plans": [ "trial", "hobbyist", "developer", "business" ] }, { "id": "cameos", "name": "Cameo relationships", "available": true, "plans": [ "trial", "hobbyist", "developer", "business" ] }, { "id": "changes", "name": "Changes feed", "available": true, "plans": [ "trial", "hobbyist", "developer", "business" ] }, { "id": "purchase_links", "name": "Marketplace purchase links", "available": false }, { "id": "images", "name": "Card images", "available": false }, { "id": "prices", "name": "Current card prices", "available": false }, { "id": "condition_prices", "name": "Condition-specific prices", "available": false }, { "id": "graded_prices", "name": "Graded prices", "available": false }, { "id": "valuations", "name": "Master set values and cost to complete", "available": false }, { "id": "price_history", "name": "Price history and trends", "available": false } ], "planned": [ { "id": "commerce", "title": "Marketplace purchase links", "description": "Ready-to-use purchase links for eBay and TCGplayer, without managing your own marketplace integrations.", "status": "planned", "capabilities": [ "purchase_links" ], "note": "Planned capabilities are subject to commercial licensing arrangements. Availability, subscription eligibility and release dates may change." }, { "id": "imagery", "title": "Card imagery", "description": "A unified source for card images, including variant-specific imagery where available.", "status": "planned", "capabilities": [ "images" ], "note": "Planned capabilities are subject to commercial licensing arrangements. Availability, subscription eligibility and release dates may change." }, { "id": "market", "title": "Market intelligence", "description": "Card prices, graded valuations, master set values and historical market trends.", "status": "planned", "capabilities": [ "prices", "condition_prices", "graded_prices", "valuations", "price_history" ], "note": "Planned capabilities are subject to commercial licensing arrangements. Availability, subscription eligibility and release dates may change." } ], "purchase_links": { "ebay": { "affiliate": false, "plain": false }, "tcgplayer": { "affiliate": false, "plain": false } } } ``` ## Sample endpoints Two endpoints that answer without a key, for five master sets: `charizard`, `eevee`, `151`, `mitsuhiro-arita-cards` and `base-set`. They return exactly what the real endpoints do, so you can build a prototype before you sign up. They allow 30 requests a minute per address, and work from a browser. | Endpoint | What it does | | --- | --- | | `GET /sample/mastersets/{ref}` | Retrieve a sample master set | | `GET /sample/mastersets/{ref}/cards` | Retrieve a sample checklist | ### Retrieve a sample master set: GET /sample/mastersets/{ref} The same response as retrieving a master set. No API key needed. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `ref` (required) | path | string | One of the five sample slugs. | Returns: A master set object. Request: ```bash curl https://masterset.io/api/v1/sample/mastersets/eevee ``` Response: ```json { "id": "ms_6", "slug": "eevee", "name": "Eevee Master Set", "type": "character", "subject": "Eevee", "…": "the whole master set object" } ``` ### Retrieve a sample checklist: GET /sample/mastersets/{ref}/cards The same response as retrieving a checklist, with the same parameters. No API key needed. | Parameter | In | Type | Description | | --- | --- | --- | --- | | `ref` (required) | path | string | One of the five sample slugs. | | `exclude` | query | string | Comma-separated section keys to leave out: `cameos,trophy`. `main` leaves out the set’s own cards. | | `include` | query | string | Comma-separated section keys to add that the default checklist leaves out: `jumbo`, `metal`. | | `variants` | query | boolean | `false` returns one row per card, leaving out every variant finish. Default `true`. | | `fields` | query | string | Comma-separated card attributes to return, for a smaller response: `id,name,section`. `id` is always included. | Returns: An object with `master_set`, `rules_applied`, `count` and `cards`. Request: ```bash curl "https://masterset.io/api/v1/sample/mastersets/charizard/cards?fields=name,finish,section" ``` Response: ```json { "master_set": { "id": "ms_1", "slug": "charizard", "name": "Charizard Master Set" }, "rules_applied": { "include": [], "exclude": [], "variants": true }, "count": 243, "cards": [ { "id": "card_127", "name": "Charizard", "finish": "Holofoil", "section": "main" }, { "id": "card_1012", "name": "Charizard", "finish": "1st Edition Holofoil", "section": "finish:1st_edition_holofoil" } ] } ``` --- # Errors and limits Status codes, the error shape, rate limits and quotas. Every error has the same shape: ```json { "error": { "type": "quota_exceeded", "message": "Your plan's 10,000 requests for this period are used. Resets 2026-12-23T00:00:00.000Z.", "docs_url": "https://masterset.io/developers/docs/errors#quota_exceeded", "request_id": "req_8f3k2m9x41ab" } } ``` | Status | `type` | What to do | | --- | --- | --- | | 400 | `invalid_parameter` | Fix the request; the message says which parameter | | 401 | `missing_key`, `invalid_key` | Send a valid key in the `Authorization` header | | 402 | `trial_expired`, `subscription_inactive` | Choose a plan or update billing; your keys keep working afterwards | | 403 | `no_trial` | Create a key in the dashboard | | 404 | `not_found` | No such set or card | | 429 | `rate_limited` | Wait for `Retry-After` seconds | | 429 | `quota_exceeded` | The period’s requests are used; see `X-Quota-Reset` | | 503 | `busy` | Retry after a second, with backoff | ## Limits by plan | Plan | Price | Requests per period | Per minute | | --- | --- | --- | --- | | Free trial | Free | 2,000 (500 a day) | 60 | | Hobbyist | $9/month | 10,000 | 60 | | Developer | $29/month | 100,000 | 120 | | Business | $99/month | 1,000,000 | 600 | Limits are hard: there are no overage charges. Each response reports where you stand: ```http X-RateLimit-Limit: 60 X-RateLimit-Remaining: 59 X-RateLimit-Reset: 1795500000 X-Quota-Limit: 2000 X-Quota-Remaining: 1873 X-Quota-Reset: 2026-12-23T00:00:00.000Z ``` ## What counts as a request - Counted: every successful response, including `304 Not Modified` and redirects. - Not counted: errors (`4xx`, `5xx`), and the keyless sample and `meta` endpoints. - A whole checklist is one request, whatever its size. ## Reliability We aim for 99.5% availability and answer most requests in well under a second. This is a goal, not a guarantee. A deploy can cause a few seconds of errors: retry with backoff. --- # Attribution How to credit MasterSet, with copyable examples. On every standard plan (Free trial, Hobbyist, Developer and Business), show a visible credit wherever you display MasterSet data. Use without credit, or white-label use, is available by separate agreement. The credit is the text “Master set data by MasterSet”, linked to masterset.io or to the set’s own page. Every set response includes it ready-made in `attribution`, and every set and card carries its MasterSet `url`. HTML: ```html Master set data by MasterSet ``` React: ```jsx {set.attribution.text} ``` Svelte: ```svelte {set.attribution.text} ``` “Public” means shown to anyone other than you and the people building your product, including signed-in users of a released app. An internal tool or a prototype only your team sees needs no credit. ## Credit we give MasterSet’s cameo data builds on [RotomAmiti’s Cameo Pokémon Card Database](https://docs.google.com/spreadsheets/d/18nIkOgqQrHZTz0TrH_gL1e1nL1RcHiCmPF5finAjToY). `GET /meta` and the cameo endpoint carry that credit in `credit`; you are welcome to show it beside cameo data. ## What you may not imply Using the API does not make an app endorsed, verified or affiliated with MasterSet. MasterSet is not affiliated with, endorsed by or sponsored by The Pokémon Company, Nintendo, Creatures Inc. or GAME FREAK inc. --- # Build with AI A brief you can paste into Claude Code, Cursor or ChatGPT. Paste this into your coding assistant before asking it to build with MasterSet. It is everything the assistant needs. Brief: ```text You are integrating the MasterSet API (Pokémon TCG master sets). Base URL: https://masterset.io/api/v1 Auth: header "Authorization: Bearer " (key from env MASTERSET_API_KEY; server-side only). No key needed for: GET /meta, GET /sample/mastersets/{slug}, GET /sample/mastersets/{slug}/cards where slug is one of: charizard, eevee, 151, mitsuhiro-arita-cards, base-set. Endpoints (all GET, JSON, snake_case): - /mastersets?q=&type=&limit=&cursor= search and list master sets - /mastersets/{id|slug} one set, with its sections - /mastersets/{id|slug}/cards the WHOLE checklist in one response ?exclude=cameos,trophy ?include=jumbo ?variants=false ?fields=id,name,section - /cards/{id} one card, its variants, its master sets - /pokemon?generation= every species with its Pokédex number and master set - /pokemon/{number|slug} one species: forms, card_count, cameo_count, master set - /pokemon/{number|slug}/cameos cards whose artwork shows it without it being the subject - /artists?q= illustrators, each with a master set - /changes?cursor=&since=&type= what changed, oldest first; keep next_cursor and poll with it - /mastersets/{id|slug}/changes the same for one set Set types: character, artist, expansion, promo_series, specialty, collectible. Section keys: main, cameos, trophy, promos, energy, special_editions, errors, prototypes, metal, jumbo, collectibles, finish:. Each checklist card has: id, name, set_name, number, rarity, supertype, finish, special_kind, release_date, language, artist, pokedex_numbers, external_ids, section, roles, first_listed_at, url. Roles (per set): cameo, trophy, promo, energy, special_edition. Rules: - Ids are opaque strings ("ms_1", "card_109"). A 301 means the id or slug moved: follow it. - Each finish of a card is its own row. variants=false gives one row per card. - There are NO prices or market values, NO card images, NO purchase links in this API today. Do not look for them; GET /meta lists what is available, and what is planned separately. - Cache responses; send If-None-Match with the ETag to get 304s. Refresh or delete stored data at least every 30 days (API Terms, section 5). - Do not train or fine-tune a model on the data. Search indexes and retrieval to answer the app's own users are fine. - Errors: { "error": { "type", "message", "docs_url", "request_id" } }. 401 missing_key/invalid_key, 402 trial_expired, 429 rate_limited/quota_exceeded, 503 busy (retry). - Show the credit from set.attribution wherever the data is displayed (every standard plan). Plans: Free trial (30 days, no card, 2,000 requests, evaluation only); Hobbyist $9/month (personal projects); Developer $29/month and Business $99/month (commercial apps). No overage charges. Full docs: https://masterset.io/llms-full.txt OpenAPI: https://masterset.io/developers/openapi.json ``` ## Starter prompts - “Build a Charizard master set tracker in Next.js using the MasterSet API. Store what I own in localStorage. Start with the keyless sample endpoint.” - “Write a Python script that prints a binder checklist for the 151 master set, grouped by section, using the MasterSet API.” - “Add a page to my app that lists every master set a card belongs to, using GET /cards/{id}.” - “Show every card Pikachu makes a cameo on, newest first, using GET /pokemon/pikachu/cameos.”