Sales Data

ZIP export of the last 24 hours (Enterprise)

Returns a ZIP archive (market-sales-export.zip) with three CSV files for subscription customers who replicate the dataset locally once per day.

File in ZIPContentsTypical row count
sales.csvSale events~100k / 24h
stickers.csvStickers attached to sales~60k / 24h
keychains.csvKeychains attached to sales~1k / 24h

Always exports all rows from the last 24 hours in a single request (~6 MB compressed ZIP). No pagination.

Join the CSVs locally on (marketplace, sale_id, sold_at).

Requires x-api-key. The key must include /v1/market-sales/export in its allowed_endpoints (or *).

curl -H "x-api-key: YOUR_KEY" \
  "https://api.cspriceapi.com/v1/market-sales/export" \
  -o market-sales-export.zip
unzip market-sales-export.zip

See component schemas MarketSalesCsvSalesRow, MarketSalesCsvStickersRow and MarketSalesCsvKeychainsRow for the exact column layout.

Notes

  • price and reference_price are in cents (integer).
  • sale_id, sticker_id, keychain_id are large integers serialized as strings in CSV to avoid JavaScript precision loss.
  • marketplace values: csfloat, youpin, skinport.
get/v1/market-sales/export

Request

  • Base URL: https://api.cspriceapi.com
  • URL: https://api.cspriceapi.com/v1/market-sales/export
  • Auth: API key in header x-api-key

Response

ZIP archive containing sales.csv, stickers.csv and keychains.csv (each with a header row). Row counts are also exposed via response headers.

Changes

No recorded changes to this operation across all 1 revision of this API.