# 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.01/call, status unknown (last checked 2026-09-18).

Searches and ranks live x402 API services by real 30-day call volume and paying-wallet counts, returning a scored, receipted snapshot of the market.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-rank-f2ca5440
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MPTQG9JdYR-krufemqFD6

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-f2ca5440
```

Example prompt: Search the x402 Bazaar for the top 10 weather-related API services ranked by real usage — I want to see which ones have the most paying wallets over the last 30 days.

## When to prefer this

Choose this endpoint when you need to discover, evaluate, or compare live x402-protocol API services by actual market activity rather than self-reported metadata. It is uniquely suited for agents that need to route to the best available x402 service for a given capability, audit market competition in a niche, or identify which APIs have genuine paying users rather than just listings.

## Known failure modes

- Missing required 'q' query parameter returns a validation error
- Network filter with unsupported chain ID may return empty results
- Limit exceeding 50 is rejected with a schema validation error
- Service may return stale data if the snapshot has not refreshed recently
- HTTP methods other than GET or HEAD are rejected

## 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 array of ranked service entries, each including the service name, 30-day call count, price in USD, resource URL, and number of unique paying wallets in the last 30 days. The response also includes a receipt identifying the snapshot hash and scoring revision used to generate the ranking.

## 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": {
      "q": {
       "type": "string",
       "description": "capability to search for"
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1
      },
      "network": {
       "type": "string",
       "description": "chain filter, e.g. eip155:8453"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "relevance",
  "query": "weather",
  "results": [
   {
    "name": "forecast api",
    "tags": [
     "weather"
    ],
    "score": 8.4,
    "network": "eip155:8453",
    "calls30d": 310,
    "priceUsd": 0.01,
    "resource": "https://api.example.com/forecast",
    "payers30d": 42,
    "description": "hourly forecast by city"
   }
  ]
 }
}
```

## More

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