BoldSales

API Documentation

Rate limiting

To ensure fair usage and maintain platform stability, BoldSales API enforces rate limits based on your organization's subscription plan.

A rate limit defines how many API calls an organization can make within a specified time period. These limits are enforced at the account level, not at the individual user level.

Token-Based Rate Limiting

BoldSales API uses a token-based rate limiting system to manage request flow and ensure consistent performance.

  • Per-minute token allocation:

    Accounts are allocated a specific number of tokens per minute, depending on their subscription plan. These tokens are replenished gradually over time, up to a defined maximum.

  • Per-hour token allocation:

    Accounts receive a fixed number of tokens per hour, which are allocated in full at the beginning of each hour. Hourly tokens do not replenish gradually.

Each API endpoint has a predefined token cost based on its complexity and resource usage. When a request is made, the corresponding token cost is deducted from the available token pool.

You can view the token cost for each endpoint in the API response headers.

API key page

Plan-Based Rate Limits

PlanTokens per MinuteTokens per Hour
Growth70010000

Rate Limit Headers

The following HTTP headers are returned in response to any API request and can be used to monitor your rate limit usage:

Header NameDescription
x-ratelimit-token-costNumber of tokens consumed by the current request.
x-ratelimit-limitMaximum number of API tokens in the minutely rate limit.
x-ratelimit-remainingNumber of API tokens remaining under the minutely rate limit.
x-ratelimit-hourly-limitMaximum number of API tokens in the hourly rate limit.
x-ratelimit-hourly-remainingNumber of API tokens remaining under the hourly rate limit.
x-ratelimit-hourly-resetTimestamp when the hourly rate limit will reset.

Example Response Headers:

x-ratelimit-token-cost: 5
x-ratelimit-limit: 500
x-ratelimit-remaining: 400
x-ratelimit-hourly-limit: 4000
x-ratelimit-hourly-remaining: 3600
x-ratelimit-hourly-reset: 2025-08-11T10:27:19.568443Z

Rate Limit Exceeded

If your application exceeds the allowed rate limit, the API will return a 429 Too Many Requests error.

Example Error Response:

{
  "errors": [
    {
      "field": "",
      "errorMessage": "Rate limit exceeded! Maximum allowed token cost is 4000 per hour.",
      "errorType": "APICallQuotaExceeded"
    }
  ],
  "message": "Rate limit exceeded! Maximum allowed token cost is 4000 per hour.",
  "statusCode": 429
}

Retry Headers

When limits are exceeded, the following headers indicate how long to wait before retrying:

Header NameDescription
retry-afterNumber of seconds the client should wait before retrying.

Example (Hourly Limit Exceeded):

x-ratelimit-token-cost: 5
x-ratelimit-hourly-limit: 4000
x-ratelimit-hourly-remaining: 0
x-ratelimit-hourly-reset: 2025-08-11T10:27:19.568443Z
retry-after: 800

Example (Minutely Limit Exceeded):

x-ratelimit-token-cost: 5
x-ratelimit-limit: 500
x-ratelimit-remaining: 0
retry-after: 60