# P0 Agent Economy Index — Payment Verification

> P0 Agent Economy Index — Payment Verification is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Verifies whether a specific on-chain token transfer (USDC, USDT, WETH, etc.) meets expected payment criteria by checking transaction hash, recipient, asset, amount, and confirmation status

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/pay/check?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-payment-verification-86077d8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_onVch5fSu7VJV8t0bSVmr

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 p0-agent-economy-index-payment-verification-86077d8d
```

Example prompt: Can you verify that the on-chain USDC payment with transaction hash 0xa0dbae3236a486c4f7285206f416694bba403f95969dfa3d94a28e8f2538d9fd went to 0x17192bd2e8893e4ea0ab5db67adbf38ae42e9931 on Base for at least 0.01 USDC?

## When to prefer this

Use this endpoint when you need to programmatically confirm that a specific on-chain token transfer (EVM chains: Base, Ethereum, Arbitrum, Polygon) met payment conditions — correct recipient, sufficient amount, right asset — before releasing a service, content, or agent action. It is purpose-built for x402 and machine-to-machine payment flows where an agent needs a lightweight, low-cost ($0.003) cryptographic receipt confirming payment. Prefer this over a full blockchain node query when you don't want to run your own RPC infrastructure but need fast, structured payment verification with confirmation guidance.

## Known failure modes

- Transaction not found on specified chain — verified=false with reason explaining lookup failure
- Amount paid is less than expected — verified=false with both paid and expected amounts returned
- Wrong recipient address — verified=false with mismatch details
- Transaction still pending / insufficient confirmations — verified=false or verified=true but confirmations < suggestedConfirmations
- Unsupported asset or chain — error or unverified response
- Native coin transferred via internal contract call not detected — noted in response caveat
- Invalid transaction hash format — request validation error

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.

## Output

Returns a JSON object with a boolean `verified` field, a human-readable `reason` (e.g. 'paid'), the raw and formatted amounts paid vs. expected, chain, asset contract address, block time, confirmation count, suggested confirmation threshold, an explorer URL, finalization status, and a note about data observation caveats. Allows the caller to decide whether to treat a payment as final.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "tx",
      "to",
      "amount",
      "asset"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "expected recipient address"
      },
      "tx": {
       "type": "string",
       "description": "transaction hash (0x + 64 hex for EVM)"
      },
      "asset": {
       "type": "string",
       "description": "USDC, USDT, DAI, WETH, WBTC, cbBTC, ETH, POL or a listed token address"
      },
      "chain": {
       "type": "string",
       "description": "ethereum, base, arbitrum or polygon (optional for EVM)"
      },
      "amount": {
       "type": "string",
       "pattern": "^[0-9]{1,30}(\\.[0-9]{1,36})?$",
       "description": "minimum amount in asset units, e.g. 0.01"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "verified",
      "reason",
      "tx",
      "to",
      "asset",
      "expected",
      "status",
      "checkedAt",
      "note"
     ],
     "properties": {
      "to": {
       "type": "string"
      },
      "tx": {
       "type": "string"
      },
      "from": {
       "type": [
        "string",
        "null"
       ]
      },
      "note": {
       "type": "string"
      },
      "paid": {
       "type": [
        "object",
        "null"
       ],
       "properties": {
        "raw": {
         "type": "string"
        },
        "amount": {
         "type": [
          "string",
          "null"
         ]
        }
       }
      },
      "asset": {
       "type": "string"
      },
      "chain": {
       "type": [
        "string",
        "null"
       ]
      },
      "reason": {
       "type": "string"
      },
      "source": {
       "type": [
        "string",
        "null"
       ]
      },
      "status": {
       "type": "string"
      },
      "expected": {
       "type": "object",
       "required": [
        "raw",
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0x17192bd2e8893e4ea0ab5db67adbf38ae42e9931",
  "tx": "0xa0dbae3236a486c4f7285206f416694bba403f95969dfa3d94a28e8f2538d9fd",
  "from": "0x4cad6ec90e65babec9335cad728ddc610c316368",
  "note": "Observation of public chain data at checkedAt, not a settlement guarantee, escrow or identity proof. Native coin moved by a contract's internal call is not seen (only a direct transfer to 'to'). Compare confirmations with suggestedConfirmations before treating a payment as final.",
  "paid": {
   "raw": "13631",
   "amount": "0.013631"
  },
  "asset": "USDC",
  "chain": "base",
  "reason": "paid",
  "source": "mainnet.base.org",
  "status": "success",
  "expected": {
   "raw": "11940",
   "amount": "0.01194"
  },
  "explorer": "https://basescan.org/tx/0xa0dbae3236a486c4f7285206f416694bba403f95969dfa3d94a28e8f2538d9fd",
  "verified": true,
  "blockTime": "2026-10-05T12:54:09.000Z",
  "checkedAt": "2026-10-05T12:55:02.892Z",
  "finalized": null,
  "blockNumber": 52207751,
  "assetContract": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "confirmations": 27,
  "suggestedConfirmations": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/p0-agent-economy-index-payment-verification-86077d8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
