# x402 Bazaar Rank – /in-comparison

> x402 Bazaar Rank – /in-comparison 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-02).

Returns ranked x402 services tagged 'comparison', scored by real 30-day call volume and unique paying-wallet counts, with a snapshot hash and scoring revision receipt.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-comparison?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-rank-in-comparison-ad36f13f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Evr2Tlh4-08zxhaNxMZHx

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-comparison-ad36f13f
```

Example prompt: Show me the top 25 x402 services in the comparison category, ranked by unique paying wallets over the last 30 days — include each service's call count, price, and the snapshot receipt.

## When to prefer this

Choose this endpoint when you specifically need ranked discovery of x402 services in the 'comparison' category and want real usage signals (30-day call counts and unique paying wallets) rather than self-reported metadata. Prefer it over generic API directories when you need on-chain payment provenance and a verifiable snapshot hash for audit trails. It is the right choice when filtering the x402 market by actual economic activity rather than declared capabilities alone.

## Known failure modes

- No services indexed under the 'comparison' tag — returns empty services array with matched:0
- Snapshot data stale if indexer has not crawled recently — generatedAt timestamp may lag
- Payment of $0.008 USDC required per call; missing or invalid x402 payment header returns 402 Payment Required
- Cloudflare Worker cold-start latency on first request after idle period
- Invalid or malformed query parameters may return an error or unexpected empty result

## How this service works

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.

## Output

A JSON object containing a ranked list of up to 25 x402 services tagged 'comparison', each with service name, network identifier (EIP-155 chain), 30-day call count, USD price, resource URL, and 30-day unique paying wallet count. Also includes total matched service count, the query parameters used, the route, who declared the data, and a generatedAt timestamp serving as a snapshot receipt with scoring revision 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": "comparison"
   }
  },
  "route": "/in-comparison",
  "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-comparison-ad36f13f/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)
