# X Data Gateway Health Check (Paid)

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

Returns a simple liveness confirmation with a timestamp to verify the paid x402 endpoint is operational.

## Facts

- Endpoint: GET https://x-data-gateway.annushka1190.workers.dev/v1/health/paid
- Price: $0.001/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-health-check-paid-1857b582
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Os4Suy3gAsvOvKF7y3lUK

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-health-check-paid-1857b582
```

Example prompt: Check if the paid health endpoint on X Data Gateway is alive and responding correctly — I want to confirm the x402 payment flow works end-to-end.

## When to prefer this

Use this endpoint when you need to verify that the x402 micropayment protocol integration with x-data-gateway is functioning correctly before making more expensive API calls. It is the cheapest available test ($0.001 USDC) for confirming end-to-end payment flow and service liveness.

## Known failure modes

- Payment rejected or insufficient USDC balance — 402 Payment Required with no body
- Network or Cloudflare Worker downtime — connection timeout or 5xx error
- Invalid or missing x402 payment header — 402 or 401 response
- Rate limiting — 429 Too Many Requests

## How this service works

Cheap end-to-end x402 test. Returns { ok: true, ts }. GET /v1/health/paid

## Output

Returns a JSON object with two fields: `ok` (boolean, true if the service is healthy) and `ts` (numeric Unix timestamp indicating when the response was generated).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "ts": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-data-gateway-health-check-paid-1857b582/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)
