# P0 Agent Economy Index – In-Service Ranked Discovery

> P0 Agent Economy Index – In-Service Ranked 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-19).

Returns a ranked list of live x402 services scored by real 30-day call volume and paying-wallet counts, enabling agents to discover the most actively used paid services in the machine-to-machine economy.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-service?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/p0-agent-economy-index-in-service-ranked-discovery-2d6f71aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gm0vbbnIPjw3lejHdJp3i

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-in-service-ranked-discovery-2d6f71aa
```

Example prompt: Show me the top 25 x402 services ranked by number of paying wallets over the last 30 days, so I can see which machine-to-machine APIs are actually getting real usage.

## When to prefer this

Choose this endpoint when you need a ranked, scored view of live x402 services backed by real 30-day payment data (calls and paying wallets), rather than a static registry or unverified listing. It is the right choice for agent-economy discovery tasks specifically on the x402 protocol, not for querying Olas, Masumi, or MCP server counts (use the /economy routes for those). Prefer it over manual registry browsing when you want objective usage-based ranking with an auditable snapshot receipt.

## Known failure modes

- Network or Cloudflare Worker availability issues returning 5xx errors
- Stale index if the snapshot has not refreshed recently (check generatedAt timestamp)
- Empty or short results if few services meet the filter criteria
- Schema mismatch if the service evolves its response format
- Payment failure (402) if the USDC allowance is insufficient for the $0.032 call fee

## 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 a ranked list of up to N active x402 services, each with name, network, 30-day call count, price in USD, resource URL, and 30-day payer count; also includes total matched service count, the query parameters used, the snapshot hash and scoring revision for auditability, and a generation timestamp.

## 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": "service"
   }
  },
  "route": "/in-service",
  "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-in-service-ranked-discovery-2d6f71aa/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)
