get_price_history
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 · RequiredCard ids, 1 to 100 (same format as card_id). Duplicates are dropped.
gradesarray · OptionalGrade keys, 0 to 16. One card and at most one grade is single-card history; otherwise batch.
intervalstring · OptionalBucket: day (default), week, month, change, or last.
date_fromstring · OptionalYYYY-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 · OptionalYYYY-MM-DD. Defaults to today (UTC).
limitinteger · OptionalSingle-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 · OptionalContinue 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 · OptionalBatch history only: TCG, e.g. pokemon (default) or onepiece. An unrecognized game answers invalid_params listing the valid games.
finishstring · OptionalSingle-card history only: print finish.
stampstring · OptionalStamp 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 · OptionalHistory arm: a Traded venue or the pooled all arm (default); a venue with no rows serves an empty series.
finish_by_idobject · OptionalBatch 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 · OptionalSeries 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, tcgplayerdaysinteger · Optionalbasis=tcgplayer only: marks window in days back from today, 1 to 3650 (default 365, the whole served archive).
conditionstring · Optionalbasis=tcgplayer only: condition overlay filter, e.g. Near Mint. Omit for every condition.
cost_basisstring · OptionalPrice basis: item (default), landed (+buyer shipping/fees), or seller_net (-seller fees). See meta(topic=costs).
Allowed values
item, landed, seller_netregionstring · OptionalBuyer region for shipping and venue eligibility; omit for all regions.
Allowed values
us, jp, eu, uk, other

