Skip to main content

Status codes

Standard HTTP status codes with a human-readable error message when requests fail.

Rate limits

Know your limits when accessing the Anchorage API to avoid 429 errors.

Idempotency

Required on certain endpoints to avoid duplicative operations.

Pagination

Paginate through pages of API results.

Status codes

CodeMeaning
200 OKThe request was successful.
400 Bad RequestThe request was improperly formed, often due to invalid syntax, insufficient funds, or a missing required parameter.
401 UnauthorizedThe request was missing a valid API key.
403 ForbiddenThe API key does not have permission to perform the requested action.
404 Not FoundThe requested resource does not exist.
409 ConflictThe requested action cannot proceed because the resource is not in the required state.
429 Too Many RequestsToo many requests were sent in a given amount of time.
5xxSomething went wrong on Anchorage Digital’s side.

Rate limits

Keys provisioned by an organization share one common rate limit. API requests are limited to 20 requests/second per organization, allowing bursts of up to 100 requests within a single second.

Idempotency

Certain endpoints support idempotent requests so retries do not perform the same operation twice. For example, if a transfer request does not respond because of a network issue, retry with the same idempotent ID to ensure only one transfer is created. For supported endpoints, include a unique idempotentId in the POST request body.
{
  "idempotentId": "9f8fbb54-7f5b-4993-829b-758b4c5f7e65"
}

Pagination

Cursor pagination is used for endpoints that return multiple records. Responses include a next cursor in the page attribute when more results are available.
GET /v2/transfers?afterId=1968b94b09b8a1a8a381775d1f04978c424d891d50e517774bf984297985b471&limit=100
ParameterDescription
afterIdRequest a page after, or older than, this pagination ID.
endDateRequest records older than this date in YYYY-MM-DD format. Used for /trading/trades and /trading/settlements.
limitMaximum number of results requested. Defaults vary by resource.