# BaseDue x402 Endpoint Health Check

> BaseDue x402 Endpoint Health Check is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-18).

Checks whether a given URL is a live x402 pay-per-call endpoint, verifying HTTP status, x402 protocol presence, and payee wallet risk profile

## Facts

- Endpoint: GET https://api.firstmention.uk/s/basedue/check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basedue-x402-endpoint-health-check-d80312db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s6Qxpj2-6F3Z7dENBd1Ga

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 basedue-x402-endpoint-health-check-d80312db
```

Example prompt: Can you check if https://api.example.com/some/endpoint is a live x402 pay-per-call API, and tell me whether its payee wallet looks safe and how much it charges?

## When to prefer this

Use this endpoint when you need to programmatically verify that a URL is a functioning x402 pay-per-call API before committing a payment, especially when you want payee wallet risk screening combined with HTTP liveness and x402 protocol detection in a single call. Prefer this over generic HTTP health checkers when x402 protocol compliance and on-chain wallet analysis are required.

## Known failure modes

- Target URL is unreachable or returns non-HTTP error — ok:false with no http verdict
- Target URL does not return 402 — x402.found:false, no payment details
- Payee wallet address not found on Base — missing or empty payees array
- Invalid or malformed URL input — likely 400 or validation error
- Target endpoint requires specific headers not passed — may not trigger 402 correctly

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with: liveness verdict (HTTP status and alive flag), x402 detection (whether the endpoint returns a valid x402 payment header), accepted payment details (asset address, payTo wallet, network, max amount in USDC), payee wallet analysis (transaction count, ETH and USDC balances, contract flag, risk level and flags), and a summary object with top-level x402/alive/payee count/worst risk fields.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "token": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "flags": {
       "type": "array"
      },
      "score": {
       "type": "number"
      },
      "token": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "verdict": {
       "type": "string"
      },
      "liquidity_usd": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "http": {
   "status": 402
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basedue-x402-endpoint-health-check-d80312db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
