Skip to content

Fundamentals

Rate Limiting

SignatureAPI rate limits per API key, MCP server and CLI: sustained rate, burst size, what a 429 response contains, and a retry schedule with code.

SignatureAPI enforces rate limits to ensure fair usage and platform stability. Requests with an API key are limited per key. The MCP server and CLI have per-user limits.

There are two components to rate limiting:

  • Rate is the sustained number of requests allowed per second.
  • Burst is the maximum number of requests that can be sent in a short spike before throttling kicks in. Once the burst is exhausted, requests are throttled to the sustained rate.

Think of the API-key limit as a bucket of tokens. The bucket holds up to the burst size, and each request takes one token. Tokens refill at the sustained rate. With the default limits, 10 requests at once all pass, and an 11th sent right after them gets a 429.

Default limits

MetricLimit
Rate10 requests/second
Burst10 requests

Extended limits

For higher-volume workloads, the extended plan increases both limits:

MetricLimit
Rate1,000 requests/second
Burst1,000 requests

To upgrade to extended limits, contact support.

MCP server and CLI limits

Requests from the MCP server and API requests made through the signatureapi CLI have their own limits. These limits apply per user and per account, over a fixed 10-second window:

SourceLimit
MCP server100 requests per 10 seconds
signatureapi CLI50 requests per 10 seconds

A 429 response from these sources includes a Retry-After header with the number of seconds until the window ends.

Plan your request volume

Pick a source and enter your expected traffic to see whether it stays within the limits above.

Rate limit calculator

See when a batch of requests starts getting 429 responses, and how long a paced run takes.

Workload

Hits the limit With 10 requests in flight at 250 ms each, you hit a 429 at request 14. Paced to the limit, 100 requests take about 9 s.

  • You send about 40 requests/second. Limit: 10 requests/second sustained, burst of 10, per API key.
  • The first 429 comes after 325 ms. Without retries, 66 of 100 requests fail.

Rate limit responses

When you exceed the rate limit, the API returns a 429 Too Many Requests response. See Too Many Requests for every cause of this error.

JSON
// HTTP/1.1 429 Too Many Requests
{
    "type": "https://signatureapi.com/docs/v1/errors/too-many-requests",
    "title": "Too many requests",
    "status": 429,
    "detail": "The client is sending too many requests per second."
}

Rate limit headers

Responses to API-key requests carry no rate-limit headers: no remaining-requests count, and no Retry-After on a 429. Use the backoff schedule below. Only 429 responses from the MCP server and the CLI include Retry-After.

Handling rate limits

When you receive a 429 response with a Retry-After header, wait that number of seconds before retrying. Otherwise, wait briefly before retrying. A simple approach:

  1. Wait 1 second after receiving a 429 response.
  2. Retry the request.
  3. If you receive another 429, double the wait time (2 seconds, then 4 seconds, and so on).
  4. After 5 retries, stop and log the failure for investigation.

With this schedule, the retries start at these times after the first attempt:

AttemptWaitStarts at
10 s0 s
21 s1 s
32 s3 s
44 s7 s
58 s15 s
616 s31 s

This helper waits for Retry-After when the response has it, and otherwise doubles the wait from 1 second:

Node.js
async function fetchWithRetry(url, options, maxRetries = 5) {
  let wait = 1;
  for (let retry = 0; ; retry++) {
    const res = await fetch(url, options);
    if (res.status !== 429 || retry === maxRetries) return res;
    const retryAfter = Number(res.headers.get("Retry-After"));
    await new Promise((resolve) => setTimeout(resolve, (retryAfter || wait) * 1000));
    wait *= 2;
  }
}
Python
import time
import requests

def request_with_retry(method, url, max_retries=5, **kwargs):
    wait = 1
    for retry in range(max_retries + 1):
        res = requests.request(method, url, **kwargs)
        if res.status_code != 429 or retry == max_retries:
            return res
        retry_after = res.headers.get("Retry-After")
        time.sleep(int(retry_after) if retry_after else wait)
        wait *= 2