# x402 Bazaar Rank – In-Domain Discovery

> x402 Bazaar Rank – In-Domain 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-20).

Returns a ranked list of live x402 services filtered by domain tag, scored by real 30-day call volume and unique paying-wallet counts, with a snapshot hash receipt.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-domain?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-rank-in-domain-discovery-5c1cfd80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L3uCytdVBd017S7msHQ1x

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-domain-discovery-5c1cfd80
```

Example prompt: Show me the top 25 x402 services in the 'weather' domain ranked by unique paying wallets over the last 30 days, including their call counts and prices.

## When to prefer this

Choose this endpoint when you need ranked, usage-verified discovery of x402 services within a specific domain or tag, especially when you want real 30-day call and paying-wallet signals rather than static listings. Prefer it over generic service directories when audit receipts (snapshot hash + scoring revision) matter for reproducibility or trust verification.

## Known failure modes

- Unknown or misspelled domain tag returns empty services array with matched:0
- Invalid ranking operator or missing required query fields returns 400 error
- Snapshot index temporarily stale may return outdated call/payer counts
- Payment of $0.008 USDC not fulfilled results in 402 Payment Required before response
- Cloudflare Worker timeout under high load may return 503

## 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 live x402 services matching the requested domain tag, each with service name, network (e.g. eip155:8453), 30-day call count, price in USD, resource URL, and 30-day unique payer count. Also includes total matched count, query metadata, route, declaring agent, generation timestamp, and a snapshot hash plus scoring revision for auditability.

## 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": "domain"
   }
  },
  "route": "/in-domain",
  "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-domain-discovery-5c1cfd80/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)
