# P0 Agent Economy Index – Protocol Stats

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

Returns published metrics (agent/server counts, transactions, payment events, payers, USD volume) for major agent economy protocols including x402, Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004, Solana agent registries, Base agent contracts, and the official MCP registry.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/economy/protocols?utm_source=zero.xyz
- Price: $0.002/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-protocol-stats-abd173d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rJNIZHTe2unBEUUZhpQbr

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-protocol-stats-abd173d9
```

Example prompt: Give me the latest published stats for all major agent economy protocols — things like agent counts, payment events, unique payers, and USD volume — across x402, Tempo MPP, Virtuals ACP, Olas, Masumi, and the MCP registry.

## When to prefer this

Use this endpoint when you need a single, normalized snapshot of published metrics across multiple agent economy protocols (x402, Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004, Solana, Base, MCP) with source attribution and unit clarity. Prefer this over scraping individual protocol dashboards when you need cross-protocol comparison with receipted snapshot hashes. Not suitable for real-time streaming data, per-service L402 listings, or individual agent identity lookups.

## Known failure modes

- Upstream source (agenteconomy.to, Official MCP Registry, on-chain scanners) unavailable — stale:true flag set in response
- Invalid protocol query param value — may return empty protocols array or error
- Snapshot data older than expected — age_days field indicates staleness
- Network timeout connecting to Cloudflare Worker

## 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 array of protocol entries, each with rows of metrics (agent/server counts, transaction counts, payment events, unique payers, USD volume where available), each row annotated with its unit, time window, source URL, and staleness flag. Also includes a list of not-covered protocols (e.g. L402), a compare note warning that units differ across protocols so totals cannot be summed, a snapshot version number, generation timestamp, and source attribution details.

## 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": [],
     "properties": {
      "protocol": {
       "type": "string",
       "description": "optional: x402, tempo-mpp, virtuals-acp, olas, masumi, erc-8004, solana-agent-registries, base-agentic or mcp; omitted = all"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "v",
      "generated_at",
      "protocol",
      "protocols",
      "not_covered",
      "compare_note",
      "sources",
      "dune_queries",
      "gaps",
      "stale",
      "snapshot_age_s",
      "source",
      "source_url",
      "note"
     ],
     "properties": {
      "v": {
       "type": "number"
      },
      "gaps": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "note": {
       "type": "string"
      },
      "stale": {
       "type": "boolean"
      },
      "source": {
       "type": "string"
      },
      "sources": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string"
         },
         "name": {
          "type": "string"
         },
         "urls": {
          "type": "array",
          "items": {
           "type": "string"
          }
         },
         "terms_url": {
          "type": "string"
         },
         "attribution": {
          "type": "string"
         },
         "terms_quote": {
          "type": "string"
         },
         "terms_checked": {
          "type": "string"
         }
        }
       }
      },
      "protocol": {
       "type": "string"
      },
      "protocols": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string"
         },
         "kind": {
          "type": "string"
         },
         "name": {
          "type": "string"
         },
         "rows": {
         
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "v": 1,
  "gaps": [
   "example: a source section that was missing in this run"
  ],
  "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. null = not published by the source (never estimated). Each row carries its unit, window and source.",
  "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"
   }
  ],
  "protocol": "tempo-mpp",
  "protocols": [
   {
    "id": "tempo-mpp",
    "kind": "payments",
    "name": "Machine Payments Protocol on Tempo",
    "rows": [
     {
      "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)"
     }
    ],
    "as_of": "2026-10-04T00:00:00Z",
    "rails": [
     "tempo"
    ],
    "stale": false,
    "age_days": 2
   }
  ],
  "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": "Ex
… (truncated)
```

## More

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