Skip to main content

Errors & status codes

Standard HTTP status codes and one JSON error envelope on every host. Per-endpoint specifics are listed on each endpoint page.

200Success.
400Malformed request: a missing or invalid parameter (e.g. neither marketHashName nor id supplied).
401Missing Authorization header, unsupported scheme, or a key that is unknown, inactive, expired, or revoked.
403Valid key, but the subscription is inactive/expired or the plan does not include this endpoint.
404Unknown item or route.
429Rate limit exceeded; honour Retry-After and the X-RateLimit-* headers.
5xxUpstream snapshot unavailable or a server-side issue. Safe to retry with backoff.

Error body

Every error on pricing.skinpricer.com and api.skinpricer.com returns the same JSON envelope, so one parser covers both hosts. error.code is a stable machine-readable code, error.message is for people, and error.statusCode repeats the HTTP status.

JSON
{
  "success": false,
  "error": {
    "code": "BAD_REQUEST",
    "message": "Validation failed",
    "statusCode": 400,
    "details": ["bogus: property bogus should not exist"]
  },
  "timestamp": "2026-11-27T09:14:02.511Z",
  "path": "/v1/nbbo?marketHashName=AK-47%20%7C%20Redline%20(Field-Tested)&bogus=1",
  "requestId": "6f1c2a9e-3b7d-4e0a-9c1f-2d8b5e7a4c10"
}
A 400 for an unknown query parameter.
  • details is optional. On a validation 400 it lists one property: constraint line per rejected parameter; elsewhere it can hold the HTTP reason phrase or, on some 503s, an object.
  • A 500 never names its cause. A 503 carries a specific code when the cause is safe to share (for example PRICING_AT_CAPACITY); retry after the Retry-After header.
  • requestId echoes the X-Request-Id header you send, or a generated id that the X-Request-Id response header also carries. Quote it when you report a problem.

Guides using this endpoint

Usage & licensing

Access to the API and its data is governed by our Terms of Service. You may not resell or redistribute the data, use it to build a competing service, or exceed your plan’s rate limits, and you must attribute SkinPricer as the source wherever the Terms permit you to display it. Abuse may be throttled or suspended.