# HTTP Status Code Reference

> HTTP Status Code Reference is a paid API for AI agents from api.gadgethumans.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Look up the name, meaning, and class of a specific HTTP status code, or list all HTTP status codes grouped by class (1xx–5xx).

## Facts

- Endpoint: GET https://api.gadgethumans.com/http-codes?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/http-status-code-reference-5a9ff20c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DKHEv_-0RpcmwmhFflwxB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability http-status-code-reference-5a9ff20c
```

Example prompt: What does HTTP status code 429 mean — give me its name, meaning, and which class it belongs to.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/http-status-code-reference-5a9ff20c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gadgethumans.com](https://www.zero.xyz/host/api.gadgethumans.com/llms.txt)
