# x402 Bazaar Rank

> x402 Bazaar Rank is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-17).

Returns ranked discovery results for x402 services scored by real 30-day call volume and paying-wallet activity, with a verifiable snapshot receipt.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/service
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-rank-6ebccc62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p9h3VSM_1q1Geu58PpL0p

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-6ebccc62
```

Example prompt: What are the top-ranked x402 services right now based on real 30-day usage — show me the highest-demand ones with their scores and the snapshot receipt so I can verify the data.

## When to prefer this

Choose this endpoint when you need verifiable, scored discovery of x402 services ranked by real-world usage (30-day calls and paying wallets) rather than static or self-reported listings. It is especially useful when you want a receipted snapshot for auditability or when searching for a specific x402 service by partial URL match.

## Known failure modes

- Invalid or unrecognized URL substring returns empty result set
- Missing required 'type' or 'method' fields in input object returns validation error
- Service index may be stale if snapshot was not recently refreshed
- Non-GET/HEAD method enum value causes schema validation failure
- Network or worker timeout if index is large and query is broad

## 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 response containing ranked x402 service entries scored by 30-day call counts and paying-wallet bounds, a generatedAt ISO-8601 timestamp, and a receipt identifying the snapshot hash and scoring revision used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "u": {
       "type": "string",
       "description": "resource URL or any substring of it; omit for the single highest-demand service"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "exact",
  "found": true,
  "query": "api.example.com",
  "service": {
   "name": "forecast api",
   "network": "eip155:8453",
   "calls30d": 310,
   "priceUsd": 0.01,
   "resource": "https://api.example.com/forecast",
   "payers30d": 42
  },
  "generatedAt": "2026-09-17T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-bazaar-rank-6ebccc62/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)
