{"uid":"cap_umewrCJzI0zdjXNItYYqc","slug":"http-status-code-lookup-ab385a14","name":"HTTP Status Code Lookup","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/http-status?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{"code":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["code"],"properties":{"code":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"code":429,"class":"client error","retry":true,"meaning":"Too Many Requests (back off, check Retry-After)"},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a6Np8pxpOZInF5giDhSiC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the human-readable meaning, class, and retry guidance for any HTTP status code","exampleAgentPrompt":"What does HTTP status code 429 mean — is it a client error, should I retry, and what's the plain-English explanation?","exampleUseCases":[{"title":"Debugging API client error responses","prompt":"My API call just came back with a 422 — what does that mean, what class of error is it, and should I retry the request?"},{"title":"Retry logic for automated workflows","prompt":"I'm building an agent that makes HTTP calls and needs to know whether to retry on a 503 — can you look up what that code means and whether retrying is appropriate?"},{"title":"Explaining error codes to non-technical users","prompt":"A user got a 401 from our app and has no idea what it means — can you look up HTTP status 401 and give me the plain-English explanation and error class?"}],"resultDescription":"A JSON object containing the numeric status code, its class (e.g. 'client error', 'server error', 'success'), a plain-English meaning string, and a boolean indicating whether the caller should retry the request.","failureModes":["Unrecognized or invalid status code string returns an error or empty result","Non-numeric code input may fail schema validation","Codes outside standard HTTP ranges may return no known meaning"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically decode an HTTP status code into human-readable meaning and retry guidance — especially useful for dynamic error-handling logic, user-facing error explanations, or building retry policies in workflows. Prefer over hardcoded lookup tables when you need a consistent, up-to-date reference with retry semantics included.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:04.582Z","isFirstParty":false,"canonicalSlug":"http-status-code-lookup-ab385a14"}