# Omnichain Pre-Trade Contract & Token Verifier

> Omnichain Pre-Trade Contract & Token Verifier is a paid API for AI agents from piggybank.loth2023ys.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-06).

Probes a list of URLs or BNB Chain ERC-8004 agent IDs to determine whether each exposes a payable x402 endpoint, returning price and payment terms

## Facts

- Endpoint: POST https://piggybank.loth2023ys.workers.dev/v1/payable?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-06
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omnichain-pre-trade-contract-token-verifier-2650c218
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p6N2_7KuW0FajFao7hQP_

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 omnichain-pre-trade-contract-token-verifier-2650c218 -d '<json body>'
```

Example prompt: Before I call any of these three API endpoints, check whether they actually accept x402 payments and tell me the price and where the payment terms live: https://api.bitrefill.com/checkout, https://www.ax1.vc/trade, and https://api.someagent.io/do.

## When to prefer this

Use this endpoint when you need to pre-screen a batch of URLs or BNB Chain agent IDs for x402 payment readiness before committing to calls or trades, especially in multi-chain or agent-to-agent payment workflows. It is the right choice when you need to discover price and payment term location without executing the actual payment. Prefer it over manual HTTP probing when dealing with mixed URL and agent-ID inputs across multiple chains.

## Known failure modes

- URL is unreachable or returns non-HTTP response — verdict may be indeterminate or skipped
- BNB Chain agent ID does not exist in the ERC-8004 registry — agent entry omitted from results
- Endpoint does not advertise x402 payment terms — verdict returned as NOT_PAYABLE
- More than 25 URLs or agent IDs submitted — request rejected due to maxItems constraint
- x402 payment for the call itself fails — 402 returned before probing begins
- Malformed URL in input array — that entry may be skipped or errored

## How this service works

7-chain pre-trade smart contract bytecode, SPL/Token-2022 authority & multi-DEX liquidity risk oracle across Base (8453), Solana, Ethereum (1), Arbitrum (42161), Optimism (10), Polygon (137), and BNB Smart Chain (56). Instant x402 v2 settlement in Base USDC or BSC USDC.

## Output

Returns a JSON object with the total number of endpoints checked, how many are payable, and a results array where each entry contains the URL, where the payment terms were found (e.g. in body or a specific header), a verdict of PAYABLE or NOT_PAYABLE, and the price in USD.

## Request schema (JSON Schema)

```json
{
 "input": {
  "type": "object",
  "required": [],
  "properties": {
   "urls": {
    "type": "array",
    "items": {
     "type": "string"
    },
    "maxItems": 25,
    "description": "Seller URLs to verify."
   },
   "agents": {
    "type": "array",
    "items": {
     "type": "integer"
    },
    "maxItems": 25,
    "description": "BNB Chain ERC-8004 agent ids to verify. Resolved from the registry, then their advertised endpoints are probed."
   }
  }
 },
 "output": {
  "type": "object"
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "checked": 2,
  "payable": 2,
  "results": [
   {
    "url": "https://api.bitrefill.com/...",
    "termsIn": "body.accepts",
    "verdict": "PAYABLE",
    "priceUsd": 0.002
   },
   {
    "url": "https://www.ax1.vc/...",
    "termsIn": "header:payment-required",
    "verdict": "PAYABLE",
    "priceUsd": 0.02
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omnichain-pre-trade-contract-token-verifier-2650c218/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from piggybank.loth2023ys.workers.dev](https://www.zero.xyz/host/piggybank.loth2023ys.workers.dev/llms.txt)
