MANUAL
Docs / API Reference / Authentication

Authentication

Every call to the BlockchainAnalysis.io API carries an API key in the Authorization header:

curl -X POST https://blockchainanalysis.io/api/v1/screening \
  -H "Authorization: Bearer ba_live_..." \
  -H "Content-Type: application/json" \
  -d '{"address": "0x28C6c06298d514Db089934071355E5743bf21d60", "chain": "ETH"}'

The base URL is https://blockchainanalysis.io/api/v1. There is no separate sandbox and no test key: every call is real and is billed as described in Billing and free tiers.

Create a key

  1. In the sidebar, open BA | API → Overview & Keys.
  2. Create a key and give it a name.
  3. Copy it: the full key is shown only once. We keep a hash, so it can't be shown again.

Keys start with ba_live_. You can have up to 10 active keys. Revoke a key from the same page; a revoked key stops working at once.

Keep keys on your server. Don't put them in a browser, a mobile app or a public repository.

Permissions

Each key carries permissions that decide which endpoints it can call:

PermissionEndpoints
screeningWallet screening, Fund Trace, name check, KYB, BA Screen bulk
kytKYT
entityEntity lookup, exchange status, country risk, ENS, address validation, token price
intelBA | Intel: screen, bulk screen, labels, sanctions check
oracleBA | Oracle verdicts
monitoringMonitored wallets and alerts
investigateDupin investigations

A key created in BA | API gets all of them. Keys created from a product page (for example BA | KYT → API integration) get only that product's permission. Permissions can't be added to an existing key, except intel, which you can switch on or off for a key; otherwise create a new one.

A permission doesn't spend anything by itself: what a call costs comes from the balance of that product.

Errors

CodeMeaning
401Missing, malformed, revoked or expired key. The header must be Authorization: Bearer ba_live_...
403The key doesn't have the permission this endpoint needs. The message names it
Loading…
Didn't find it? Open a ticketTicket →

Search runs in your browser. Nothing you type is sent.

Authentication | BA | Screen Docs