# x402-preflight Payment Verifier

> x402-preflight Payment Verifier 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-20).

Verifies that a specific blockchain transaction on Base paid the correct USDC amount to a given recipient address, confirming payment before granting access.

## Facts

- Endpoint: GET https://api.firstmention.uk/s/x402-preflight/verify?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-preflight-payment-verifier-215f6bfd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qgVNq0EeFGnd3sQFV2Stq

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-payment-verifier-215f6bfd
```

Example prompt: Can you verify that the transaction 0xabc... on Base actually paid 0.01 USDC to wallet 0xddbe... and confirm it's been confirmed on-chain?

## When to prefer this

Use this endpoint when you need to verify that a specific x402 USDC payment transaction on the Base network was actually confirmed on-chain before granting access or fulfilling a service. It is purpose-built for the x402 pay-per-call micropayment protocol and returns structured confirmation data. Prefer this over general blockchain explorers when you need a programmatic, machine-readable confirmation check integrated into an access-control or fulfillment workflow.

## Known failure modes

- Transaction not found or not yet indexed — returns empty results array with count 0
- Unconfirmed transaction — confirmed field returns false
- Invalid or malformed transaction hash — may return empty results or error
- Network issues fetching Base chain data — service timeout
- Missing required query parameters (to or txs) — likely 400 error

## 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 a count of matching results and an array of transaction records, each including the recipient address, transaction hash, confirmation status (boolean), and USDC amount paid. Example: {count: 1, results: [{to: '0xddbe...', tx: '0xabc...', confirmed: true, amount_usdc: '0.01'}]}.

## 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": {
      "to": {
       "type": "string"
      },
      "txs": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "number"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "to": {
          "type": "string"
         },
         "tx": {
          "type": "string"
         },
         "confirmed": {
          "type": "boolean"
         },
         "amount_usdc": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "results": [
   {
    "to": "0xddbe...",
    "tx": "0xabc...",
    "confirmed": true,
    "amount_usdc": "0.01"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-preflight-payment-verifier-215f6bfd/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)
