GET /v1/account
Returns your API key's plan, its request limits, each live limit and what's left of it, and every /v1 endpoint with whether the key can call it.
Available on all plans, at 10 requests per second. It doesn't count toward the live limits or use a demo key's live requests.
Request
GETapi.cs2.sh/v1/account
curl https://api.cs2.sh/v1/account \
-H "Authorization: Bearer <<YOUR_API_KEY>>" \
-H "Accept-Encoding: gzip" --compressedResponse
{
"plan": "developer",
"key": {
"type": "paid",
"expires_at": null
},
"limits": {
"requests_per_second": 10,
"live_requests_per_minute": {
"youpin/listings": 6,
"csfloat/listings": 6,
"steam/listings": 40
}
},
"live": {
"youpin/listings": {
"remaining": 6,
"resets_at": "2026-11-30T05:43:35Z"
},
"csfloat/listings": {
"remaining": 5,
"resets_at": "2026-11-30T05:43:45Z"
},
"steam/listings": {
"remaining": 40,
"resets_at": "2026-11-30T05:43:35Z"
}
},
"endpoints": [
{
"method": "GET",
"path": "/v1/account",
"available": true
},
{
"method": "POST",
"path": "/v1/prices/latest",
"available": true
},
{
"method": "POST",
"path": "/v1/live/csfloat/listings",
"available": true
},
{
"method": "POST",
"path": "/v1/sales/csfloat",
"available": false,
"plan": "scale"
}
]
}Response fields
AccountResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
plan | string | Yes | Allowed: DEMO, developer, scale, enterprise. The key's plan. A demo key's plan is DEMO. |
key | object | Yes | The API key that made the request. |
limits | object | Yes | Your account's request limits. |
live | Record<string, object> | No | What's left of each live limit now, with the same keys as limits.live_requests_per_minute. Absent on a demo key. |
live_demo | object | No | A demo key's live requests. Present only on a demo key. |
endpoints | object[] | Yes | Every /v1 endpoint, with each live operation as its own path. |
The sample response is shortened to three live operations and four endpoints. A real response lists every live limit and every endpoint.
Response data
| Field | Meaning |
|---|---|
key.type | demo for a free 2-day demo key, otherwise paid. |
key.expires_at | When a demo key expires. null for a paid key. |
limits.requests_per_second | Requests per second, shared by every key on your account. Live requests don't count toward it. |
limits.live_requests_per_minute | Each live operation's per-minute limit, keyed by <market>/<operation>, such as csfloat/listings. <market>/options is the one limit that marketplace's /options paths share. Absent on a demo key. |
live.<key>.remaining | Requests you can send now. |
live.<key>.resets_at | When the limit is full again. Limits refill continuously. |
live_demo.limit | Live requests a demo key gets in total. |
live_demo.remaining | Live requests the demo key has left. |
live_demo.requests_per_minute | Live requests a demo key can send per minute. |
endpoints[].method, endpoints[].path | The endpoint's HTTP method and path. Each live operation is its own path. |
endpoints[].available | Whether the key's plan includes the endpoint. A demo key with no live requests left still shows the live endpoints as available. |
endpoints[].plan | The lowest plan that includes the endpoint. Present only when available is false. |
Errors
The request returns 400 validation_error with details.code set to unexpected_query_parameters when it has a query string, or to unexpected_body when it has a body.
Other errors are the shared request errors.