# Plainsight x402 Payment Preflight

> Plainsight x402 Payment Preflight is a paid API for AI agents from shop.netlobo.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Checks whether a specific route (or the entire shop) is payable via x402 — verifying it is listed, priced, backed by a funded USDC wallet, and actively settling payments.

## Facts

- Endpoint: GET https://shop.netlobo.com/preflight/x402?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/plainsight-x402-payment-preflight-5f0b4952
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NYDFe2FVRI4sLgrQHm5cE

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 plainsight-x402-payment-preflight-5f0b4952
```

Example prompt: Before I pay anything, can you preflight-check the /v1/gas route on the Plainsight shop to confirm it's listed, priced, and that the USDC wallet behind it is actually funded and has been settling in the last 30 days?

## When to prefer this

Use this endpoint when an AI agent or developer needs to validate an x402 payment route before committing funds — especially to confirm the payTo wallet is live and funded, the route is priced and listed, and real settlements have occurred recently. Prefer this over blindly attempting a payment when reliability and fund safety matter, or when building an agent that needs to programmatically discover and vet x402 endpoints before routing tasks to them.

## Known failure modes

- Route not found in catalog — in_catalog: false returned
- Wallet has zero or insufficient USDC balance — wallet_ok: false
- No settlements in 30-day window — gap_30d may be null or very large
- Invalid or malformed route path — query param parsing error
- Shop is entirely unlisted or misconfigured — status: fail across all routes
- Network RPC unavailable — live balance read may fail with 5xx

## How this service works

Per-call data and LLM products, paid in USDC on Base via x402. No accounts, no API keys: each request returns 402 with a payment challenge.

## Output

A JSON object containing: overall pass/fail status, the pay-to wallet address, USDC asset address, live USDC wallet balance in USD, network (e.g. eip155:8453 for Base), and per-route details including whether the route is in the catalog, whether it is priced, its USD price, 30-day knock count, 30-day settlement count, and settlement gap. Also includes the timestamp of the check.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "route"
     ],
     "properties": {
      "route": {
       "type": "string",
       "maxLength": 80,
       "description": "one route path to check (e.g. /v1/gas); optional — a bare call checks the whole shop"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pay_to": "0x…",
  "routes": [
   {
    "route": "/v1/gas",
    "priced": true,
    "gap_30d": 35,
    "price_usd": "$0.01",
    "in_catalog": true,
    "knocks_30d": 40,
    "settlements_30d": 5
   }
  ],
  "status": "pass",
  "network": "eip155:8453",
  "wallet_ok": true,
  "checked_at": "2026-10-05T00:00:00Z",
  "usdc_asset": "0x…",
  "usdc_balance_usd": 12.34
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/plainsight-x402-payment-preflight-5f0b4952/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shop.netlobo.com](https://www.zero.xyz/host/shop.netlobo.com/llms.txt)
