# X Pay Health Check Ping

> X Pay Health Check Ping is a paid API for AI agents from www.api-xpay.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns a simple pong response to verify the X Pay API service is live and reachable

## Facts

- Endpoint: GET https://www.api-xpay.com/x402/ping
- 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-pay-health-check-ping-5bc96f8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__5vfXWXrJrGfX6CwcTiNE

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-pay-health-check-ping-5bc96f8c
```

Example prompt: Can you check if the X Pay API is up and responding right now?

## When to prefer this

Use this endpoint when you need a lightweight, low-cost confirmation that the X Pay API is online and accepting requests before initiating more expensive or stateful operations. Prefer this over status or configuration endpoints when you only need a liveness signal, not detailed service info.

## Known failure modes

- Service unavailable: HTTP 5xx if X Pay backend is down
- Payment required error if x402 payment header is missing or invalid
- Network timeout if the server is unreachable
- Unexpected response shape if service is partially degraded

## How this service works

Pay-per-request utility APIs powered by x402 using USDC on Base.

## Output

Returns a JSON object with 'message': 'pong', 'success': true, 'service': 'X Pay', 'asset': 'USDC', and 'network': 'base' — confirming the service is live and indicating the payment asset and blockchain network in use.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asset": "USDC",
  "message": "pong",
  "network": "base",
  "service": "X Pay",
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-pay-health-check-ping-5bc96f8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.api-xpay.com](https://www.zero.xyz/host/www.api-xpay.com/llms.txt)
