API reference

Export all item prices

Downloads the quotes of every priced item of one game as one file, for bulk synchronization.

GET /prices/export

Downloads the quotes of every priced item of one game as one file, for bulk synchronization. side defaults to ask; side=mid exports only the CSCP valuation of every valued item, a much smaller file.

  • The body is the export document itself (app_id, side, currency, generated_at, items), gzip-compressed (Content-Encoding: gzip) — not the usual envelope. The request id and the billing fields are response headers instead: X-Request-ID, X-Billable, and on a billed response X-Credit-Cost and X-Credit-Remaining.
  • items lists every item with at least one quote on the requested side, ordered by market hash name; each item's quotes follow the same rules as GET /prices.
  • The file is a snapshot rebuilt on the server every few minutes; generated_at (also the X-Export-Generated-At header) says when. Requests in between receive the same file.
  • Send the ETag you received back as If-None-Match: while the snapshot is unchanged the answer is 304 Not Modified with no body, and a 304 is never billed.
  • currency picks the file: USD, CNY or RUB (default: your account's base currency, else USD). It sets the currency of buy_amount, sale_amount, payout_amount and of the CSCP quotes, as on GET /prices; any other currency is 422 unsupported_currency. Each currency is its own file with its own ETag.
  • Range requests are not supported; the whole file is always sent. There is no pagination or market filter.
  • 503 dependency_unavailable means the first snapshot has not been built yet; retry after a minute.

[!warning] Every 200 is billed, even when the file has not changed. Poll with If-None-Match and you only pay when there is something new.

Usage

NameDescription
AuthenticationAPI key required
Credit cost10 per request
Rate limit2 requests per 60 seconds
Recommended interval300 seconds

Parameters

NameInTypeRequiredDescription
app_idquerystringNoSteam app ID of the game. Defaults to 730 (Counter-Strike 2). Default: 730.
sidequerystringNoWhich side of the market to return: ask for sell listings, bid for buy orders, mid for the CSCP valuation, all for everything. Defaults to ask. Values: ask, bid, mid, all. Default: ask.
currencyquerystring or nullNoCurrency of the converted amounts (buy_amount, sale_amount, payout_amount) and of the CSCP valuation: USD, CNY or RUB; case-insensitive. Takes precedence over your account's base currency; when neither is set, USD is used. Marketplace prices are never converted.

Responses

StatusDescriptionSchema
200Successful ResponseExportOut
304The snapshot named by If-None-Match is still current; not billedNone
401Authentication is missing or invalidErrorEnvelope
402Not enough credits for this requestErrorEnvelope
403The credential is valid but not allowed to call this operationErrorEnvelope
404The requested resource does not existErrorEnvelope
422A parameter or the request body is invalidErrorEnvelope
429Too many requests to this endpoint; retry laterErrorEnvelope
503The service is temporarily unavailable; retry laterErrorEnvelope

Models

BatchItemOut

One requested item and its market quotes.

FieldTypeRequiredDescription
market_hash_namestringYesMarket hash name of the item, exactly as requested; in list mode, as listed.
marketsarray of MarketQuoteOutYesThe item's quotes, one per source, sorted by market code and then side; within a market and side the preferred quote comes first. Empty when the item is unknown or the filters exclude every quote; never empty in list mode.

CreditMeta

Credit accounting for a billable request.

FieldTypeRequiredDescription
costintegerYesCredits this request costs.
remainingintegerYesEstimated credit balance left after this request. A hint rather than a ledger: concurrent requests can make it slightly off.

ErrorBody

Details of a failed request.

FieldTypeRequiredDescription
codestringYesStable machine-readable error code. Branch on this value, not on message.
messagestringYesHuman-readable explanation. The wording may change.
detailsobject or nullNoOptional structured context, such as the list of validation errors or, for credit_insufficient, the required and remaining credits.

ErrorEnvelope

Error response: the error in error plus request metadata in meta.

FieldTypeRequiredDescription
errorErrorBodyYesWhat went wrong.
metaMetaYesRequest metadata.

ExportOut

Every priced item of one game, for one side of the market.

FieldTypeRequiredDescription
app_idstringYesSteam app ID, echoed from the request.
sidestringYesSide filter applied, echoed from the request. Values: ask, bid, mid, all.
currencystringYesCurrency of buy_amount, sale_amount, payout_amount and of the CSCP quotes (USD, CNY or RUB): the currency parameter, else your account's base currency, else USD.
generated_atstringYesWhen this export snapshot was built, in RFC 3339 UTC — the same value as the X-Export-Generated-At response header. Snapshots are rebuilt every few minutes; requests in between receive the same file.
itemsarray of BatchItemOutYesEvery item with at least one quote on the requested side, sorted by market hash name.

MarketQuoteOut

One market's quote for an item, on one side of the market.

FieldTypeRequiredDescription
market_codestringYesCode of the marketplace this quote is for, for example BUFF. CSCP marks the cs.cheap valuation of the item: a weighted consensus across marketplaces in the response currency, refreshed daily, with no quantity, its computation time in changed_at and fresh_at, and its details in valuation. It is an estimate, not an offer anyone can trade on.
provider_codestringYesCode of the source the quote was collected from. Equals market_code when the data comes from the marketplace itself; otherwise it names an aggregator reporting that marketplace's prices.
sidestringYesask for a sell-listing quote, bid for a buy-order quote, mid for the CSCP valuation (the midpoint of the sell and buy consensus). Values: ask, bid, mid.
market_currency_codestringYesCurrency of market_price_amount, for example CNY. Marketplace prices are returned in the marketplace's own currency, without conversion; only the CSCP quote is given in the response currency.
market_price_amountstring or nullYesPrice in market_currency_code as a decimal string (plain notation, trailing zeros trimmed, never scientific notation), or null when the source reports no price. A delisted quote keeps its last known price.
buy_amountstring or nullYesWhat buying at this price actually costs in cash, the marketplace's fees included, converted into the response currency, as a decimal string. null when the fees are unknown or not yet computed for the current price, and always null on the CSCP quote.
sale_amountstring or nullYesWhat selling at this price credits to your marketplace balance after the sale fees, converted into the response currency, as a decimal string. null when the sale fees are unknown, selling there is not supported, or the fees are not yet computed for the current price; always null on the CSCP quote.
payout_amountstring or nullYesWhat selling at this price leaves you in cash after the sale and withdrawal fees, converted into the response currency, as a decimal string. null when those fees are unknown, selling or withdrawing there is not supported, or the fees are not yet computed for the current price; always null on the CSCP quote.
quantityinteger or nullYesQuantity on this side of the market as reported by the source, or null when not reported. 0 once the item has been delisted.
is_quantity_minimumboolean or nullYestrue when quantity is a lower bound (the source only reports "at least" this many), or null when unknown.
is_all_items_same_priceboolean or nullYestrue when every unit on offer is at market_price_amount; false when the source reports only the best price or the prices differ; null when unknown.
changed_atstringYesWhen the price or quantity of this quote last changed at the source, in RFC 3339 UTC (for example 2026-09-24T03:12:08Z).
observed_atstring or nullYesWhen this quote was last seen individually at the source, in RFC 3339 UTC, or null when not recorded.
delisted_atstring or nullYesWhen the item was found to be no longer listed on this side of the market, in RFC 3339 UTC, or null while it is listed. A delisted quote keeps its last price, with quantity 0.
fresh_atstringYesWhen this quote was last confirmed current by the source, in RFC 3339 UTC: the latest of changed_at, observed_at and the completion of the last full scan of this market.
valuationValuationOut or nullYesValuation details, present only on the CSCP quote; null on every marketplace quote.

Meta

Request metadata included in every enveloped response.

FieldTypeRequiredDescription
request_idstringYesUnique identifier of this request, identical to the X-Request-ID response header. Quote it when contacting support.
billableboolean or nullNoWhether the request is billed in credits. Present only on metered endpoints; false means the request is free, for example because it costs nothing or your subscription covers it.
creditCreditMeta or nullNoCost of the request and your estimated remaining balance. Present only when billable is true.
pagePageMeta or nullNoPaging state. Present only on a response that lists a page.

PageMeta

Where a paged list stands after this page.

FieldTypeRequiredDescription
limitintegerYesPage size actually applied to this request.
has_nextbooleanYesWhether another page follows.
next_cursorstring or nullYesPass it back unchanged as cursor to get the next page; null once the list is complete.

ValuationOut

CSCP fair-value details of an item, from the latest daily valuation.

FieldTypeRequiredDescription
valuation_datestringYesUTC date of the valuation (YYYY-MM-DD). It is computed once a day from the daily closing quotes of the seven days before this date.
credibilitynumberYesConfidence score between 0 and 1, equal to e^(-uncertainty); the closer to 1, the more the sources agree. Set your own threshold before relying on the value.
uncertaintynumberYesStandard uncertainty of the value on a logarithmic scale (0 or more). Roughly 68% of plausible values lie between price × e^(-uncertainty) and price × e^(uncertainty).
is_two_sidedbooleanYestrue when both sell listings and buy orders contributed. When false, only sell listings were available and the value is the sell-side consensus less a typical half-spread of comparable items.
ask_amountstringYesWeighted consensus of sell listings across marketplaces, as the cash cost of buying (fees included), in the response currency, as a decimal string.
bid_amountstring or nullYesWeighted consensus of buy orders across marketplaces, as the cash received after fees, in the response currency, as a decimal string; buy orders priced above the market's sell listings are excluded. null when is_two_sided is false.
ask_quote_countintegerYesNumber of sell-listing sources in ask_amount.
bid_quote_countintegerYesNumber of buy-order sources in bid_amount.

Download the public OpenAPI schema