Skip to content
alltcgapi.com

Docs

API reference

Every route, its parameters and what it costs.

Base URL: https://api.alltcgapi.com. Every data route is a GET and returns JSON.

RouteCreditsParametersReturns
GET /v1/games1—The games in the catalogue, with set, card and sealed counts.
GET /v1/sets1game, region, limit, cursorSets, newest first.
GET /v1/sets/{id}1—One set by id or by code, with its names per language.
GET /v1/sets/{id}/cards1 per 50 rowslimit, cursorThe cards of a set, in collector-number order.
GET /v1/cards1 per 50 rowsgame, set, name, number, limit, cursorCards across the catalogue.
GET /v1/cards/{id}1—One card, with its names per language.
GET /v1/sealed1 per 50 rowsgame, set, kind, limit, cursorSealed products.
GET /v1/sealed/{id}1—One sealed product.
GET /v1/cards/{id}/prices2source, language, variantThe current quotes of a card.
GET /v1/cards/{id}/prices/history5from, to, bucket, source, language, variantThe price history of a card: one point per series per day.
GET /v1/sealed/{id}/prices2source, language, variantThe current quotes of a sealed product.
GET /v1/sealed/{id}/prices/history5from, to, bucket, source, language, variantThe price history of a sealed product.
GET /v1/prices/current4ids, source, language, variantThe current quotes of up to 25 cards and sealed products in one request.
GET /v1/prices/sourcespublic—The price sources the API serves, with the delay of each.
GET /v1/prices/coveragepublic—Per game and source: how many items have a quote.
GET /v1/me0—Your plan, scopes and remaining credits.
GET /v1/billing/planspublic—The price list.
GET /v1/referencepublic—The closed vocabularies in one call.
GET /v1/statuspublic—When the catalogue and the prices were last refreshed.
GET /v1/healthpublic—Process and database health.

Account and billing

These routes take and return JSON and cost no credits. The ones that change the account need the account:write scope, which the key issued at signup has. The account page on this site uses the same routes.

RouteCreditsBodyReturns
POST /v1/accounts/registerpublicemail, password, labelAn account with its first key. The key is shown once, in this response.
POST /v1/accounts/freepublicemailA trial key for an email address, without a password.
POST /v1/accounts/verifypublictokenConfirms the email address with the token from the verification link.
POST /v1/accounts/recoverpublicemailSends a recovery link. The answer is the same whether or not the account exists.
POST /v1/accounts/recover/confirmpublictoken, password, labelA new key for the account, and a new password if you send one.
GET /v1/me/usage0daysRequests and credits per day.
GET /v1/me/keys0—The keys of the account, masked.
POST /v1/me/keys0labelA new key. Send an Idempotency-Key header.
POST /v1/me/keys/{id}/rotate0—A new secret for a key. The old one keeps working for a grace period.
DELETE /v1/me/keys/{id}0—Revokes a key at once.
POST /v1/me/verification/resend0—Sends a new verification link.
POST /v1/billing/checkout0plan, interval, success_to, cancel_toA Stripe Checkout address for a paid plan.
POST /v1/billing/portal0return_toA Stripe billing portal address: card, plan, cancellation.
GET /v1/billing/invoices0—The invoices of the account.

Parameters

ParameterOnMeaning
gamesets, cards, sealedA game id from /v1/games. An unknown value is a 400.
regionsetsWEST or EAST: the print line of the set.
setcards, sealedA set id or code.
namecardsMatches the start of the card name.
numbercardsThe collector number, exactly as printed.
kindsealedA product kind, such as BOOSTER_BOX.
sourcepricesCARDMARKET or TCGPLAYER.
languagepricesA language code, such as en or ja.
variantpricesA variant, such as MARKET or LOWEST_NEAR_MINT.
idsprices/currentUp to 25 card or sealed product ids, separated by commas.
from, toprice historyDays as YYYY-MM-DD, in UTC. Default: the last 90 days.
bucketprice historyday, week or month. Default day.
limitlists1 to 250. Default 50.
cursorlistsFrom links.next. Never built by hand.

A card

GET /v1/cards/{id}
{
  "data": {
    "id": "01d3a5f3-18df-4520-ac0b-4449c077f179",
    "game": "onepiece",
    "set": { "id": "95435c34-…", "code": "OP11", "name": "A Fist of Divine Speed" },
    "number": "OP11-095",
    "name": "Monkey.D.Garp",
    "rarity": "SUPER RARE",
    "supertype": null,
    "attributes": { "types": ["Black"] },
    "image_url": "https://media.alltcgapi.com/cards/…/OP11-095-normal.webp?e=…&s=…",
    "languages": ["en"],
    "external_ids": { "cardmarket": 827230, "tcgplayer": … },
    "version": 1,
    "updated_at": "2026-11-18T22:21:15.182Z"
  }
}

Images

image_url on cards, sets and sealed products is a signed URL on media.alltcgapi.com: e is its expiry, s its signature. It needs no API key and costs no credits, so it can go straight into an img tag. A signed URL stays the same for a whole week and is valid for at least 7 days. Store the object id, not the URL, and read the object again when you need the image: an expired or altered URL answers 403 IMAGE_URL_INVALID. A few image_url still point to the original host of the image and are served from there as they are.

Stability

  • An id never changes and is never reused.
  • version moves only when the data of the object changes.
  • New fields may be added to an object. Fields are not renamed or removed within /v1.