# P0 Agent Economy Index – x402 Test Target

> P0 Agent Economy Index – x402 Test Target is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).

A real paid test endpoint that echoes your HTTP request and returns a settlement receipt confirming how the x402 micropayment was processed

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/x402/test?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-x402-test-target-34d5eb05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CXZPKk6E0kja_Iryv_JAp

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-x402-test-target-34d5eb05
```

Example prompt: Make a real paid x402 test call — use GET with the message 'hello' — and show me the settlement receipt including which rail, facilitator, and payer address were used.

## When to prefer this

Use this endpoint when you need to verify that an x402 micropayment client, wallet, or agent payment pipeline is correctly configured and can settle a real $0.001 USDC transaction on Base. It is the canonical smoke-test for x402 integrations. Prefer it over mocked or simulated tests because it produces a real on-chain settlement receipt with facilitator, payer, and transaction hash. Not suitable for fetching agent economy index data, service rankings, or protocol statistics — those are on the /economy and /x402/rank routes.

## Known failure modes

- Payment not settled — if the x402 payment header is missing or malformed, the server returns 402 Payment Required
- Invalid rail — if the client proposes a payment rail not accepted by this endpoint, the request is rejected
- Body too large or malformed — query params over 500 chars may be truncated (query_truncated: true)
- Network mismatch — payment on wrong network (non-Base) will fail settlement
- Dry-run misuse — dry=1 returns accepted rails list only; expecting a receipt in dry-run mode will yield none

## 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

A JSON object containing: an echo of your request (method, path, query params, body hash), a test_receipt object with payment rail, settlement status, payer wallet address, transaction hash, network CAIP identifier, facilitator name, USDC amount in base units and USD, and settled_at timestamp. Also includes service version, server time, and a note explaining the endpoint's purpose. Body content is hashed but never stored or returned.

## 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",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "dry": {
       "type": "boolean",
       "description": "dry=1: free list of every accepted rail, nothing charged"
      },
      "msg": {
       "type": "string",
       "maxLength": 500,
       "description": "Any text; echoed back in echo.query. Any other query parameter or a POST body (hashed) works too"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "schema_version",
      "version",
      "server_time",
      "echo",
      "test_receipt",
      "note"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "echo": {
       "type": "object",
       "required": [
        "method",
        "path",
        "query",
        "body"
       ],
       "properties": {
        "body": {
         "type": "object",
         "properties": {
          "bytes": {
           "type": "integer"
          },
          "sha256": {
           "type": "string"
          },
          "content_type": {
           "type": [
            "string",
            "null"
           ]
          }
         }
        },
        "path": {
         "type": "string"
        },
        "query": {
         "type": "object"
        },
        "method": {
         "type": "string"
        },
        "query_truncated": {
         "type": "boolean"
        }
       }
      },
      "note": {
       "type": "string"
      },
      "service": {
       "type": "string"
      },
      "version": {
       "type": "string"
      },
      "server_time": {
       "type": "string"
      },
      "test_receipt": {
       "type": "object",
       "required": [
        "kind",
        "paid",
        "rail"
       ],
       "properties": {
        "tx": {
         "type": [
          "string",
          "null"
         ]
        },
        "kind": {
         "type": "string
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "echo": {
   "body": {
    "bytes": 0,
    "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "content_type": null
   },
   "path": "/x402/test",
   "query": {
    "msg": "hello"
   },
   "method": "GET",
   "query_truncated": false
  },
  "note": "Test target for x402 and MPP clients: a real paid call that echoes your request and reports how it was settled. Nothing is stored; your body is hashed, never kept or returned.",
  "service": "P0 x402 Test Target",
  "version": "2026-10-21.1",
  "server_time": "2026-10-21T12:00:00.000Z",
  "test_receipt": {
   "tx": "0x1111111111111111111111111111111111111111111111111111111111111111",
   "kind": "x402-test-receipt",
   "paid": true,
   "rail": "x402",
   "asset": "USDC",
   "payer": "0x7e571e959cc7c75ccdd2eac24f8775ea2eaa2f09",
   "network": "base",
   "decimals": 6,
   "amount_usd": 0.001,
   "settled_at": "2026-10-21T12:00:00.000Z",
   "facilitator": "cdp",
   "network_caip": "eip155:8453",
   "amount_base_units": "1000"
  },
  "schema_version": "1",
  "server_unix_ms": 1792584000000,
  "worker_version": "0.2.0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/p0-agent-economy-index-x402-test-target-34d5eb05/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)
