Appearance
Authentication & API keys
The CryptoComply REST API accepts three authentication schemes. For server-to-server integrations, use an API key.
| Scheme | Header | Use it for |
|---|---|---|
| API key | Authorization: Api-Key <key> | Backends, scripts, scheduled jobs. Recommended for integrations. |
| JWT | Authorization: Bearer <token> | Short-lived sessions obtained from POST /api/auth/token/ and refreshed via /api/auth/token/refresh/. |
| Session cookie | sessionid cookie | The web app. Set automatically by the browser; not for server integrations. |
API keys
A CryptoComply API key is user-scoped — it acts as the member it belongs to and carries that member's role permissions. The key string has a public prefix, a dot, and a secret:
qTizYIPb.mtGvbj55SYLKscTq1lKb3yPSmxTtxXa7Send it in the Authorization header on every request, with the literal Api-Key prefix:
bash
curl https://api.cryptocomply.xyz/api/orgs/$ORG_ID/profiles/ \
-H "Authorization: Api-Key qTizYIPb.mtGvbj55SYLKscTq1lKb3yPSmxTtxXa7"Scope
Each key has a scope: the permissions it may use, such as profile.read, chosen when the key is created. A request is allowed only when the permission it needs is both in the key's scope and held by the key's owner in the organization in the URL, so a key never grants more than its owner has. A key also works only in the organization it was issued for: a request to another organization, or to a route outside /api/orgs/{org_id}/, answers 403. Use a key scoped to read permissions for reporting and dashboards, and add write permissions only where an integration needs them.
Getting a key
CryptoComply issues API keys on request — ask your CryptoComply contact, and say which organization and which permissions the key needs. The key is shown once, when it is created. Self-serve key management in the web app is on the way.
Expiry, rotation, and revocation
A key expires after a year unless it is revoked sooner, and revoking it keeps its audit history; CryptoComply tracks each key's last use. To rotate, request a new key, move your integration to it, then have the old one revoked. Treat the secret like a password — store it in a secret manager, never in source control, and never expose it in client-side code.
Provider keys are different
Separately from the access key you authenticate with, an organization stores third-party provider credentials so CryptoComply can call those services on your behalf. These are managed at:
/api/orgs/{org_pk}/api-keys/Each provider key has a key_type:
| Code | Provider |
|---|---|
H | Chainalysis |
L | Chainalysis Panel |
T | TRM |
W | World Check |
P | Adverse Media |
Blockchain-address screening runs through Chainalysis and TRM; watchlist/name screening runs through World Check. Retired providers (Castellum, Open Sanctions, Hypernative) are no longer offered — their key types persist only so historical records keep rendering, and new screenings cannot be run against them.
Provider keys are returned with the secret masked (masked_key), an enabled flag for retiring a key without deleting its history, and a usage_count. Per-key daily usage is available at /api/orgs/{org_pk}/api-keys/{api_key_pk}/call-summaries/.
Don't confuse the two
Your access key authenticates you to CryptoComply. Provider keys let CryptoComply authenticate to World Check, Chainalysis, TRM, and the rest. Putting a provider key in the Authorization header will not work.
What's next
- Quickstart — your first authenticated call.
- Errors — what
401and403responses look like.