API Reference

Authentication

How to authenticate requests and manage API keys in CurrencyCore.


Authenticating requests

Send your API key with every request — either as a bearer token in the Authorization header (recommended), or in the x-api-key header. Both are equivalent; pick whichever your HTTP client makes easiest.

Authorization: Bearer cc_live_your_key_here
x-api-key: cc_live_your_key_here

There is no query-string auth — your key never goes in the URL, since URLs are written to server, proxy, and browser logs. All production traffic must go over HTTPS.

API key types

Choose Live or Test when you create a key in the dashboard:

TypePrefixUse case
Live keycc_live_Production requests, billed against your plan’s monthly quota and rate limit.
Test keycc_test_Development & sandboxing. Always capped at the Hobby rate limit (60 req/min), regardless of your plan.

Keys are scoped to an organization. You can create multiple keys per org and revoke them individually from the dashboard.

Demo (sandbox) keys

The Playground in the dashboard runs requests through a short-lived demo key so you can try the API without provisioning one of your own. These keys are not for production:

  • Extremely limited — capped at 100 requests total over its short validity, far below any plan. The key rotates hourly, on use, so each one is good for roughly an hour. They’re meant for a handful of trial calls, not real traffic.
  • Session-bound and auto-expiring — a demo key is tied to your dashboard session and rotates automatically (roughly hourly), so it only works from inside the CurrencyCore dashboard Playground. It will stop working as soon as it rotates.

When you’re ready to integrate, create a Live key (above) and call the API directly with your own credentials.

Key security

  • Keys are shown in full only once at creation time. Store them securely (environment variables, secrets manager).
  • Revoked keys return 401 Unauthorized immediately.
  • Rotate keys regularly — the dashboard makes this a one-click operation.

Rate limits

Rate limits are enforced per API key, per minute:

PlanRequests/monthBurst limit
Hobby (free)10,00060 req/min
Pro250,000600 req/min
Scale2,000,0003,000 req/min
Business10,000,0006,000 req/min
EnterpriseUnlimited12,000+ req/min

Exceeded limits return 429 Too Many Requests with a Retry-After header.

Organization roles

RoleCan create keysCan manage billingCan invite members
OwnerYesYesYes
AdminYesNoYes
MemberNoNoNo