Promptles
GTM & Business Tools

Rate Limiting

intermediate

Definition

When an API restricts how many requests you can make in a given time window to prevent overload. Most APIs publish their limits (e.g., '100 requests per minute'). If you exceed the limit, the API returns a 429 status code meaning 'slow down.' Your scripts need to respect these limits: either by pacing requests or by detecting 429s and retrying after a delay.

In the wild

A script that enriches 5,000 leads by calling Clearbit's API hits the 600-requests-per-minute limit. It starts getting 429 responses. A well-written script pauses for 60 seconds when it sees a 429, then resumes where it left off instead of crashing.

More from GTM & Business Tools