tcg

Price an entire trading-card set in one call.

Price an entire trading-card set in one call. Pass game (categoryId or name, e.g. "pokemon") and set (the groupId from tcg.sets). Returns each card joined to its prices: { productId, name, number, rarity, prices:[{ subType, market, low, mid, high }], url }. subType separates printings (Normal, Foil, Reverse Holofoil, 1st Edition, etc.). Capped to limit cards (default 100, max 500); total is the full set size (pre-limit), meta.returned is how many rows came back. This is the core "value a whole set / list card prices" call. Source: TCGplayer-derived pricing via tcgcsv.com.

get/api/tcg/set-prices

Request

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

Query parameters

gamestring required

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

setinteger required

groupId of the set (from tcg.sets).

limitinteger

Max cards 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.