traded.gg logotraded.gg
Skip to documentation content

get_price_history

Show price history for one or more cards.

Arguments and Behavior

Price history. One card_ids entry with at most one grade is single-card history; otherwise it is a batch, one series per card and grade with an exact finish_by_id selector. Omitted date_from is the card's FULL multi-year history. The tool auto-pages up to 20 pages; if more remain, continue with the returned next_cursor; an explicit cursor requests one page. basis=insured_value or tcgplayer serves that series instead (single-card only, price context only, never the price). History can lag the current price (traded://freshness); never read a frozen tail as a flat market. No evidence handle here; cite sales rows.

card_idsarray · Required

Card ids, 1 to 100 (same format as card_id). Duplicates are dropped.

gradesarray · Optional

Grade keys, 0 to 16. One card and at most one grade is single-card history; otherwise batch.

intervalstring · Optional

Bucket: day (default), week, month, change, or last.

date_fromstring · Optional

YYYY-MM-DD. Omit for the card's FULL history: the default is every point on record (multi-year), never a trailing year. Pass a date only to narrow the series.

date_tostring · Optional

YYYY-MM-DD. Defaults to today (UTC).

limitinteger · Optional

Single-card history only: points per page, 1 to 500 (Price v2 bases cap at 200; basis=tcgplayer caps at 500). Passing limit disables auto-paging, so the answer is one page of at most this many points. With basis=tcgplayer it caps archive rows per read, 1 to 500 (default 500).

cursorstring · Optional

Continue a page-by-page walk from a paging.next_cursor. By default the tool auto-pages up to 20 pages; if more remain, it returns a next_cursor to continue. Applies to single-card and batch history (batch applies the same cursor to every series).

gamestring · Optional

Batch history only: TCG, e.g. pokemon (default) or onepiece. An unrecognized game answers invalid_params listing the valid games.

finishstring · Optional

Single-card history only: print finish.

stampstring · Optional

Stamp token for the stamped print cohort; omitted selects the unstamped print. Single-card history passes it as the stamp query param; batch history reads that slot for every series.

marketplacestring · Optional

History arm: a Traded venue or the pooled all arm (default); a venue with no rows serves an empty series.

finish_by_idobject · Optional

Batch history only: optional exact finish selector keyed by requested card id. A named finish never falls back to another finish; omit an id to use cohort resolution (the current Price v2 cohort when available, else the history-only default print). Each batch series echoes resolution_source (price_v2 or history_only) and the resolved stamp. Blank or unparsable finish labels are rejected; keys must match a requested card_ids entry exactly.

basisstring · Optional

Series basis, single-card history only: price (default, Price v2), insured_value (the card's Collector Crypt insured values over time, with gaps where no value is available), or tcgplayer (TCGplayer market and sold-price history per variant and condition, one read with limit, days and condition). Non-price bases are context and never the card's market price; grade, finish and non-default interval options are not supported for insured value, and grades, finish, marketplace, interval, dates and cursor are rejected for tcgplayer.

Allowed values price, insured_value, tcgplayer

daysinteger · Optional

basis=tcgplayer only: marks window in days back from today, 1 to 3650 (default 365, the whole served archive).

conditionstring · Optional

basis=tcgplayer only: condition overlay filter, e.g. Near Mint. Omit for every condition.

cost_basisstring · Optional

Price basis: item (default), landed (+buyer shipping/fees), or seller_net (-seller fees). See meta(topic=costs).

Allowed values item, landed, seller_net

regionstring · Optional

Buyer region for shipping and venue eligibility; omit for all regions.

Allowed values us, jp, eu, uk, other