GET
/v1/listings/latest/aggregateCurrent price of one item. markets=lootfarm limits the answer to LOOT.FARM.
Query
| Field | Description |
|---|---|
| X-API-Key | Header with your API key (or ?key=). |
| market_hash_name | Exact Steam name. Example: No Mercy Bolt Rifle |
| markets | This page uses lootfarm. 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 lootfarm row. |
| listings[].ask_price | Trade value in site credit, converted to 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 LOOT.FARM. |
Request
curl -G "https://rustmarketapi.com/api/v1/listings/latest/aggregate" \
-H "X-API-Key: YOUR_KEY" \
--data-urlencode "market_hash_name=No Mercy Bolt Rifle" \
--data-urlencode "markets=lootfarm"