# AgentTools HTTP Status Code Lookup

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

Returns the phrase, category, and explanation for any HTTP status code, or lists all codes within a given category (1xx–5xx).

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/dev/http-status-codes?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-http-status-code-lookup-f242a3d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_08WQwEuHWiJWo4gtPCnCb

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-f242a3d2
```

Example prompt: What does HTTP status code 429 mean — can you look it up and give me the official phrase, category, and explanation?

## When to prefer this

Use this endpoint when an agent or developer needs a quick, structured, authoritative lookup of any HTTP status code's meaning, phrase, and category — especially useful during error handling, log analysis, documentation generation, or debugging workflows. Prefer this over web search when you need machine-readable structured output rather than prose.

## Known failure modes

- Unknown or invalid status code number returns empty or error response
- Category enum value misspelled or not matching allowed values causes validation error
- Requesting a code outside standard HTTP ranges may return no result
- Rate limiting or payment failure may prevent the call from completing

## 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 an object containing the status code's standard phrase (e.g. 'Not Found'), its category (e.g. 'client-error'), and a human-readable explanation of its meaning. When listing by category, returns an array of all matching codes with the same fields for each.

## 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-f242a3d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
