# capi2 x402 Health Check

> capi2 x402 Health Check is a paid API for AI agents from capi2-demand-tools.onrender.com, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Audits a given URL for x402 protocol health, manifest presence, resource matching, and payment readiness, returning a scored status report.

## Facts

- Endpoint: POST https://capi2-demand-tools.onrender.com/v1/x402/health
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/capi2-x402-health-check-9ac9b5d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VPMByiYkkqDvHGkeoGetJ

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 capi2-x402-health-check-9ac9b5d0 -d '<json body>'
```

Example prompt: Can you check the x402 health of https://api.example.com/v1/data — I want to know its health score, whether the manifest is present, and if the resource URL actually matches what's declared?

## When to prefer this

Use this endpoint when you need to programmatically verify that a URL correctly implements the x402 payment protocol before integrating it into an agent workflow, paying for access, or listing it in a discovery registry. Prefer it over manual inspection when you need a scored, machine-readable health report.

## Known failure modes

- Invalid or unreachable URL returns an error or low score
- Non-x402 URLs return manifest_present=false and low scores
- Network timeout if the target URL is slow to respond
- Malformed URI input rejected with validation error
- False negatives if x402 manifest is present but misconfigured

## How this service works

Paid x402 utilities and live intelligence for autonomous agents: hashing/encoding plus public web lookup, domain intelligence, API discovery audit, evidence extraction and x402 health.

## Output

Returns a JSON object with a numeric health score (0-100), a status string (e.g. 'healthy'), a boolean indicating x402 manifest presence, a boolean for resource URL match, and a boolean for whether payments have been attempted against the endpoint.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public API, agent or x402 URL; its origin and discovery surfaces are audited."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 95,
  "status": "healthy",
  "x402_manifest": true,
  "resource_match": true,
  "payments_attempted": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/capi2-x402-health-check-9ac9b5d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from capi2-demand-tools.onrender.com](https://www.zero.xyz/host/capi2-demand-tools.onrender.com/llms.txt)
