Skip to content
alltcgapi.com

REST API · Pokémon / Yu-Gi-Oh! / One Piece / Lorcana / Digimon / +14 more

One TCG API.
Every game.
One response shape.

Build with cards, sets and sealed products from 19 trading card games. The same routes, the same objects and the same key, whichever game your users collect.

800 credits, once · No credit card
Paid plans from €29 / month, excl. VAT

220,620cards1,982sets2,335sealed products

API reading · · Coverage

ONE REQUEST. ANY GAME.Docs
curl "https://api.alltcgapi.com/v1/sets/MEW/cards?limit=1" \
  -H "X-Api-Key: $ALLTCG_KEY"
200 OK · Live response excerpt
{
  "data": [
    {
      "id": "763bac80-6a2b-4ff2-86c8-e292b17a81f3",
      "game": "pokemon",
      "set": {
        "code": "MEW",
        "name": "151"
      },
      "number": "1",
      "name": "Bulbasaur",
      "rarity": "Common",
      "attributes": {
        "hp": 70
      },
      "external_ids": {
        "cardmarket": 733596,
        "tcgplayer": 502552
      }
    }
  ],
  "meta": {
    "limit": 1,
    "count": 1,
    "has_more": true
  }
}
Bulbasaur, 151 1
Bulbasaur
151 · 1

Fields trimmed for the page. Swap MEW for a One Piece or Lorcana set code and the shape stays the same. Reference

19 games, one contract

One integration. More collectors.

All games

Counts: API reading . A new game arrives as a new value for game=, with the same routes.

For developers & AI assistants

Give your assistant
the actual API.

Hand your coding assistant the routes, the rules and the error codes in one file. It will write the integration against what the API really does.

llms.txtThe starting point for an assistant ErrorsEvery code, and what to do about it CreditsWhat a request costs, before you send it
Copy a starter brief for your assistant
STARTER BRIEF
You are integrating the alltcgapi REST API (https://api.alltcgapi.com).

- Auth: send the key as "X-Api-Key: <key>" or "Authorization: Bearer <key>".
- Games: GET /v1/games lists them. Use the returned id as game=.
- Lists: /v1/sets, /v1/cards, /v1/sealed. Page with limit (max 250) and
  follow links.next until it is null. Do not build cursors yourself.
- Details: /v1/sets/{id}, /v1/cards/{id}, /v1/sealed/{id}.
- Prices: /v1/cards/{id}/prices and /v1/sealed/{id}/prices return the
  current quotes by source. Each has its own currency: never sum or
  compare amounts across currencies. /v1/prices/current?ids= reads up to
  25 items at once. Add /history to a prices route for one point per
  series per day (from=, to=, bucket=day|week|month).
- Unknown query parameters are rejected with 400, never ignored.
- Cost: X-Credits-Cost on every response; X-Quota-Remaining is what is left.
- On 429 wait for Retry-After seconds. On 403 TRIAL_EXPIRED stop: trial
  credits do not renew.
- Ids are stable. Store them; do not match cards by name.

Read https://alltcgapi.com/llms.txt before writing code.

Simple plans. Clear limits.

Start with a trial. Build from there.

Compare every plan
Monthly plans · EUR · Prices exclude VAT
PlanPriceCreditsRequests / secondGood starting point for
Free trialFree800 once5A first integration and a look at the data
Developer€29 / month50,000 / month20A side project or a collection app in beta
Growth€79 / month200,000 / month40A product with daily active collectors
Professional€149 / month500,000 / month60A marketplace or a multi-game tracker

Trial credits do not renew. Every game is included on every plan. Annual billing and Enterprise: see pricing ↗

Before you integrate

Questions, answered.

Go deeper in the docs
Which games does the API cover?

19 games: Pokémon, Yu-Gi-Oh!, One Piece, Lorcana, Digimon, Fusion World, Flesh and Blood, SW Unlimited, Weiss Schwarz, Vanguard, Riftbound, Gundam, Final Fantasy, Force of Will, DB Masters, Battle Spirits, Cyberpunk, SW Destiny, Dragoborne. Every game uses the same routes and the same object shapes, so a new game is a new value for game=, not a new integration. Coverage.

How do credits work?

A detail request costs 1 credit. A list costs 1 credit for every 50 rows you ask for. Errors and 304 responses are refunded. Every response tells you the cost and what is left. Rate limits & credits.

Is there a free plan?

There is a one-time trial of 800 credits, with no card required. It does not renew: when it is used up, paid plans start at €29 a month. Pricing.

Does the API return prices?

Yes: the current price of a card or a sealed product, by source, with its currency and the day it was observed, and the history of each quote day by day. Graded prices are not served yet. Card price API.

Are card ids stable?

Yes. An id never changes and is never reused. Every object also carries a version number that moves only when its data does.

Start with a real response.

800 credits, once. No payment card required.