Apify Actors by rl1987

Price history

TCGplayer Price history columns, generated from the actor dataset schema.

Describes build 0.1 of rl1987/tcgplayer-api-scraper. Earlier builds can return a different one.

Dataset view: priceHistory — ?view=priceHistory on the items API, or the matching tab in the Console.

21 columns, in the order the view shows them.

#ColumnLabelTypeDescriptionExample
1recordTypestringWhich kind of row this is: ‘product’, ’listing’ or ‘priceHistory’. Filter on it before reading any other column - a product row and a listing row share almost no fields.
2modestring, nullableThe scraping mode that produced the row: ‘search’, ‘browse’ or ‘detail’. Listing and priceHistory rows are always ‘detail’, because they only exist as enrichments of a product-detail fetch.
3productIdinteger, nullableTCGplayer’s own product id, the number in a tcgplayer.com/product/ URL. Stable across renames and the join key between all three record types.
4skuIdinteger, nullableThe product SKU a price-history row belongs to: one per condition/language/variant combination. Matches an entry in the product row’s skuIds, and is what the market-price endpoint also keys on.
5variantstring, nullablePrinting variant of the SKU, usually ‘Normal’ or ‘Foil’. Part of what makes each SKU distinct.
6languagestring, nullableLanguage of the copy: ‘English’, ‘Japanese’, and so on. On listing rows it is the listed copy’s language; on price-history rows it is the SKU’s.
7conditionstring, nullableItem condition as TCGplayer labels it: ‘Near Mint’, ‘Lightly Played’, ‘Moderately Played’, ‘Heavily Played’, ‘Damaged’, or ‘Unopened’ for sealed product.
8bucketStartDateBucketstring, nullableFirst day of the bucket this row covers, as a plain date, e.g. ‘2026-11-20’. Bucket width follows the run’s priceHistoryRange, so these dates step by a day, a week or a month. Dedupe key for price-history rows, together with skuId.
9bucketMarketPriceMarket pricenumber, nullableTCGplayer’s market price for this SKU at the close of this bucket, in USD, arriving upstream as a string and coerced here. Read a trend by ordering the buckets on bucketStartDate; it is not the same quantity as the product row’s marketPrice, which is a current quote.
10quantitySoldQty soldnumber, nullableCopies sold in this bucket. Arrives as a STRING upstream (‘28’) and is coerced to a number here. Null when the bucket reports none.
11transactionCountSalesnumber, nullableNumber of separate sales in this bucket. Lower than quantitySold when buyers take several copies at once.
12lowSalePriceLow salenumber, nullableLowest price anything in this SKU actually SOLD for in the bucket - a sale, not a listing. Null for a bucket with no sales.
13lowSalePriceWithShippingnumber, nullableThe same low sale price including shipping. Null for a bucket with no sales.
14highSalePriceHigh salenumber, nullableHighest price anything in this SKU SOLD for in the bucket. Compare with marketPrice to see whether the quoted price is being realised.
15highSalePriceWithShippingnumber, nullableThe same high sale price including shipping. Null for a bucket with no sales.
16averageDailyQuantitySoldnumber, nullableSKU-level average copies sold per day, repeated on each of that SKU’s bucket rows so a row is self-contained. Null when TCGplayer has too little history to average.
17averageDailyTransactionCountnumber, nullableSKU-level average sales per day, repeated per bucket row. A liquidity signal: a high average with a thin spread means the market price is trustworthy.
18totalQuantitySoldnumber, nullableCopies of this SKU sold over the whole window TCGplayer keeps, repeated per bucket row. Not the sum of the returned buckets - the window is longer than the bucket list.
19totalTransactionCountnumber, nullableNumber of sales of this SKU over the whole window, repeated per bucket row. Divide totalQuantitySold by this for average copies per sale.
20scrapedAtstring, nullableUTC ISO-8601 timestamp stamped by the billing ledger at delivery, on every row of every kind. This is when the row was true, which is the honest answer for a scrape; it is not the upstream’s own calculatedAt.
21provenancestring, nullableActor and build that produced the row plus its record type, stamped by the ledger, e.g. ‘abc123@4 product’. Locally it reads ‘@local’. Use it to tell two builds’ rows apart in one dataset.