You're viewing the reference. To execute live calls you need a Brubru API key: Start a Professional trial · or contact sales
Rate limits

Rate limits

Three per-key tiers: free 60, pro 300, enterprise 6000 requests / minute. Sliding-window enforcement. Your tier is on the X-RateLimit-Tier header of every response and on /whoami.

Tier table

TierPer-minute limitMonthly quotaWho gets it
free60 req/minUnlimitedTrial keys + Professional default
pro300 req/minUnlimitedProduction integrations on request: email hello@beresol.eu
enterprise6,000 req/minUnlimitedPartner integrations (e.g. GovClipping). Custom contract.

The limit uses a sliding window over the last 60 seconds, not fixed calendar minutes. Bursting is allowed as long as you stay under your tier's ceiling in any rolling 60-second window.

Response headers

Every response carries:

On 429 responses, additionally:

Check your limit any time

Your current limit and remaining quota ride on the response headers of every authenticated call. Use -i (or -D -) on any cheap endpoint and read the X-RateLimit-* headers:

curl -i -H "Authorization: Bearer $BRUBRU_API_KEY" \
  "https://brubru.beresol.eu/api/v2/proprietary/guides?limit=1"

# HTTP/1.1 200 OK
# X-RateLimit-Tier: enterprise
# X-RateLimit-Limit: 6000
# X-RateLimit-Remaining: 5998

When you hit the limit

You get a 429 rate_limited response. The right behaviour is:

  1. Read Retry-After.
  2. Sleep that many seconds.
  3. Retry the same request.
import time, httpx

def call_with_backoff(url, headers):
    for attempt in range(5):
        r = httpx.get(url, headers=headers)
        if r.status_code != 429:
            return r
        wait = int(r.headers.get("Retry-After", 60))
        time.sleep(wait)
    r.raise_for_status()

Good citizenship

Need higher limits?

Email hello@beresol.eu with your use case. pro upgrades are usually approved within 24h for production integrations. enterprise is a custom contract for partner integrations: bundling resale rights, SLA, and the 6,000 req/min ceiling.

Next

Head to Endpoints for the full reference of all 82 routes across 36 folders.