tcg

Price a single trading card.

Price a single trading card. Pass game (categoryId or name), set (the groupId), and productId (the TCGplayer product id, from tcg.set-prices). Returns the matching card { productId, name, number, rarity, prices:[{ subType, market, low, mid, high }], url } with every printing/subtype. 404 if the productId is not in that set. Source: TCGplayer-derived pricing via tcgcsv.com.

get/api/tcg/card

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/tcg/card
  • 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).

productIdinteger required

TCGplayer productId of the card (from tcg.set-prices).

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.