# x402 Endpoint Health

> x402 Endpoint Health is a paid API for AI agents from api.zfinia.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-18).

Checks whether an x402 paid endpoint is currently live by probing it for a valid payment challenge, counting well-formed priced offers, and returning a single payable_now flag along with any payment-breaking warnings.

## Facts

- Endpoint: POST https://api.zfinia.com/x402/v1/x402-endpoint-health?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-endpoint-health-8da5c6af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ya2yue47AJPVTxWY6HOsP

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 x402-endpoint-health-8da5c6af -d '<json body>'
```

Example prompt: Check whether the x402 endpoint at https://api.example.com/premium/data is live and actually payable right now — probe it with a GET and tell me if the payment challenge is valid, how many priced offers it has, and whether there are any warnings that would block a payment.

## When to prefer this

Use this endpoint when you need to verify an x402 endpoint is live and genuinely payable before committing funds or building payment logic around it. Prefer this over x402 Endpoint Preflight when your primary concern is health/availability rather than decoding the full pricing details. Prefer this over x402 Metadata Drift when you have no prior challenge to compare against. Ideal for pre-flight health checks in agent payment workflows or uptime monitoring of monetized APIs.

## Known failure modes

- URL uses unsupported scheme, includes credentials, a port, or a fragment — request refused
- Target origin is not on the reviewed allowlist — request refused
- Endpoint returns no 402 response — challenge_present: false, payable_now: false
- Endpoint is unreachable or times out — connection error reported
- Priced offers are malformed or zero — offer_count: 0, payable_now: false

## How this service works

Is this paid endpoint answering right now? Returns whether it serves a payment challenge, how many well-formed priced offers it carries, which warnings would actually break a payment as opposed to merely making the call harder to construct, and a single payable_now flag. Reports only what was observed; it makes no judgement about the seller.

## Output

Returns a payable_now boolean flag, whether a payment challenge was observed, the count of well-formed priced offers in the challenge, and a list of warnings categorized by whether they would actually break a payment versus just make it harder to construct. Reports only observed facts without seller judgment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048
  },
  "body": {
   "type": "object"
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-endpoint-health-8da5c6af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zfinia.com](https://www.zero.xyz/host/api.zfinia.com/llms.txt)
