Authentication
Send your API key as a Bearer token on every request.
Authorization: Bearer ck_live_…
X-API-Key: ck_live_… also works. Keys are stored only as a one-way hash, so a key cannot be shown again after it is created: if you lose one, revoke it and create another. You can hold up to 10 keys (one per app or environment) and revoke each independently. A missing, unknown or revoked key gets 401 BAD_KEY.
Keep keys secret
- Call the API from your server, a notebook, a job runner or an agent runtime, never from browser or mobile app code.
- Read the key from an environment variable (
CLICKAPIS_KEYin all our examples) or a secrets manager, not from source code. - Calls made with a key are billed to its account until the key is revoked.
Free endpoints
These need a key but cost nothing:
| GET /v1/me | Plan, balance, trial credit and this month’s spend. |
| GET /v1/usage?days=30 | Calls, units and cost per day and endpoint. |
| GET /v1/symbols?q=nvid | Symbol search. |
| GET /v1/universes | Universes you can screen. |
| GET /v1/catalog | Machine-readable endpoints, parameters (JSON Schema), functions and prices. No key needed. |
| GET /v1/jobs, /v1/jobs/{id} | Your jobs and their results. |
| DELETE /v1/jobs/{id} | Cancel a queued job. |
| POST /v1/webhooks/test | Send a signed sample webhook to your receiver (10 an hour). See Testing webhooks. |
| GET /v1/webhooks/deliveries | Your recent webhook deliveries, test and real. |
curl https://clickapis.com/v1/me -H "Authorization: Bearer $CLICKAPIS_KEY"