{"uid":"cap_CXGOEmbugSoItBVU7jGtU","slug":"delx-commerce-rate-limit-header-parser-6b589954","name":"Delx Commerce — Rate Limit Header Parser","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/rate-limit-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"headers":{"type":"object","description":"Input field: headers."}}},"responseSchema":{"type":"json","example":{"limit":"100","reset":null,"schema":"delx/util-rate-limit-parse/v1","remaining":"12","retry_after":"30","source_headers":["retry-after","x-ratelimit-limit","x-ratelimit-remaining"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZHVeHXN9Mjlrhkmt_BvSg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses HTTP rate-limit headers from an API response and returns structured rate limit information including limit, remaining, reset, and retry-after values.","exampleAgentPrompt":"I just got a 429 response from an API — can you parse these headers and tell me my rate limit, how many requests I have left, and how long I should wait before retrying? Headers: {\"retry-after\": \"30\", \"x-ratelimit-limit\": \"100\", \"x-ratelimit-remaining\": \"12\"}","exampleUseCases":[{"title":"Agent backoff after 429 throttle","prompt":"I hit a rate limit on an external API and got these headers back: retry-after is 30, x-ratelimit-limit is 100, x-ratelimit-remaining is 0. Can you parse them and tell me exactly when I can make my next request?"},{"title":"Normalize rate limits across multiple APIs","prompt":"I'm calling three different APIs and each uses slightly different header names for rate limiting. Can you parse the headers from each response and give me a consistent breakdown of limit, remaining, and reset time for all of them?"},{"title":"Monitor remaining API quota mid-workflow","prompt":"Before I continue sending requests, can you check these response headers and tell me how many API calls I have left and whether I'm about to hit the limit? I don't want the workflow to fail halfway through."}],"resultDescription":"Returns a structured JSON object with the parsed rate limit fields: limit (total allowed requests), remaining (requests left), reset (reset timestamp if available), retry_after (seconds to wait), source_headers (list of which headers were found and parsed), and a schema identifier string.","failureModes":["Missing or unrecognized header names result in null values for limit/remaining/reset","Malformed header values (non-numeric) may cause parsing errors or null outputs","If no rate-limit headers are present in the input, result fields will be null or absent","Payment failure via x402 protocol prevents call from completing"],"whenToPreferThis":"Use this endpoint when an AI agent needs to automatically interpret HTTP rate-limit headers from third-party API responses — especially when different APIs use non-standard or inconsistent header naming conventions. It is ideal for agents that must self-regulate request pacing, implement backoff strategies, or surface quota information to users without hard-coding header-parsing logic per API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:56.950Z","isFirstParty":false,"canonicalSlug":"delx-commerce-rate-limit-header-parser-6b589954"}