API reference
List all market hash names
Downloads every market hash name of one game as one file: names only, no prices.
GET /market-hash-names
Downloads every market hash name of one game as one file: names only, no prices. Keep it on your side to look items up or to autocomplete them locally.
- The body is the list document itself (
app_id,names), gzip-compressed (Content-Encoding: gzip), not the usual envelope. Browsers and most HTTP clients decompress it automatically; otherwise gunzip it yourself. namesholds each name exactly as Steam spells it, spacing and letter case included (names that differ only in case are different items), sorted by Unicode code point.- The list is rebuilt on the server every five minutes and only changes when names are added or removed;
Last-Modifiedsays when the current version was published. - Keep the file and send its
ETagback asIf-None-Match: while the list is unchanged the answer is304 Not Modifiedwith no body. 404 resource_not_foundmeans no list is published for thisapp_id.
Usage
| Name | Description |
|---|---|
| Authentication | No authentication |
| Credit cost | Free |
| Recommended interval | 300 seconds |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
app_id | query | string | No | Steam app ID of the game. Defaults to 730 (Counter-Strike 2). Default: 730. |
Responses
| Status | Description | Schema |
|---|---|---|
200 | Successful Response | MarketHashNamesOut |
304 | The snapshot named by If-None-Match is still current; not billed | None |
404 | The requested resource does not exist | ErrorEnvelope |
422 | A parameter or the request body is invalid | ErrorEnvelope |
503 | The service is temporarily unavailable; retry later | ErrorEnvelope |
Models
CreditMeta
Credit accounting for a billable request.
| Field | Type | Required | Description |
|---|---|---|---|
cost | integer | Yes | Credits this request costs. |
remaining | integer | Yes | Estimated credit balance left after this request. A hint rather than a ledger: concurrent requests can make it slightly off. |
ErrorBody
Details of a failed request.
| Field | Type | Required | Description |
|---|---|---|---|
code | string | Yes | Stable machine-readable error code. Branch on this value, not on message. |
message | string | Yes | Human-readable explanation. The wording may change. |
details | object or null | No | Optional 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.
MarketHashNamesOut
Every market hash name of one game.
| Field | Type | Required | Description |
|---|---|---|---|
app_id | string | Yes | Steam app ID of the game. |
names | array of string | Yes | Every market hash name of the game, exactly as Steam spells it (spacing and letter case included), sorted by Unicode code point. |
Meta
Request metadata included in every enveloped response.
| Field | Type | Required | Description |
|---|---|---|---|
request_id | string | Yes | Unique identifier of this request, identical to the X-Request-ID response header. Quote it when contacting support. |
billable | boolean or null | No | Whether 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. |
credit | CreditMeta or null | No | Cost of the request and your estimated remaining balance. Present only when billable is true. |
page | PageMeta or null | No | Paging state. Present only on a response that lists a page. |
PageMeta
Where a paged list stands after this page.
| Field | Type | Required | Description |
|---|---|---|---|
limit | integer | Yes | Page size actually applied to this request. |
has_next | boolean | Yes | Whether another page follows. |
next_cursor | string or null | Yes | Pass it back unchanged as cursor to get the next page; null once the list is complete. |