# X Data Gateway — x402 Probe

> X Data Gateway — x402 Probe is a paid API for AI agents from x-data-gateway.annushka1190.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Probes any HTTPS URL via GET/HEAD/DELETE to inspect its HTTP response, headers, and x402 payment requirements

## Facts

- Endpoint: GET https://x-data-gateway.annushka1190.workers.dev/v1/x402/probe
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-data-gateway-x402-probe-e3864e38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q9kIHiCS9xAfIAHYkzOSS

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 x-data-gateway-x402-probe-e3864e38
```

Example prompt: Can you probe https://api.example.com/data to check if it requires an x402 payment and what HTTP headers it returns?

## When to prefer this

Use this endpoint when you need to programmatically inspect an HTTP URL's response metadata — especially to detect x402 payment requirements — without a browser or external HTTP client. Ideal for agents discovering whether a target API is x402-enabled, checking liveness, or reading headers before committing to a full API integration. Not suitable for POST/PUT/PATCH operations or for fetching large response bodies.

## Known failure modes

- Invalid or non-HTTPS URL returns a validation error
- Target URL is unreachable or times out, returning a connection error
- URL returns an unexpected non-HTTP response
- Probe itself fails to pay the $0.005 USDC x402 fee, blocking the call
- Method not in allowed enum (only GET/HEAD/DELETE supported)

## How this service works

Unauthenticated GET to resourceUrl; checks HTTP 402, accepts[], price sanity. Query: url (required). e.g. GET /v1/x402/probe?url=https://...

## Output

Returns a JSON object containing the HTTP response details from the probed URL, including status code, headers, and any x402-specific payment metadata (e.g. payment address, amount, currency). Useful for determining whether an endpoint is live, what payment scheme it uses, and whether access is gated.

## 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": "Full https URL to probe"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-data-gateway-x402-probe-e3864e38/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x-data-gateway.annushka1190.workers.dev](https://www.zero.xyz/host/x-data-gateway.annushka1190.workers.dev/llms.txt)
