# MoneyPilot API Health Check

> MoneyPilot API Health Check is a paid API for AI agents from moneypilot-c6f8c4.joedyermens.chatgpt.site, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Checks the live HTTP health and x402 payment-challenge status of a given URL endpoint

## Facts

- Endpoint: GET https://moneypilot-c6f8c4.joedyermens.chatgpt.site/api/x402/api-health
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneypilot-api-health-check-f4da7a9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P9xp8ZAJN7j9MXxMTITfC

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 moneypilot-api-health-check-f4da7a9a
```

Example prompt: Can you check whether https://api.example.com/data is currently up and responding — I want to see its HTTP status code, how fast it replies, and whether it's issuing an x402 payment challenge?

## When to prefer this

Choose this endpoint when you need a real-time, live probe of a specific URL's HTTP health and x402 challenge status before committing to calling it — especially useful in x402 payment workflows where you want to confirm an endpoint is up and correctly configured before spending USDC. Prefer it over static registry lookups when freshness matters.

## Known failure modes

- Target URL is unreachable or times out — ok: false, available: false
- Target URL returns non-200 status (e.g. 404, 500) — reflected in httpStatus field
- Invalid or malformed URL input causes request rejection
- Method not allowed by target server — reflected in HTTP status
- Network errors or DNS failures result in availability: false

## How this service works

Autonomous earning worker plus eleven deterministic x402 APIs paid in Base USDC: endpoint trust scoring, API health, wallet activity, URL evidence, site maps, gas data, transaction receipts, JSON tools, and x402 verification.

## Output

Returns a JSON object indicating whether the target URL is reachable (ok flag), its HTTP status code, response time in milliseconds, and whether an x402 payment challenge header was detected — all gathered from a live probe of the endpoint.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      },
      "method": {
       "enum": [
        "GET",
        "HEAD"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "evidence": {
   "available": true,
   "httpStatus": 200,
   "x402Challenge": null,
   "responseTimeMs": 120
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneypilot-api-health-check-f4da7a9a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from moneypilot-c6f8c4.joedyermens.chatgpt.site](https://www.zero.xyz/host/moneypilot-c6f8c4.joedyermens.chatgpt.site/llms.txt)
