Burn & Claim’s new API is in preview: these pages describe it as it will be at launch.
Burn & Claim Docs

Authentication

Use unkeyed wallet routes, Synq access tokens or permissioned organization keys.

Wallet discovery, quotes and transactions work without a key, at the unkeyed rate limits, counted per IP address or verified account. Organization management requires a Synq access token or an explicitly permissioned organization key. An API key raises request limits to your organization's plan, counted per key, and puts your traffic in your dashboard's reports.

Getting a key

Organizations make their keys in the partner dashboard, on the organization's API keys page, on a plan that includes API access. A key is shown once, when it's made: store it where your server reads its secrets. Keys start bnc_live_ in production, and bnc_test_ on every other stage.

A key can be limited to up to 20 IP addresses and ranges when it's made, and can be rolled: the new secret works at once, and the old one for 24 more hours, so your servers can move over without a gap. A revoked key stops working at once.

Sending it

Send the key as a bearer token:

Authorization: Bearer bnc_live_…

With the SDK, give it to the client on your server:

examples/client.ts
export const bnc = createClient({ apiKey: process.env.BURN_AND_CLAIM_API_KEY })

A key belongs on your server, never in a browser or an app: anyone who can read it can spend your quota. If one leaks, revoke it in the dashboard at once and make another. The SDK refuses a key in a browser unless you insist (allowKeyInBrowser). For a page in a browser, see Calling from a browser.

When a key is refused

CodeWhy
invalid_api_keyThe key is unknown, revoked or expired, or the caller's address isn't on its allowlist. A refused key isn't treated as no key: the request fails
api_key_suspendedThe organization's plan has no API access. The key works again once it's on a plan that does
quota_exceededThe organization's keys have used their monthly quota: see Rate limits

Organization access tokens

Register an application with Synq and request a token for Burn & Claim's API audience. Use bnc.read for organization reads and bnc.write for changes. The API accepts access tokens from any registered Synq client; the dashboard uses the same public routes and permissions. An ID token or a token addressed to the MCP server cannot be used at the API.

With the SDK, supply accessToken instead of apiKey. Do not supply both. A token can only act on the signed-in person's current organizations and permissions. Responses for another organization's resources are 404.

Sensitive operations, including key management and ownership changes, require a person who signed in within 30 minutes. A 403 fresh_sign_in_required carries WWW-Authenticate with max_age (1800): sign in again with that value and retry. Missing or invalid credentials return 401 and advertise OAuth protected-resource metadata in WWW-Authenticate.

Permissioned organization keys

When you create a key, choose its organization permissions explicitly. The key's effective permissions are always intersected with its maker's current membership: removing a role or membership takes effect on the next call. A key without organization permissions can still use wallet routes and the plan's rate limits.

A key cannot manage credentials, transfer ownership, delete an organization or perform account-level operations. Those actions require a person's token, with a recent sign-in where specified. Audit entries record both the key and its maker.

On this page