Skip to content

Limits and quotas

Two different things limit what a program can do: rate limits, which say how fast it can call the API, and quotas, which say how much the plan includes in a month.

Rate limits

Each API key has a limit of requests per minute (600 by default). Every response says where the key stands:

HeaderContent
RateLimit-LimitThe requests allowed in the window.
RateLimit-RemainingThe requests left in the window.
RateLimit-ResetThe seconds until the window frees its oldest request.

Beyond the limit the response is 429 with the code throttled and a Retry-After header: wait for that number of seconds before retrying.

The requests of all the keys of a customer together are limited too (1800 per minute by default): creating more keys does not multiply the limit. Beyond it the response is the same 429 with Retry-After.

Quotas

A plan includes a monthly amount of each unit the service measures:

UnitWhat it counts
pagesPages downloaded.
browser_minutesMinutes of browser time.
archived_bytesBytes of HTML archived in the month.
monitor_checksChecks made by monitors.
rereadsCaptures reread with a newer extractor.
deliveriesDeliveries to webhooks and to the customer's providers.
messagesMessages sent.
subscribersActive subscribers.
llm_itemsItems classified by the language model.

GET /v1/usage returns, for the current month or for ?month=YYYY-MM, what has been used, the quota and what is left for each unit.

Quotas are checked before work starts:

Two events tell a webhook about quotas: quota.warning, the first time 80% of a quota is used in a month, and quota.exceeded, when it is used up. Each is sent once per unit and month.

Sizes

Politeness towards sites

Besides the limits above, which protect the service, there are limits that protect the sites being downloaded. They are the same for every customer and cannot be raised:

A job can ask to go slower (politeness.delay_seconds), never faster.