GET
/v1/listings/latest/aggregateCurrent price of one item. markets=rusttm limits the answer to Rust.tm.
Query
| Field | Description |
|---|---|
| X-API-Key | Header with your API key (or ?key=). |
| market_hash_name | Exact Steam name. Example: Black Diamond AK47 |
| markets | This page uses rusttm. 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 rusttm row. |
| listings[].ask_price | Lowest cash ask in the requested currency. |
| listings[].listings | Null: Rust.tm does not publish a count. |
| 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 Rust.tm. |
Request
curl -G "https://rustmarketapi.com/api/v1/listings/latest/aggregate" \
-H "X-API-Key: YOUR_KEY" \
--data-urlencode "market_hash_name=Black Diamond AK47" \
--data-urlencode "markets=rusttm"