Rate Limiting

Bootspring API implements rate limiting to ensure fair usage and system stability.

Rate Limits by Plan#

PlanRequests/MinuteRequests/HourRequests/Day
Free201001,000
Pro601,00010,000
Team1205,00050,000
EnterpriseCustomCustomCustom

Rate Limit Headers#

Every API response includes rate limit information:

Loading code block...

Header Descriptions#

HeaderDescription
X-RateLimit-LimitMaximum requests allowed in the window
X-RateLimit-RemainingRequests remaining in current window
X-RateLimit-ResetUnix timestamp when the limit resets
X-RateLimit-PolicyRate limit policy (requests;w=window_seconds)

Rate Limit Exceeded#

When you exceed the rate limit, you'll receive a 429 Too Many Requests response:

Loading code block...

Endpoint-Specific Limits#

Some endpoints have additional rate limits:

EndpointLimitWindow
POST /auth/device/code51 minute
POST /auth/device/token201 minute
POST /v1/track10001 minute
GET /v1/agents1001 minute

Handling Rate Limits#

JavaScript/TypeScript#

Loading code block...

Exponential Backoff#

Loading code block...

Python#

Loading code block...

Monitoring Rate Limits#

Track Remaining Requests#

Loading code block...

Proactive Rate Limiting#

Loading code block...

Best Practices#

1. Cache Responses#

Loading code block...

2. Batch Requests#

Loading code block...

3. Use Webhooks#

Instead of polling, configure webhooks for real-time updates:

Loading code block...

4. Implement Request Queuing#

Loading code block...

Increasing Rate Limits#

Upgrade Your Plan#

Higher tier plans include increased rate limits. Visit Pricing to upgrade.

Enterprise Custom Limits#

For enterprise customers, we offer custom rate limits based on your needs. Contact sales@bootspring.dev.

Burst Allowance#

All plans include a burst allowance of 2x the per-minute limit for short spikes.