# AgentIndex x402 URL Probe

> AgentIndex x402 URL Probe is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Probes a public URL to detect whether it is protected by an x402 paywall, and returns paywall metadata including price, network, and payment address.

## Facts

- Endpoint: GET https://x402.agentindex.world/probe?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentindex-x402-url-probe-0b5ab76e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b6FB1TtzEVgeddyE8yzzw

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 agentindex-x402-url-probe-0b5ab76e
```

Example prompt: Can you check if https://x402.shizu.me/weather is behind an x402 paywall, and if so, how much it costs and which wallet address to pay?

## When to prefer this

Use this endpoint when you need to discover whether a specific URL is protected by x402 before deciding to pay for it, or when you want to extract payment metadata (price, wallet, network, scheme) without actually executing a payment. Prefer this over generic HTTP probing tools when x402 protocol-specific fields like pay_to, network, price_usdc, and x402_version are needed.

## Known failure modes

- URL is unreachable or times out — reachable: false returned
- URL does not implement x402 — is_x402: false with actual HTTP status
- Malformed or non-HTTP URL provided — validation error
- URL redirects in a way that obscures paywall detection
- x402 metadata missing or incomplete on the target server

## How this service works

Probe any public URL and report if it is an x402 paywall - price, network, payTo, scheme. Shop paywalls before you spend. Try GET /probe/sample.

## Output

Returns a JSON object indicating whether the URL is reachable and x402-gated, including: the URL itself, a boolean is_x402 flag, HTTP status code, price in USDC, payment address (pay_to), network (e.g. 'base'), payment scheme, and x402 protocol version.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL to probe for an x402 paywall."
      },
      "method": {
       "type": "string",
       "description": "HTTP method to use (GET default, or POST)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "url",
      "reachable",
      "is_x402"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "pay_to": {
       "type": "string"
      },
      "is_x402": {
       "type": "boolean"
      },
      "network": {
       "type": "string"
      },
      "reachable": {
       "type": "boolean"
      },
      "price_usdc": {
       "type": "number"
      },
      "http_status": {
       "type": "integer"
      },
      "x402_receipt": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://x402.shizu.me/weather?lat=48.85&lon=2.35",
  "pay_to": "0x217e5Fe265EB78b29067bF8324ef03a7D8e167C4",
  "scheme": "exact",
  "is_x402": true,
  "network": "base",
  "reachable": true,
  "price_usdc": 0.004,
  "http_status": 402,
  "x402_version": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentindex-x402-url-probe-0b5ab76e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
