API Rate Limits

Stay within Hyperping's API rate limits and handle 429 responses gracefully.

To ensure fair usage and maintain service reliability, Hyperping rate limits all API endpoints. The limits are designed to allow normal usage patterns while preventing abuse.

Default Rate Limits

By default, all projects are limited to 800 requests per hour per project. This limit is calculated on a rolling window basis.

How Rate Limiting Works

Rate limits are enforced using the following mechanism:

  • Time window: 1 hour rolling window
  • Identification: Requests are tracked per project using your API token
  • Fallback: If no valid token is provided, limits are applied per IP address
  • Response: When exceeded, the API returns a 429 Too Many Requests status

Authentication

To make API requests, you need your API token, available at app.hyperping.io/project/developers. Include it in the Authorization header:

Authorization: Bearer your-api-token-here

Rate Limit Headers

API responses include rate limit information in the ratelimit header to help you track your usage:

ratelimit: "2000-in-1hr"; r=1992; t=3481

The header format includes:

  • "2000-in-1hr": your rate limit (2000 requests per hour in this example)
  • r=1992: remaining requests in the current window
  • t=3481: time until reset (in seconds)

When the rate limit is exceeded, you also receive a retry-after header indicating how many seconds to wait before making another request.

Increased Limits for Paid Plans

If you are on a paid plan and need higher rate limits for your use case, we can increase them for your project. Simply contact our support team with your requirements.

Common scenarios for increased limits include:

  • High-frequency monitoring applications
  • Bulk data synchronization
  • Integration with third-party systems
  • Automated reporting tools

Best Practices

To make the most efficient use of your API quota:

  • Implement exponential backoff: when you receive a 429 response, wait before retrying
  • Cache responses: avoid unnecessary repeated calls for the same data
  • Batch operations: use bulk endpoints when available
  • Monitor your usage: keep track of rate limit headers in your responses
  • Use webhooks: for real-time updates, consider webhooks instead of polling

Error Response Example

When you exceed the rate limit, you receive a response like this:

HTTP/1.1 429 Too Many Requests
ratelimit: "800-in-1hr"; r=0; t=3590
retry-after: 3590

Rate limit exceeded

Requesting Higher Limits

To request increased rate limits for your paid plan:

  1. Contact support

    Reach out via chat or email at hello@hyperping.io.

  2. Share your project and usage

    Let us know which project needs increased limits and your current usage patterns.

  3. Explain your use case

    Describe what you are building and the limits you need.

  4. We apply the new limits

    We review your request and apply the increased limits to your project.

Need Help?

If you have questions about rate limits or need assistance optimizing your API usage, reach out via chat or email at hello@hyperping.io.

Next steps