# Compass x402 Ping

> Compass x402 Ping is a paid API for AI agents from api.402rates.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Sends a paid test ping over the x402 payment rail and returns a pong with server timestamp and rail used, confirming end-to-end payment flow.

## Facts

- Endpoint: GET https://api.402rates.com/v1/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/compass-x402-ping-12628389
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k40vvNOOOL5aAwYKJFq-i

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 compass-x402-ping-12628389
```

Example prompt: Can you do a live end-to-end test of the x402 payment rail on Compass — send the paid ping and tell me what rail it went through and what the server time was?

## When to prefer this

Use this endpoint when you need to verify that the x402 micropayment infrastructure is functioning end-to-end, particularly when diagnosing integration issues, running health checks in CI/CD pipelines, or confirming that a USDC wallet and payment rail are correctly wired up before using higher-stakes x402-gated endpoints.

## Known failure modes

- Insufficient USDC balance causes payment to fail before the endpoint is reached
- x402 payment rail is degraded or offline, returning a 402 or 5xx error
- Malformed payment header results in rejection at the payment gateway
- Network timeout before pong is returned
- Unsupported payment method or wallet causes authorization failure

## How this service works

Payment integration check for 0.001 USDC; no external data lookup. Returns time, rail, network mode and free/paid capabilities. HTTP payment options can include Base, Polygon, Arbitrum and XDC; the challenge lists currently available networks for each transport. The receipt identifies the paid network and transaction. Business/professional use only. Terms: https://402rates.com/data-terms/

## Output

Returns a pong message along with the current server timestamp and the name of the x402 payment rail that processed the $0.001 USDC payment, confirming the full round-trip payment flow succeeded.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/compass-x402-ping-12628389/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.402rates.com](https://www.zero.xyz/host/api.402rates.com/llms.txt)
