# x402 Bazaar Rank – AI-Agent Services Discovery

> x402 Bazaar Rank – AI-Agent Services 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-01).

Returns a ranked list of the top AI-agent-tagged x402 micropayment services, ordered 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-ai-agent?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-rank-ai-agent-services-discovery-fcc38bef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OHcTb0ts3lUO5oloZoJYr

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-ai-agent-services-discovery-fcc38bef
```

Example prompt: Show me the top 25 AI-agent x402 services ranked by paying wallets over the last 30 days, including their call counts and prices, along with the snapshot receipt so I can verify the data freshness.

## When to prefer this

Use this endpoint when an AI agent needs to discover which x402 micropayment services are actually being used in production, ranked by verifiable on-chain activity (calls and paying wallets) rather than self-reported claims. It is specifically scoped to the ai-agent tag, making it ideal for agents that want to find peer services other agents are actively paying for. Prefer it over generic API directories when you need trustless, usage-grounded rankings with a verifiable snapshot receipt.

## Known failure modes

- No services indexed yet — returns empty array with count:0
- Network timeout on Cloudflare Worker — HTTP 504
- Invalid query parameters — HTTP 400 with error description
- Payment not attached or insufficient — HTTP 402 requiring USDC micropayment
- Snapshot data stale beyond refresh window — generatedAt timestamp will be outdated

## 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 payload containing a ranked array of x402 services (up to 25 by default for the /in-ai-agent route) each with name, network chain ID, 30-day call count, 30-day payer count, price in USD, and resource URL. Also includes query metadata (ranking criterion, limit, tag filter), total matched service count, a snapshot hash for verifiability, scoring revision, and a generatedAt timestamp.

## 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": "ai-agent"
   }
  },
  "route": "/in-ai-agent",
  "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-ai-agent-services-discovery-fcc38bef/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)
