GET
/v1/listings/latest/aggregateCurrent price of one item. markets=tradeit limits the answer to Tradeit.gg.
Query
| Field | Description |
|---|---|
| X-API-Key | Header with your API key (or ?key=). |
| market_hash_name | Exact Steam name. Example: Whiteout Facemask |
| markets | This page uses tradeit. Add more codes, or omit for all 17 markets. |
| currency | USD (default), EUR, GBP, CNY, RUB, BRL or TRY. |
Response fields
| Field | What you get |
|---|---|
| market_hash_name | Echo of the requested Steam name. |
| listings[] | One row per selected market with a price. Here: one tradeit row. |
| listings[].ask_price | Lowest cash ask in the requested currency. |
| listings[].listings | Units available. |
| listings[].median_price / mean_price / max_price | Book stats when the market reports them. |
| listings[].price_type / balance | What the price means; see GET /v1/markets. |
| listings[].available | False when the market no longer lists the item or the price went stale. |
| listings[].timestamp / changed_at | Last confirmation and last change of the price. |
| listings[].market_link | Direct link to the item on Tradeit.gg. |
Request
curl -G "https://rustmarketapi.com/api/v1/listings/latest/aggregate" \
-H "X-API-Key: YOUR_KEY" \
--data-urlencode "market_hash_name=Whiteout Facemask" \
--data-urlencode "markets=tradeit"