# P0 Agent Economy Index — AI/ML Tag Leaderboard

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

Returns the top 25 x402-paywall resources tagged 'ai-ml', ranked by on-chain settlement data including price, network, settled transfer counts, and unique paying wallets per seller.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-ai-ml?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-ai-ml-tag-leaderboard-ccf874d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FB4kSs7ZXfH-9_7TksWUa

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-ai-ml-tag-leaderboard-ccf874d9
```

Example prompt: Show me the top 25 AI/ML resources on the x402 bazaar — I want to see which ones have the most on-chain settlements and how many unique wallets are paying each seller.

## When to prefer this

Use this endpoint when you need a curated, on-chain-verified leaderboard of AI/ML services available via x402 micropayments — especially when you want real settlement data (not just listings) to identify which services agents are actually paying for. Prefer it over generic API directories when you specifically need x402-compatible, USDC-payable AI resources with wallet-level demand signals.

## Known failure modes

- No resources found if the ai-ml tag has fewer than 1 matching seller
- Stale data if P0 agent has not re-probed recently (probedAt may be old)
- calls30d and payers30d may be null/missing if on-chain measurement has not been performed for a given seller
- Payment failure if USDC balance or x402 facilitator is unavailable
- 503/timeout if Cloudflare Worker is cold or overloaded

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over a verified x402 seller set (sellers whose 402 P0 read itself plus registry-verified entries), scored by relevance and evidence of a live 402 challenge, with a receipt naming the snapshot hash and scoring revision; demand figures are P0's own on-chain counts of transfers to the sellers' wallets. /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 listings are not covered.

## Output

A JSON array of up to 25 ranked AI/ML x402 resources, each with: resource URL, seller wallet address(es), price in USD, supported network(s), on-chain settled call count (calls30d), unique paying wallet count (payers30d), calls-per-payer ratio, and a probe timestamp. Also includes metadata: tag used, total matched count, generation timestamp, and a demand availability note.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tag": "ai-ml",
  "count": 1,
  "query": {
   "by": "evidence",
   "op": "top",
   "limit": 25,
   "where": {
    "tag": "ai-ml"
   }
  },
  "route": "/in-ai-ml",
  "demand": {
   "note": "demand figures (calls and paying wallets over 30 days) return after our on-chain measurement is live",
   "available": false
  },
  "matched": 30,
  "services": [
   {
    "name": "forecast api",
    "payTo": [
     "0x0000000000000000000000000000000000000001"
    ],
    "network": "eip155:8453",
    "calls30d": null,
    "evidence": "p0_402_probe",
    "networks": [
     "eip155:8453"
    ],
    "priceUsd": 0.01,
    "probedAt": "2026-10-26T12:00:00Z",
    "resource": "https://api.example.com/forecast",
    "payers30d": null,
    "callsPerPayer": null
   }
  ],
  "declaredBy": "p0-clean-tags",
  "generatedAt": "2026-10-26T12:00:00.000Z"
 }
}
```

## More

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