Skip to main content

Module limit

Module limit 

Source
Expand description

client side rate limiting Client side rate limiting.

Crossref publishes the budget it grants a client on every response (x-rate-limit-limit and x-rate-limit-interval) and expects clients to stay inside it; going over earns a 429. A Crossref spaces its requests evenly across the reported interval and re-reads the budget from every response, so a client that moves between the anonymous and the polite pool adapts on its own; read back what it is working to with Crossref::rate_limit.

Structsยง

RateLimit
The request budget crossref grants a client.