Errors and limits
Status codes, error bodies and the rate limit.
Status codes
| Status | Meaning |
|---|---|
200 | OK |
201 | Request created |
400 | A parameter or field is not valid. The body names each one. |
401 | The API key is missing, unknown, revoked or expired |
403 | Access is not active, or the action is not turned on for the key |
404 | Not found, or not yours |
409 | A request with this requestId exists with different values |
429 | Rate 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.
Requests
Send attribution requests and follow them until they close.
Download an evidence file GET
Returns the bytes of one evidence file. Use the `uri` from a record's `evidenceFiles`; it does not expire. Evidence of a retracted record stays available. A file that does not exist and a file that is not yours both return `404`.
