# x402-preflight Monitor

> x402-preflight Monitor 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-24).

Checks whether an x402 pay-per-call API endpoint's payment parameters have changed since a baseline snapshot was established

## Facts

- Endpoint: GET https://api.firstmention.uk/s/x402-preflight/monitor?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-preflight-monitor-9b2e15e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1lmM5wQCnlXmp5pBl1TaG

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-preflight-monitor-9b2e15e2
```

Example prompt: Check whether the payment parameters for https://api.example-seller.com/paid have changed since the baseline — I want to know if the payTo address, amount, or network is different from what it was before.

## When to prefer this

Use this endpoint when you need to detect drift or tampering in x402 payment parameters — specifically the payTo address, amount, or network — for a known pay-per-call API. It is purpose-built for x402 monitoring, making it superior to generic uptime monitors or API diff tools when the concern is payment integrity on Base/USDC endpoints. Prefer it over x402-preflight (which only does a one-shot check) when you want change detection relative to a stored baseline.

## Known failure modes

- URL not reachable or returns non-402 status — endpoint may not be an x402 service
- No baseline established yet — first call sets the baseline, so changed will be false
- Network timeout when probing the target URL
- Invalid HTTP method supplied (must be GET, HEAD, or DELETE)
- Target URL behind authentication or IP restrictions preventing probe

## 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 indicating whether the endpoint's x402 payment parameters have changed (ok, changed booleans), a list of changed fields with their old and new values (field, was, now), the current payment configuration (amount, status, network, payable), and whether this is a fresh baseline reading.

## 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": {
      "url": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "url": {
       "type": "string"
      },
      "changed": {
       "type": "boolean"
      },
      "changes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "now": {
          "type": "string"
         },
         "was": {
          "type": "string"
         },
         "field": {
          "type": "string"
         }
        }
       }
      },
      "current": {
       "type": "object",
       "properties": {
        "amount": {
         "type": "string"
        },
        "status": {
         "type": "number"
        },
        "network": {
         "type": "string"
        },
        "payable": {
         "type": "boolean"
        }
       }
      },
      "baseline": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "url": "https://api.example-seller.com/paid",
  "changed": true,
  "changes": [
   {
    "now": "0xnew",
    "was": "0xold",
    "field": "payTo"
   }
  ],
  "current": {
   "amount": "10000",
   "status": 402,
   "network": "base",
   "payable": true
  },
  "baseline": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-preflight-monitor-9b2e15e2/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)
