GuidesAPI ReferenceChangelogAPI PolicyGusto Security
Changelog
added

Added rate limit headers

Added additional rate limit data to API response headers. The following headers are now available to use when handling rate limiting programmatically:

  • 'Retry-After': the number of seconds until the rate limit window resets
  • 'X-RateLimit-Limit': the total number of requests allowed in the rate limit window
  • 'X-RateLimit-Remaining': the number of requests remaining in the rate limit window
  • 'X-RateLimit-Reset': the datetime when the rate limit window will reset

Read more about rate limiting.

Examples

200 OK response

HTTP/1.1 200 OK

X-RateLimit-Limit: 200
X-RateLimit-Remaining: 198
X-RateLimit-Reset: 2025-07-08 15:35:40 -0700

429 Too Many Requests response

HTTP/1.1 429 Rate Limit Exceeded

Retry-After: 30