# P0 Agent Economy Index – ML Sector Discovery

> P0 Agent Economy Index – ML Sector Discovery 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-10-22).

Returns the top x402 services tagged 'sector-ml' ranked by 30-day unique paying wallets, including call counts, price, and payer stats

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-sector-ml?utm_source=zero.xyz
- Price: $0.008/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-ml-sector-discovery-9a1c069c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ib1Jz1UfUEUsLPmN8cQjU

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-ml-sector-discovery-9a1c069c
```

Example prompt: Show me the top ML services in the x402 agent economy right now — I want to see which ones have the most unique paying wallets in the last 30 days, with their call counts and prices.

## When to prefer this

Choose this endpoint when you need live, usage-validated discovery of ML-category x402 services ranked by real economic activity (paying wallets and call volume) rather than self-reported listings. It is the right choice over generic API directories or agent registries when you specifically want ML services that agents are actually paying for on Base/EVM networks, with 30-day recency and snapshot provenance. Not suitable for L402 services, per-service MPP listings, or non-x402 ML APIs.

## Known failure modes

- No services indexed for sector-ml tag returns empty services array with matched:0
- Stale snapshot if index hasn't refreshed recently — check generatedAt timestamp
- HTTP 402 if payment header is not provided or USDC balance is insufficient
- Malformed response if Cloudflare Worker is cold-starting or under maintenance
- Score revision mismatch if comparing across snapshots with different scoring revisions

## 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 the query metadata (ranking criterion, limit, tag filter), the total count of matched services in the sector, and an array of up to 25 top services each with name, network chain ID, 30-day call count, USD price, resource URL, and 30-day unique payer count. Also includes a 'declaredBy' field and a 'generatedAt' ISO timestamp for snapshot provenance.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 25,
  "query": {
   "by": "payers",
   "op": "top",
   "limit": 25,
   "where": {
    "tag": "sector-ml"
   }
  },
  "route": "/in-sector-ml",
  "matched": 359,
  "services": [
   {
    "name": "forecast api",
    "network": "eip155:8453",
    "calls30d": 310,
    "priceUsd": 0.01,
    "resource": "https://api.example.com/forecast",
    "payers30d": 42
   }
  ],
  "declaredBy": "agent",
  "generatedAt": "2026-09-17T12:00:00.000Z"
 }
}
```

## More

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