{"uid":"cap_DKHEv_-0RpcmwmhFflwxB","slug":"http-status-code-reference-5a9ff20c","name":"HTTP Status Code Reference","description":"Look up an HTTP status code (name, meaning and class) or list every HTTP status code grouped by 1xx-5xx. Pure CPU, instant - use before interpreting an API error or writing error handling.","url":"https://api.gadgethumans.com/http-codes?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Status code such as 404. Omit to list all codes."}}}}},"output":{"type":"object","properties":{"example":{"ok":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_srgzelMCTmymU0wW7IYxT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up the name, meaning, and class of a specific HTTP status code, or list all HTTP status codes grouped by class (1xx–5xx).","exampleAgentPrompt":"What does HTTP status code 429 mean — give me its name, meaning, and which class it belongs to.","exampleUseCases":[{"title":"Interpreting an unexpected API error","prompt":"I just got a 422 back from a third-party API — what does that status code mean and what class is it in?"},{"title":"Writing error handling for a web app","prompt":"Can you list all the HTTP status codes so I can decide which ones my error handler needs to cover?"},{"title":"Debugging a failed redirect","prompt":"My request is getting a 301 — what exactly does that code mean and is it a 3xx redirect class code?"}],"resultDescription":"Returns the name, human-readable meaning, and class (1xx–5xx) for a given status code, or when no code is specified, returns a full grouped list of all standard HTTP status codes organized by class.","failureModes":["Invalid or unrecognized status code returns an error or empty result","Missing required 'code' query parameter when not intending to list all codes","Non-numeric code string may be rejected","Very obscure or non-standard codes may not be in the reference data"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically interpret an HTTP status code returned by any API, or when generating error-handling logic and you need authoritative names and meanings for all standard codes. It is a pure CPU lookup with no external dependencies, making it faster and cheaper than querying documentation sites.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:06:01.350Z","isFirstParty":false,"canonicalSlug":"http-status-code-reference-5a9ff20c"}