{
  "x402Version": 2,
  "id": 35419,
  "slug": "35419",
  "resource": "https://agentstoolshub.com/api/v1/dev/http-status-codes",
  "description": "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.",
  "type": "http",
  "serviceName": "AgentTools",
  "resourceType": "Developer Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "analytics": {},
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "code": 402
          },
          "type": "http"
        },
        "output": {
          "example": {
            "result": {
              "answer": "402 Payment Required",
              "answerLabel": "HTTP status",
              "details": [
                {
                  "label": "Category",
                  "value": "client-error"
                },
                {
                  "label": "Meaning",
                  "value": "Reserved for payment — revived by the x402 protocol: the response carries payment requirements (USDC on Base) and is retried with payment attached."
                },
                {
                  "label": "Class",
                  "value": "4xx — 4xx Client Error"
                }
              ],
              "table": {
                "columns": [
                  "Field",
                  "Value"
                ],
                "rows": [
                  [
                    "Code",
                    402
                  ],
                  [
                    "Phrase",
                    "Payment Required"
                  ],
                  [
                    "Category",
                    "client-error"
                  ]
                ]
              },
              "value": 402
            },
            "tool": "http-status-codes"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "category": {
                    "description": "Category",
                    "enum": [
                      "",
                      "informational",
                      "success",
                      "redirect",
                      "client-error",
                      "server-error"
                    ],
                    "type": "string"
                  },
                  "code": {
                    "description": "Leave empty to list by category",
                    "type": "number"
                  },
                  "limit": {
                    "description": "Max rows",
                    "type": "number"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "dev",
    "crypto-dev",
    "analytics",
    "bazaar"
  ],
  "sourceHost": "agentstoolshub.com",
  "lastUpdated": "2026-10-11T23:04:36.51Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T23:04:36.363Z"
  },
  "metadata": {
    "serviceName": "AgentTools",
    "extensions": {
      "analytics": {},
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "code": 402
            },
            "type": "http"
          },
          "output": {
            "example": {
              "result": {
                "answer": "402 Payment Required",
                "answerLabel": "HTTP status",
                "details": [
                  {
                    "label": "Category",
                    "value": "client-error"
                  },
                  {
                    "label": "Meaning",
                    "value": "Reserved for payment — revived by the x402 protocol: the response carries payment requirements (USDC on Base) and is retried with payment attached."
                  },
                  {
                    "label": "Class",
                    "value": "4xx — 4xx Client Error"
                  }
                ],
                "table": {
                  "columns": [
                    "Field",
                    "Value"
                  ],
                  "rows": [
                    [
                      "Code",
                      402
                    ],
                    [
                      "Phrase",
                      "Payment Required"
                    ],
                    [
                      "Category",
                      "client-error"
                    ]
                  ]
                },
                "value": 402
              },
              "tool": "http-status-codes"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "category": {
                      "description": "Category",
                      "enum": [
                        "",
                        "informational",
                        "success",
                        "redirect",
                        "client-error",
                        "server-error"
                      ],
                      "type": "string"
                    },
                    "code": {
                      "description": "Leave empty to list by category",
                      "type": "number"
                    },
                    "limit": {
                      "description": "Max rows",
                      "type": "number"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentstoolshub.com",
    "manifest_name": "agentstoolshub.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}