API reference
List marketplaces
Returns the catalogue of marketplaces the API covers, such as the Steam Community Market and third-party skin markets.
GET /websites
Returns the catalogue of marketplaces the API covers, such as the Steam Community Market and third-party skin markets. Each entry's code is the identifier used by the other endpoints that take a marketplace.
- Results are ordered by
code. - Marketplaces that are no longer supported are hidden unless
include_deprecated=true; they then appear withis_deprecated: true.
[!note] The catalogue is maintained by the platform and is read-only through the API.
Usage
| Name | Description |
|---|---|
| Authentication | No authentication |
| Credit cost | Free |
| Recommended interval | 300 seconds |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
include_deprecated | query | boolean | No | Also return marketplaces that are no longer supported (is_deprecated: true). Default: false. |
Responses
| Status | Description | Schema |
|---|---|---|
200 | Successful Response | Envelope_list_WebsiteOut__ |
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. |
Envelope_list_WebsiteOut__
| Field | Type | Required | Description |
|---|---|---|---|
data | array of WebsiteOut | Yes | The endpoint payload. |
meta | Meta | Yes | Request metadata. |
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.
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. |
WebsiteOut
A marketplace in the platform catalog.
| Field | Type | Required | Description |
|---|---|---|---|
code | string | Yes | Unique marketplace code used across the API, e.g. steam. |
name | string | Yes | Display name. |
url | string or null | Yes | Marketplace homepage, if known. |
category | string | Yes | Marketplace category, e.g. market. |
subCategory | string or null | Yes | Finer category, if any. |
countryCode | string or null | Yes | Two-letter country code (ISO 3166-1) of the company operating the marketplace; null when not stated. |
is_deprecated | boolean | Yes | Whether the marketplace is no longer supported. |