# Canary x402 Settlement Test (Base & Solana)

> Canary x402 Settlement Test (Base & Solana) is a paid API for AI agents from scanpay-edge.alextaghiashvili.workers.dev, paid per call via x402, $0.0001/call, status unknown (last checked 2026-11-02).

Deterministic echo endpoint that proves end-to-end x402 wallet signing, facilitator settlement, and delivery receipts for Base and Solana wallets at minimum cost.

## Facts

- Endpoint: GET https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/canary?utm_source=zero.xyz
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/canary-x402-settlement-test-base-solana-c9a91b56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KrWI3aWr6WI43LCyGJI_d

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 canary-x402-settlement-test-base-solana-c9a91b56
```

Example prompt: Run a quick canary check on the x402 settlement pipeline for my Base wallet — echo back whatever I send so I can confirm the full signing, settlement, and delivery receipt cycle worked.

## When to prefer this

Choose this endpoint when you need the absolute cheapest ($0.0001 USDC) deterministic confirmation that your x402 payment stack — wallet signing, facilitator settlement, and delivery receipts — works end to end on Base or Solana. Ideal for integration smoke tests, CI/CD health checks, and simulating error paths (custom status codes and delays) without any upstream side effects.

## Known failure modes

- status= parameter set to 4xx/5xx triggers that HTTP status code for error path testing
- delay_ms up to 3000 causes intentional response delay, may cause client timeouts
- Input JSON exceeding 8192 bytes is rejected
- Invalid query parameter encoding may result in parse errors
- x402 payment failure (insufficient balance, signing error) will block the call before any echo

## How this service works

Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.

## Output

A JSON object containing: ok (boolean), ts (Unix timestamp), echo (your input params truncated to 2000 chars), note (description string), method (HTTP method used), product (scanpay.canary), and price_usd (0.0001). No upstream calls are made; the response is fully deterministic.

## 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",
     "description": "Any JSON object, at most 8192 encoded bytes",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "ts": 1793491200,
  "echo": {
   "ping": "canary"
  },
  "note": "Cheapest deterministic x402 settlement test endpoint: one call proves wallet signing, facilitator settlement and delivery receipts end to end.",
  "method": "POST",
  "product": "scanpay.canary",
  "price_usd": 0.0001
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/canary-x402-settlement-test-base-solana-c9a91b56/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scanpay-edge.alextaghiashvili.workers.dev](https://www.zero.xyz/host/scanpay-edge.alextaghiashvili.workers.dev/llms.txt)
