# AgentTools HTTP Status Code Lookup

> AgentTools HTTP Status Code Lookup is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Look up any HTTP status code's phrase, category, and explanation, or list all codes within a category (1xx–5xx).

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/dev/http-status-codes?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-http-status-code-lookup-e49456b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xlyo8gOR8xuzz2tAEJ81C

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 agenttools-http-status-code-lookup-e49456b7
```

Example prompt: What does HTTP status code 429 mean — give me the phrase, category, and a plain-English explanation.

## When to prefer this

Use this endpoint when an agent or developer needs an authoritative, structured reference for any HTTP status code — including its official phrase, category bucket (1xx–5xx), and explanation — without relying on a web search or LLM hallucination. Ideal for building error-handling logic, documentation, or when an agent encounters an unfamiliar status code in an API response and needs to understand it programmatically.

## Known failure modes

- Unknown or invalid status code number returns empty or error response
- Invalid category enum value rejected at input validation
- Missing required 'type' or 'method' fields causes schema validation error
- Non-numeric code parameter may fail type check
- Payment failure (x402) if USDC balance insufficient

## How this service works

Reference database of HTTP response status codes with phrase, category and explanation. Look up a specific code or list a whole category (1xx–5xx). Use this when an agent needs to look up any HTTP status code's meaning.

## Output

Returns the HTTP status code's official phrase (e.g. 'Not Found'), its category (e.g. 'client-error'), and a human-readable explanation of what the code means. When listing by category, returns an array of all matching codes with their phrases and explanations, up to the specified row limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "code": {
       "type": "number",
       "description": "Leave empty to list by category"
      },
      "limit": {
       "type": "number",
       "description": "Max rows"
      },
      "category": {
       "enum": [
        "",
        "informational",
        "success",
        "redirect",
        "client-error",
        "server-error"
       ],
       "type": "string",
       "description": "Category"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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