In this article
The DNSFilter API applies rate limits to maintain balanced performance across the platform.
Rate limiting serves these purposes:
- Keeps access fair for every customer, so no single set of requests affects overall performance
- Protects system stability by proactively managing unexpected or unusual usage patterns
- Provides clear communication by notifying customers when rate limits are exceeded, so usage can be easily adjusted
How API rate limiting works
API requests include direct API users with API keys and users accessing the platform through the web or mobile apps. This keeps usage fair across all access methods and prevents excessive load on DNSFilter systems.
The limit applies to the Organization as a whole. When an Organization reaches its limit, requests from every user in the Organization, including admins in the dashboard, are paused until the limit resets, which takes up to five minutes. Integrations and scripts that use the Organization's API keys count toward the same limit.
The dashboard then shows the message "Your organization has reached its API request limit. Requests will resume within 5 minutes." Some reports and widgets can show no data or fail to load until the limit resets.
Rate limit response headers
When an Organization exceeds its allotted API request limit, the system returns an HTTP 429 Too Many Requests response. This response includes standard rate-limit headers to help developers monitor and manage API usage efficiently:
-
Retry-After: Specifies the waiting period before making a new request -
RateLimit-Policy: Outlines the rate-limiting policy -
RateLimit: Displays the current request count and limits -
RateLimit-Limit: Indicates the maximum allowed requests within a timeframe -
RateLimit-Remaining: Shows the number of requests left before reaching the limit -
RateLimit-Reset: Provides a timestamp for when limits reset
Monitoring these headers helps optimize API interactions and avoid disruptions.
For further assistance, review the API documentation or submit a request to DNSFilter Support.
Comments
0 comments
Please sign in to leave a comment.