Skip to content

Menu

RateLimit Header Parser

Paste response headers to decode the IETF RateLimit and RateLimit-Policy fields, Retry-After and legacy X-RateLimit-* headers, with errors flagged.

Runs entirely in your browserAPI & HTTPFree, no sign-up
Loading tool

01What is RateLimit Header Parser?

RateLimit Header Parser reads the rate limit headers an HTTP API sends back and explains them. It follows the IETF HTTPAPI working group's draft-ietf-httpapi-ratelimit-headers, revision 11. That draft defines two fields. RateLimit-Policy describes the quotas a server applies, and it should stay the same from response to response. RateLimit reports the current state: how much quota is left and for how long. Both are Structured Field lists (RFC 9651), so small syntax slips such as a missing quote make the whole field unreadable to strict parsers. Paste the response headers. For each RateLimit-Policy item the tool shows the policy name and the q parameter, which is the quota and is required. It also shows the qu parameter, the quota unit, which defaults to requests; the draft also registers content-bytes and concurrent-requests. The w parameter is the window in seconds and pk is the partition key. For each RateLimit item it shows r, the remaining quota, and t, the effective window in seconds. It then joins each item to the policy of the same name and draws how much is left. The checks come from the draft's own rules. The name must be a String, so a bare token like default is an error. q and r must be non-negative Integers, w must be a positive Integer, and pk must be a Byte Sequence written :base64:. Retry-After is read too, as delay-seconds or an IMF-fixdate HTTP-date (RFC 9110 section 10.2.3). Older X-RateLimit-Limit, -Remaining, -Reset, -Used and -Resource headers are listed as well, because many APIs still send them. Those are not standardised, and providers disagree on whether reset is a Unix time or a number of seconds. The tool says which one a value looks like, but it can't know for sure. For example, RateLimit-Policy: "burst";q=100;w=60,"daily";q=1000;w=86400 with RateLimit: "burst";r=42;t=18 shows 42 of 100 requests left, with the window ending in 18 seconds. The draft warns clients not to assume the full quota comes back when t runs out, and the tool repeats that warning when r is 0. The draft is still an Internet-Draft, so names and parameters may change before it becomes an RFC. Nothing is sent to the API; parsing happens in your browser. Sources: draft-ietf-httpapi-ratelimit-headers-11 (https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/); RFC 9651, Structured Field Values for HTTP (https://www.rfc-editor.org/rfc/rfc9651); RFC 9110 section 10.2.3, Retry-After (https://www.rfc-editor.org/rfc/rfc9110).

API developers, SREs and client library authors who implement or consume rate limiting. The tool runs entirely in your browser, so your data never leaves your device.

02How to use RateLimit Header Parser

  1. Copy the response headers from curl -i, your browser's network panel or a log
  2. Paste them, one header per line
  3. Read the policy table and the remaining quota for each RateLimit item
  4. Fix anything marked as an error, such as a missing q or an unquoted policy name

03Worked examples

Input: RateLimit-Policy: "burst";q=100;w=60,"daily";q=1000;w=86400 RateLimit: "burst";r=42;t=18
Result: Policies: burst 100 requests per 60 s; daily 1000 requests per 86400 s RateLimit for burst: 42 requests left of 100, effective window 18 s
Two policies from the draft's section 3 example, with a current limit for burst.
Input: RateLimit-Policy: "default";q=100;w=10 RateLimit: "default";r=0;t=7 Retry-After: 7
Result: RateLimit for default: 0 requests left of 100, effective window 7 s info: Quota used up; the window ends in 7 s, but the draft says not to assume the full quota returns then. Retry-After: wait 7 s
A typical 429 response.
Input: RateLimit-Policy: default;w=60
Result: error: Policy name must be a String, got default. error: Missing the REQUIRED "q" (quota) parameter.
An unquoted name and no quota.
Input: x-ratelimit-reset: 1767225600
Result: x-ratelimit-reset 1767225600: looks like a Unix time: 2026-01-01T00:00:00.000Z info: X-RateLimit-* and the older RateLimit-Limit/-Remaining/-Reset trio are not standardised...
Legacy headers are explained, with a caution.

04Common use cases

  • Debugging why a client keeps hitting 429 Too Many Requests
  • Checking that a gateway or middleware emits valid RateLimit and RateLimit-Policy fields
  • Reading a provider's X-RateLimit headers while writing a backoff strategy
  • Comparing a server's advertised policy with the remaining quota it reports
  • Documenting an API's rate limits with real header examples

05Tips

  • Quote policy names: "default" is a String, default without quotes is a Token and is invalid
  • Don't treat t as a promise that the whole quota resets; slow down as r gets small
  • Prefer Retry-After when it is present on a 429 or 503 response
  • Prefix your own extra parameters with a vendor name, as the draft suggests

06Related concepts

RateLimit header, RateLimit-Policy, Retry-After, HTTP 429, Structured Field Values, API rate limiting.

Frequently Asked Questions

What is RateLimit Header Parser?

RateLimit Header Parser is a free, browser-based developer tool on AIDToolStack. Paste response headers to decode the IETF RateLimit and RateLimit-Policy fields, Retry-After and legacy X-RateLimit-* headers, with errors flagged. It requires no installation or sign-up and works entirely in your browser.

Is RateLimit Header Parser free to use?

Yes. No sign-up, no fees and no usage cap.

Does RateLimit Header Parser store my data?

No. It runs in your browser; nothing is uploaded.

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe