MarketAPI Logo
    Sign In

    CS.Trade CS2 API

    CS.Trade is a CS2 trade site that publishes a public developer price file for its store. The ask is the lowest store price on that hash, not the base price, and the count is the listed stock quantity. Prices are native USD.

    CS.Trade CS2 APICS.Trade prices APICSMarketAPI CS.Trademarkets=CSTRADECS.Trade store stock APIcs.trade store prices API

    M4A1-S | Decimator (Field-Tested)

    —

    Schema and API docs

    GET
    /v2/listings/latest/aggregate

    Newest snapshot for one item. Use markets=CSTRADE to search this market only.

    Query

    FieldDescription
    keyAPI key.
    market_hash_nameExact Steam name. Example: M4A1-S | Decimator (Field-Tested)
    marketsThis page uses CSTRADE. Add more codes for other markets, or omit to query all 37.
    currencyUSD / EUR / CNY / RUB / INR. Native book is USD.

    Response fields

    FieldWhat you get
    market_hash_nameEcho of the requested Steam name.
    listings[]One Listing per market that has a snapshot. Here: one CSTRADE object.
    listings[].marketMarketplace code. Here: CSTRADE.
    listings[].market_linkDeep link from markets.link_template.
    listings[].ask_priceLowest ask in the requested currency.
    listings[].mean_price / median_price / max_priceBook stats in the same currency. Omitted when unset.
    listings[].bid_priceBest bid when the source has a buy order. Omitted otherwise.
    listings[].listingsActive listing count.
    listings[].bid_volume / volume_24hPresent only if the source reports them.
    listings[].availableWhether the item currently has listings.
    listings[].timestampFetch time of this snapshot, not a sales close.

    Request

    curl · production
    curl -G "https://api.csmarketapi.com/v2/listings/latest/aggregate" \
      --data-urlencode "key=YOUR_KEY" \
      --data-urlencode "market_hash_name=M4A1-S | Decimator (Field-Tested)" \
      --data-urlencode "markets=CSTRADE" \
      --data-urlencode "currency=USD"

    Live response

    application/json
    404 if CSTRADE has no latest row for this hash.
    GET
    /v2/listings/history/aggregate

    Seven days of CS.Trade history for this item. Pass an older since to go further back, or omit since for the full series.

    Query

    FieldDescription
    keyAPI key.
    market_hash_nameExact Steam name. Example: M4A1-S | Decimator (Field-Tested)
    marketsCSTRADE
    currencyUSD / EUR / CNY / RUB / INR.
    sinceISO-8601. Omit for the full series (higher credit weight).

    Response fields

    FieldWhat you get
    marketsMap of code → { market_link }. Filtered call has only CSTRADE.
    seriesMap of code → observations, newest first. Live body is the full 7-day window, not a sample.
    series.CSTRADE[].ask_priceAsk at that change. Other prices omitted when unset.
    series.CSTRADE[].listingsListing count at that change.
    series.CSTRADE[].fetched_atWhen that observation was stored.

    Request

    curl · production
    curl -G "https://api.csmarketapi.com/v2/listings/history/aggregate" \
      --data-urlencode "key=YOUR_KEY" \
      --data-urlencode "market_hash_name=M4A1-S | Decimator (Field-Tested)" \
      --data-urlencode "markets=CSTRADE" \
      --data-urlencode "currency=USD" \
      --data-urlencode "since=2026-01-01T00:00:00.000Z"

    Live response

    application/json
    404 if CSTRADE has no stored history for this hash.
    GET
    /v2/items/

    Catalog search. q is a case-insensitive substring, max 25 hits. Blank q returns []. Without q the full catalog streams (20 credits).

    Query

    FieldDescription
    keyAPI key.
    qSubstring of market_hash_name. Example: M4A1-S | Decimator (Field-Tested)
    unlistedtrue includes schema-only names never seen on a tracked market.

    Response fields

    FieldWhat you get
    [].market_hash_nameExact Steam Community Market name.
    [].item_type / weapon / wear / collectionCatalog metadata. Null omitted.
    [].icon_urlSteam icon path or URL.
    [].min_float / max_floatWear range when the item has float.
    [].is_stattrak / is_souvenirFlags. false is still returned.

    Request

    curl · production
    curl -G "https://api.csmarketapi.com/v2/items/" \
      --data-urlencode "key=YOUR_KEY" \
      --data-urlencode "q=M4A1-S | Decimator (Field-Tested)"

    Live response

    application/json
    [] if the search misses.

    Other markets