# x402 Bazaar Rank – /in-tvl

> x402 Bazaar Rank – /in-tvl is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.032/call, status unknown (last checked 2026-10-23).

Returns the top x402 services tagged 'tvl', ranked by real 30-day paying-wallet activity, with a verifiable snapshot receipt.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-tvl?utm_source=zero.xyz
- Price: $0.032/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-rank-in-tvl-cb695f7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S-rYa0RUsxtP7z802lmYa

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 x402-bazaar-rank-in-tvl-cb695f7d
```

Example prompt: Pull the top x402 services tagged 'tvl' ranked by unique paying wallets over the last 30 days, and show me the snapshot hash so I can verify the data freshness.

## When to prefer this

Choose this endpoint when you specifically want to discover and rank x402 protocol services in the 'tvl' (total value locked) category by real on-chain usage signals (paying wallets, 30-day calls). Prefer it over generic API directories when you need verifiable, usage-weighted rankings with a cryptographic snapshot receipt. It is not suitable for discovering non-x402 APIs, for categories other than tvl, or for historical trend data beyond the 30-day window.

## Known failure modes

- No services indexed under the 'tvl' tag — returns empty services array with count 0
- Payment not received or invalid x402 payment header — returns 402 Payment Required
- Snapshot index temporarily unavailable — may return 503 or stale data
- Malformed request parameters — returns 400 Bad Request
- Rate limiting on the Cloudflare Worker — returns 429 Too Many Requests

## 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 25 x402 services tagged 'tvl', each with name, network, 30-day call count, price in USD, resource URL, and unique paying wallets. Also includes total matched service count, the query parameters used, the route, a snapshot hash for auditability, the scoring revision, and a generatedAt 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": "tvl"
   }
  },
  "route": "/in-tvl",
  "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/x402-bazaar-rank-in-tvl-cb695f7d/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)
