A person trades in the app with a passkey or Google session. Programs authenticate with scoped API keys sent in Authorization: Bearer <key>.
  • Trader API keys (edel_tk_...) bind to one individual trading account (read or trade scope, where trade includes read). Agent, market-making bot, and test-client keys all use this trader authentication path.
  • Organization API keys (edel_ok_...) belong to a partner organization and can access the organization’s Mother Account and live sub-accounts (or a single bound subAccountId), governed by organization permission groups (trading_spot, trading_perps, sub_accounts, listings_deposits). See Organization vs Trader API keys.
A staging or production venue refuses a test-client key on every request, even if a copy of the key exists there. The published docs do not expose the server-only issuance endpoint. When a key is rotated, the old key keeps working for 5 more minutes, so requests already in flight still land. Then it expires.

When a key is refused

A refused request answers with the external-rest-error/v1 envelope. apiKeyRejection names the reason. Only a 503 is worth a retry; for every other refusal, fix the cause first. A key is a trading credential, not a signing credential. Protect it as carefully as an order entry credential. An expired or revoked key is refused on every request. The owner can revoke agent access from the app with a passkey. A bot follows its server-side rotation path. A key cannot list or revoke other keys. For agent approval, see Trading agents. For bot integration, see Market maker quickstart. For the shared route and scope rules, see Authentication models.