Skip to Content
KnowYourChain Docs

Errors and limits

Status codes, error bodies and the rate limit.

Status codes

StatusMeaning
200OK
201Request created
400A parameter or field is not valid. The body names each one.
401The API key is missing, unknown, revoked or expired
403Access is not active, or the action is not turned on for the key
404Not found, or not yours
409A request with this requestId exists with different values
429Rate limit exceeded

Error body

A 400 names each field or parameter that is wrong:

{
  "start": "Must be ISO 8601 UTC with millisecond precision and trailing Z."
}

Other errors have a detail:

{
  "detail": "Invalid API key."
}

Rate limit

Each account can make 120 calls per minute. Above that, the API returns 429 with a Retry-After header: wait that many seconds, then try again.

Compression

Send Accept-Encoding: gzip to receive the /attributions and /requests lists compressed.

On this page