Founder's PriceUp to 53% off Pro, Business and Enterprise for our first customers, locked in while you stay subscribed paid plans30 spots leftClaim your spot
DocsHistory, many cards

Docs / API reference

History, many cards

Sold history for many cards in one request.

Request

POSThttps://tcgpriceapi.com/v1/history/lookup
NameTypeDescription
card_idsrequiredarray of stringsThe cards to look up, up to your plan's history cards per request (see Rate limits). The example asks for one card, so it works on every plan.
timeframestring7d or 30d (one row per day), 3m (3 days per row), 6m or 1y (one week per row). Defaults to 30d. Free includes 7d, Starter up to 30d, and Pro and up every time frame.
printingstringOnly this printing, such as Holofoil.
conditionstringOnly this condition, such as Near Mint.
languagestringOnly this language, such as English.

Up to your plan's history cards in one request. For 7d or 30d the whole request counts as one request. For 3m, 6m or 1y, each card counts as one request, so 20 cards count as 20.

Request
curl -X POST "https://tcgpriceapi.com/v1/history/lookup" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"card_ids": ["card_1c3aaea45434413c"], "timeframe": "30d", "condition": "Near Mint"}'

Response

The same shape as Price history, with one entry per card.

FieldTypeDescription
timeframestringThe time frame you asked for: "7d", "30d", "3m", "6m" or "1y".
cardsarray of history card objectsThe cards found, in the order you asked for them.
not_foundarray of stringThe card_ids you asked for that don't exist.