# X402 Web Inspect Endpoint

> X402 Web Inspect Endpoint is a paid API for AI agents from x402.feld-feder.at, paid per call via x402, $0.004/call, status down (last checked 2026-10-23).

Fetches a URL via HTTP POST/PUT/PATCH and returns detailed response metadata including status code, headers, content hash, redirect count, and content size.

## Facts

- Endpoint: POST https://x402.feld-feder.at/v1/web/inspect?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: down
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-inspect-endpoint-087005f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r1Q2oQynQldyVRNFLfW4z

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 x402-web-inspect-endpoint-087005f5 -d '<json body>'
```

Example prompt: Inspect https://api.example.com/webhook with a POST request and a JSON body containing {"event": "test"}, and tell me the HTTP status code, response headers, content hash, and how many redirects happened.

## When to prefer this

Choose this endpoint when you need to probe a URL that requires a POST, PUT, or PATCH request rather than a simple GET — for example, when testing webhook endpoints, form submissions, or APIs that only accept non-GET methods. It is especially useful when you need metadata about the response (headers, hash, redirects, timing) rather than the full response body, and when you want a pay-per-use model with no subscription overhead via the x402 protocol.

## Known failure modes

- Target URL is unreachable or times out — likely returns an error or non-2xx status
- Invalid or malformed URL input — schema validation error
- Target server returns unexpected content type or empty body — content_bytes may be 0
- Redirect loop causes failure — redirect_count may be high
- Payment failure (x402 protocol) — request not processed if USDC payment is not completed

## How this service works

Pay-per-request data tools for AI agents.

## Output

Returns a JSON object with: the originally requested URL, the final URL after any redirects, HTTP status code, content type, content size in bytes, a SHA-256 hash of the response body, the number of redirects followed, response duration in milliseconds, the timestamp of retrieval, and all response headers as name-value pairs.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "title": "WebUrlRequest",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "title": "Url",
       "maxLength": 4096,
       "minLength": 1
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "ResponseEnvelope[WebInspectionResult]",
     "required": [
      "data"
     ],
     "properties": {
      "ok": {
       "type": "boolean",
       "const": true,
       "title": "Ok",
       "default": true
      },
      "data": {
       "type": "object",
       "title": "WebInspectionResult",
       "required": [
        "requested_url",
        "final_url",
        "retrieved_at",
        "status_code",
        "content_type",
        "content_bytes",
        "content_hash",
        "redirect_count",
        "duration_ms",
        "headers"
       ],
       "properties": {
        "headers": {
         "type": "array",
         "items": {
          "type": "object",
          "title": "InspectionHeader",
          "required": [
           "name",
           "value"
          ],
          "properties": {
           "name": {
            "type": "string",
            "title": "Name"
           },
           "value": {
            "type": "string",
            "title": "Value"
           }
          },
          "additionalProperties": false
         },
         "title": "Headers"
        },
        "final_url": {
         "type": "string",
         "title": "Final Url"
        },
        "duration_ms": {
         "type": "number",
         "title": "Duration Ms",
         "minimum": 0
        },
        "status_code": {
         "type": "integer",
         "title": "Status Code",
         "maximum": 599
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "headers": [],
   "final_url": "https://example.com",
   "duration_ms": 0,
   "status_code": 200,
   "content_hash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
   "content_type": "text/html",
   "retrieved_at": "2026-01-01T00:00:00Z",
   "content_bytes": 0,
   "requested_url": "https://example.com",
   "redirect_count": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-inspect-endpoint-087005f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.feld-feder.at](https://www.zero.xyz/host/x402.feld-feder.at/llms.txt)
