# P0 Agent Economy Index – /economy

> P0 Agent Economy Index – /economy 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-20).

Returns a multi-protocol snapshot of the machine-to-machine agent economy, covering agent/server counts, transaction volumes, and payer metrics across x402, Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004, Solana, Base, and MCP registries.

## Facts

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

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-economy-b5ee9156
```

Example prompt: Give me the current P0 Agent Economy Index snapshot — I want to see agent counts, payer numbers, and payment volumes across all indexed protocols like x402, Tempo MPP, Virtuals ACP, Olas, and the MCP Registry, along with any staleness flags and the source hash.

## When to prefer this

Choose this endpoint when you need a unified, scored, multi-protocol snapshot of the agent economy — especially when you want to compare activity across x402, Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004, Solana agent registries, Base agent contracts, and the Official MCP Registry in a single call. It is the right choice when you need sourced, attributed, per-protocol metrics with explicit units and staleness signals. It does not cover L402 or per-service MPP listings.

## Known failure modes

- Stale data: stale flag set to true if upstream sources (agenteconomy.to, MCP Registry, on-chain scans) have not refreshed within expected windows
- Missing volume fields: USD volume or payer counts returned as null for protocols that don't publish them
- Partial protocol coverage: some protocols absent if their registry APIs are unreachable
- Payment failure: x402 USDC payment of $0.003 rejected if wallet has insufficient funds
- HTTP 402: payment required header returned if no valid payment is attached to the request

## 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 (schema version v1) containing: a staleness flag, source attribution with URLs and terms, an array of protocol rows (each with id, name, rails, headline metrics, units, time windows, and source URLs), a list of protocols not covered (e.g. L402), Dune query references, and a compare note warning that cross-protocol totals are not summed due to differing units. Metrics per protocol may include agent/server counts, transaction or payment events, unique payers, and USD volume — only where the source publishes them.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "v": 1,
  "note": "Format sample: the protocol row and search coverage are our real computation of 2026-10-06; search cards, the Dune query and the gap are illustrative placeholders. Headline row per protocol; GET /economy/protocols?protocol=<id> for every row (per chain and window).",
  "stale": false,
  "source": "P0 agent-economy index: agenteconomy.to (public on-chain data, free to reuse with attribution), the Official MCP Registry (CC0) and P0's own x402 Bazaar catalog and on-chain scans",
  "sources": [
   {
    "id": "agenteconomy",
    "name": "agent economy (agenteconomy.to)",
    "urls": [
     "https://agenteconomy.to/data.json"
    ],
    "terms_url": "https://agenteconomy.to/about",
    "attribution": "Data: agenteconomy.to by @realdora_eth",
    "terms_quote": "Take it, cite it, build on it.",
    "terms_checked": "2026-10-06"
   }
  ],
  "protocols": [
   {
    "id": "tempo-mpp",
    "kind": "payments",
    "name": "Machine Payments Protocol on Tempo",
    "rows": 1,
    "as_of": "2026-10-04T00:00:00Z",
    "rails": [
     "tempo"
    ],
    "stale": false,
    "age_days": 2,
    "headline": {
     "note": "Settled events all time: 384. USD volume is not published.",
     "rail": "tempo",
     "as_of": "2026-10-04T00:00:00Z",
     "metric": "channel_events_all_time",
     "payers": 1857,
     "source": "agenteconomy",
     "window": {
      "to": "2026-10-04T00:00:00Z",
      "from": null,
      "label": "all-time"
     },
     "headline": true,
     "payments": 46079,
     "protocol": "tempo-mpp",
     "services": 90,
     "fetched_at": "2026-10-06T00:00:00Z",
     "source_url": "https://agenteconomy.to/data.json",
     "volume_usd": null,
     "payers_unit": "unique payers",
     "volume_unit": null,
     "payments_unit": "MPP payment-channel events (open, top-up, settle, close, expire)",
     "services_unit": "unique payees (sellers)"
    }
   }
  ],
  "source_url": "https://agenteconomy.to/data.json",
  "not_covered": [
   {
    "id": "l402",
    "why": "no public L402 directory with terms that allow reuse was found",
    "name": "L402 (Lightning HTTP 402)"
   }
  ],
  "compare_note": "Units differ across protocols (x402 settlements, ACP memos, MPP channel events, Olas transactions, registry identities), so cross-protocol totals are not summed.",
  "dune_queries": [
   {
    "name": "Example public Dune query",
    "author": "example_author",
    "query_id": 1
   }
  ],
  "generated_at": "2026-10-06T00:
… (truncated)
```

## More

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