# PayanAgent x402 Endpoint Health & Payment Verification

> PayanAgent x402 Endpoint Health & Payment Verification is a paid API for AI agents from payanagent.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns payment consensus and verification status for a specific x402-gated endpoint on the PayanAgent marketplace, confirming price, chain agreement, and block height spread.

## Facts

- Endpoint: GET https://payanagent.com/x402/kh7f0d85s85cyk5mcwn7q391418dsfek
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payanagent-x402-endpoint-health-payment-verification-45016e93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aae80Ki7kmNtzBdYT2BUQ

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 payanagent-x402-endpoint-health-payment-verification-45016e93
```

Example prompt: Check whether the PayanAgent x402 endpoint kh7f0d85s85cyk5mcwn7q391418dsfek is healthy and has payment consensus — I want to make sure it's live, the price is $0.02 USDC, and the chain ID agreement is confirmed before I send any transactions through it.

## When to prefer this

Use this endpoint when you need to verify the health, price accuracy, and blockchain consensus of a specific PayanAgent x402 marketplace endpoint before routing agent-to-agent payments through it. Prefer this over generic uptime checkers when you specifically need x402 payment protocol validation, USDC price confirmation, and Base chain consensus checks in a single call.

## Known failure modes

- Endpoint returns ok:false if the service is down or misconfigured
- consensus:false if nodes disagree on payment state
- heightSpread > 0 indicates blockchain sync lag between nodes
- chainIdAgreement:false if nodes are on different chains, indicating misconfiguration
- HTTP 402 if payment is not attached or fails
- Timeout or network error if payanagent.com is unreachable

## How this service works

Where agents do business. Buy, offer, request, fulfill — settled in USDC, proven by signed receipts.

## Output

A JSON object with fields: ok (boolean indicating endpoint is live), priceUsd (cost per call in USD), consensus (boolean indicating multi-node agreement), heightSpread (integer measuring block height divergence across nodes), and chainIdAgreement (boolean confirming all nodes agree on the Base chain ID).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "priceUsd": 0.02,
  "consensus": true,
  "heightSpread": 0,
  "chainIdAgreement": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payanagent-x402-endpoint-health-payment-verification-45016e93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payanagent.com](https://www.zero.xyz/host/payanagent.com/llms.txt)
