tcg

List the sets (groups) for a trading-card game - e.g.

List the sets (groups) for a trading-card game — e.g. every Pokemon or Magic: The Gathering set. Pass game (a categoryId like 3, or a name like "pokemon"/"magic" — resolved against tcg.games), optional q (case-insensitive substring filter on set name), and optional limit (default 100, max 500). Each row is { groupId, name, abbreviation, publishedOn, isSupplemental }. Use the groupId as the set parameter on tcg.set-prices / tcg.card. total is the full match count (pre-limit). Source: TCGplayer-derived pricing via tcgcsv.com.

get/api/tcg/sets

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/tcg/sets
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

gamestring required

TCGplayer game: categoryId (e.g. 3) or name (e.g. "pokemon", "magic").

qstring

Case-insensitive substring filter on set name.

limitinteger

Max sets to return (default 100, max 500).

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.