# x402 Bazaar Rank – Onchain Services

> x402 Bazaar Rank – Onchain Services 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-20).

Returns a ranked list of onchain-tagged x402 services sorted by real 30-day call volume and paying-wallet counts, with a verifiable snapshot receipt.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-onchain?utm_source=zero.xyz
- Price: $0.032/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-onchain-services-4715fd42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WxZpzMwNNXu5LyziVGbBW

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-onchain-services-4715fd42
```

Example prompt: Show me the top 25 onchain-tagged x402 services ranked by number of paying wallets over the last 30 days, with their call volumes and prices.

## When to prefer this

Use this endpoint when you need an objective, usage-signal-backed ranking of x402 onchain services — specifically when you want to filter by the 'onchain' tag and rank by real payer or call activity rather than self-reported metadata. Prefer this over generic API directories when you need verifiable 30-day activity data with a cryptographic snapshot receipt for auditability. Best suited for agents doing marketplace research, integration vetting, or ecosystem monitoring in the x402 micropayment space.

## Known failure modes

- No onchain-tagged services indexed yet — returns empty list with count:0
- Snapshot unavailable or stale — may return outdated ranking data
- Payment of $0.008 USDC not completed — request rejected with 402
- Worker timeout or cold-start latency on Cloudflare edge — transient 5xx error
- Malformed query parameters — may return 400 or default fallback behavior

## How this service works

Use when an agent needs the top x402 services tagged 'onchain'. Returns Highest-demand x402 services tagged 'onchain': ranked by 30-day unique paying wallets, with calls, price, network and calls-per-payer for each. 165 providers and 235 paying wallets measured in this tag.

## Output

A JSON object containing a ranked array of up to 25 onchain-tagged x402 services, each with name, network (e.g. eip155:8453), 30-day call count, 30-day unique payer count, price in USD, and resource URL. Also includes query metadata (route, matched total, ranking operator), a snapshot hash for auditability, and a generatedAt timestamp indicating when the ranking was computed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "generatedAt",
  "route",
  "declaredBy",
  "query",
  "matched",
  "count",
  "services"
 ],
 "properties": {
  "count": {
   "type": "number"
  },
  "query": {
   "type": "object",
   "properties": {
    "by": {
     "type": "string"
    },
    "op": {
     "type": "string"
    },
    "limit": {
     "type": "number"
    },
    "where": {
     "type": "object",
     "properties": {
      "tag": {
       "type": "string"
      }
     }
    }
   }
  },
  "route": {
   "type": "string"
  },
  "matched": {
   "type": "number"
  },
  "services": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "network": {
      "type": "string"
     },
     "calls30d": {
      "type": "number"
     },
     "priceUsd": {
      "type": "number"
     },
     "resource": {
      "type": "string"
     },
     "payers30d": {
      "type": "number"
     }
    }
   }
  },
  "declaredBy": {
   "type": "string"
  },
  "generatedAt": {
   "type": "string"
  }
 }
}
```

## More

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