# HTTP Status Code Lookup

> HTTP Status Code Lookup is a paid API for AI agents from cocoeatsai.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Returns the human-readable meaning, class, and retry guidance for any HTTP status code

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/tools/http-status?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/http-status-code-lookup-ab385a14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_umewrCJzI0zdjXNItYYqc

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-lookup-ab385a14
```

Example prompt: What does HTTP status code 429 mean — is it a client error, should I retry, and what's the plain-English explanation?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

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