API reference

Get prices for many or all items

Returns the current quotes for a list of items in one call, or for every priced item page by page.

POST /prices/batch

Returns the current quotes for a list of items in one call, or for every priced item page by page. Each item's quotes follow the same rules as GET /prices: one per source, and within a market and side listed quotes before delisted ones, then marketplace-sourced data before aggregators, then the freshest, plus the item's CSCP valuation (side mid) when it has one.

With market_hash_names you get exactly the items you name:

  • items has one entry per requested name, in request order.
  • Unknown names are not an error: they come back with an empty markets list. This endpoint never returns 404.
  • Duplicate names are kept, and each occurrence gets its own entry.

Without market_hash_names you page through every item of app_id that has a matching quote:

  1. Omit market_hash_names; limit sets the page size (default 100, at most 1000).
  2. Pass meta.page.next_cursor back unchanged as cursor to get the next page.
  3. When next_cursor is null, you have every item.

Items come in the same order as GET /prices/export, each at most once per pass. Prices are read as each page is requested, so an item added while you page may only show up on your next pass.

In both modes:

  • markets and side filter every item the same way, and currency converts every item as on GET /prices.
  • Unknown fields in the request body are rejected with 422.

[!note] Billed per started block of 100 items: the full market_hash_names list including duplicates, or the limit of a page, even when the last page holds fewer items. To fetch everything at once, GET /prices/export is cheaper. The cost is checked before the lookup (402 if your balance is too low) and charged only when the request succeeds.

Usage

NameDescription
AuthenticationAPI key required
Credit cost1 per started block of 100 items
Rate limit20 requests per 60 seconds
Recommended interval60 seconds

Request body

FieldTypeRequiredDescription
app_idstringNoSteam app ID of the game. Defaults to 730 (Counter-Strike 2). Default: 730.
market_hash_namesarray of string or nullNoSteam market hash names to look up (exact, case-sensitive). Duplicates are allowed: each occurrence gets its own result entry and counts toward the billed item count. Omit it to page through every priced item instead; an empty list is rejected.
marketsarray of string or nullNoMarket codes to include, for example ["BUFF", "UUYP"]. Each code must consist of uppercase letters, digits or underscores. Omit to include every market.
sidestringNoWhich side of the market to return: ask for sell listings, bid for buy orders, mid for the CSCP valuation, all for everything. Defaults to all. Values: ask, bid, mid, all. Default: all.
currencystring or nullNoCurrency of the converted amounts (buy_amount, sale_amount, payout_amount) and of the CSCP valuation, as an official currency code (see GET /currencies), for example EUR; case-insensitive. Takes precedence over your account's base currency; when neither is set, USD is used. Marketplace prices are never converted.
limitinteger or nullNoOnly when market_hash_names is omitted: how many items one page holds. Defaults to 100; larger values than 1000 are treated as 1000.
cursorstring or nullNoOnly when market_hash_names is omitted: the next_cursor of the previous page, passed back unchanged. Omit it for the first page.

Responses

StatusDescriptionSchema
200Successful ResponseEnvelope_BatchPricesOut_
400The request references a resource that does not exist, or carries an invalid cursorErrorEnvelope
401Authentication is missing or invalidErrorEnvelope
402Not enough credits for this requestErrorEnvelope
403The credential is valid but not allowed to call this operationErrorEnvelope
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.

BatchPricesOut

Market quotes for each requested item, or for one page of all items.

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 quote: the currency parameter, else your account's base currency, else USD.
itemsarray of BatchItemOutYesOne entry per requested name, in request order, duplicates included. In list mode: the items of this page, each at most once, in the same order as the export.

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.

Envelope_BatchPricesOut_

FieldTypeRequiredDescription
dataBatchPricesOutYesThe endpoint payload.
metaMetaYesRequest metadata.

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.

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