Skip to main content

Reseller API Keys

Each reseller client needs their own API key to access the CronDB API. Keys are scoped to the client's quota and rate limits.

API keys

Generating a Client API Key

  1. Navigate to Reseller → Clients
  2. Click on a client name
  3. Go to the API Keys tab
  4. Click + Create API Key
  5. Enter a key name (e.g., "Production", "Development")
  6. Click Create
  7. Copy the key immediately — it is shown only once

Client API keys follow the format: cdb_r_[client_id]_[random]

Key Security

API keys are displayed only once at creation. Store them securely. If a key is lost, create a new one and revoke the old one.

Key Properties

Each API key has:

PropertyDescription
NameDescriptive label you assign
ClientWhich client this key belongs to
CreatedWhen the key was generated
Last UsedMost recent API call with this key
StatusActive or Revoked
Queries UsedTotal queries made with this key

Multiple Keys per Client

Clients can have multiple API keys for different environments:

Client: Acme Corp
Key 1: "Production" — cdb_r_acme_abc123
Key 2: "Staging" — cdb_r_acme_def456
Key 3: "Development" — cdb_r_acme_ghi789

All keys for a client share the same quota and rate limits. Individual key usage is tracked separately for analytics.

Key Management

Viewing Key Usage

Click any key to see its usage history:

  • Daily query count
  • Endpoint breakdown
  • Error rates
  • Last 100 requests (with timestamps and endpoints)

Revoking a Key

  1. Click the key you want to revoke
  2. Click Revoke Key
  3. Confirm the revocation
  4. The key immediately stops working
Revocation Is Permanent

Revoked keys cannot be reactivated. If access is needed again, create a new key.

Rotating Keys

To rotate a client's key without downtime:

  1. Create a new key for the client
  2. Share the new key with the client
  3. Wait for the client to update their application
  4. Revoke the old key once the new key is in use

API Key Scoping

Client API keys are automatically scoped:

ScopeBehavior
QuotaQueries count against the client's allocated quota
Rate limitRequests are throttled per the client's rate limit setting
EndpointsAll CronDB API endpoints are accessible (same as Enterprise)
DataClients access the same global CronDB database

Endpoint Restrictions

By default, clients have access to all API endpoints. To restrict a client to specific endpoints:

  1. Open the client's API Key settings
  2. Toggle Restrict Endpoints
  3. Select which endpoints the key can access:
    • Enrichment
    • Search
    • Email Finder
    • Tech Stack
    • Bulk operations

Using Client Keys

Clients use their keys exactly like regular CronDB API keys:

curl -H "Authorization: Bearer cdb_r_client_key_here" \
"https://api.crondb.com/v1/enrichment/domain?domain=example.com"

If you have configured a custom API domain:

curl -H "Authorization: Bearer cdb_r_client_key_here" \
"https://api.yourbrand.com/v1/enrichment/domain?domain=example.com"

The response format is identical. There is no indication to the client that CronDB is the underlying provider.

Monitoring Client Keys

The Reseller dashboard shows aggregate key activity:

  • Active keys — Total keys across all clients
  • Queries today — Total queries from all client keys
  • Top clients by usage — Which clients are using the most queries
  • Error rate — Percentage of 4xx and 5xx responses across client keys

Next Steps