# x402 Endpoint Health & Payment Terms Checker

> x402 Endpoint Health & Payment Terms Checker is a paid API for AI agents from agoreum.xyz, paid per call via x402, $0.5/call, status unknown (last checked 2026-10-16).

Probes an x402-enabled HTTPS endpoint for reachability, TLS validity, latency, correct 402 response, and valid parseable payment terms.

## Facts

- Endpoint: POST https://agoreum.xyz/api/v1/x402/tools/x402-endpoint-check?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-endpoint-health-payment-terms-checker-ba853b84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_It_emccKhg-N_uFhIQ9nI

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-payment-terms-checker-ba853b84 -d '<json body>'
```

Example prompt: Can you probe https://api.myservice.com/v1/data and tell me if it's reachable, has valid TLS, returns a proper HTTP 402 response, and whether the payment terms actually parse correctly?

## When to prefer this

Use this endpoint when you need to validate that a specific x402-enabled HTTPS URL is correctly configured as a pay-per-call API — covering the full stack from reachability and TLS through to 402 response correctness and payment term semantics. Prefer this over generic HTTP health checkers when the x402 payment protocol compliance is specifically what you need to verify.

## Known failure modes

- Non-HTTPS URLs rejected by schema pattern validation
- Endpoint is unreachable or times out — reachability check fails
- TLS certificate is invalid or expired — TLS check fails
- Endpoint returns 200 or other non-402 status — flagged as misconfigured
- 402 response present but payment terms are malformed or unparseable
- Network errors or DNS failures prevent probe from completing

## How this service works

Probes an x402 endpoint: reachability, TLS, latency, the 402 response and whether its payment terms parse and make sense.

## Output

Returns a structured diagnostic report covering: whether the endpoint is reachable, TLS certificate validity, measured latency, whether the endpoint returns an HTTP 402 status, and whether the payment terms in the 402 response are present and parse into valid, coherent payment instructions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https://",
   "maxLength": 2048
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-endpoint-health-payment-terms-checker-ba853b84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agoreum.xyz](https://www.zero.xyz/host/agoreum.xyz/llms.txt)
