# x402scan Merchant Leaderboard

> x402scan Merchant Leaderboard is a paid API for AI agents from x402scan-git-router-117-merit-systems.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns a paginated, sorted list of top merchants by payment volume, transaction count, or unique buyers on x402-enabled chains

## Facts

- Endpoint: GET https://x402scan-git-router-117-merit-systems.vercel.app/api/x402/merchants
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402scan-merchant-leaderboard-65241bfe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fcBpoc6cA6L3Hu2lB3kiR

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 x402scan-merchant-leaderboard-65241bfe
```

Example prompt: Show me the top 10 x402 merchants on Base ranked by volume over the last 7 days — start from page 0.

## When to prefer this

Use this endpoint when you need a ranked directory of x402 payment recipients — especially to discover high-volume or highly-active merchants in the x402 ecosystem on Base or Solana. Prefer it over individual merchant stat endpoints when you need comparative or leaderboard-style views across multiple merchants rather than drilling into a single merchant.

## Known failure modes

- Invalid page or page_size values outside allowed range returns 400 error
- Unsupported chain or sort_by enum value returns 400 validation error
- No merchants found for the given filter combination returns empty list
- Service unavailable or Vercel deployment error returns 500
- Rate limiting or payment failure (x402 $0.01 USDC not settled) returns 402

## How this service works

Paginated list of merchants (top recipients by volume)

## Output

A paginated list of merchant records ranked by the chosen metric (volume, tx_count, or unique_buyers), filtered optionally by chain and timeframe, with fields indicating each merchant's address, total payment volume, transaction count, unique buyers, and chain.

## 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",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "page",
      "page_size",
      "sort_by"
     ],
     "properties": {
      "page": {
       "type": "integer",
       "default": 0,
       "maximum": 9007199254740991,
       "minimum": 0,
       "description": "Page index (0-based)"
      },
      "chain": {
       "enum": [
        "base",
        "solana"
       ],
       "type": "string",
       "description": "Filter by chain"
      },
      "sort_by": {
       "enum": [
        "volume",
        "tx_count",
        "unique_buyers"
       ],
       "type": "string",
       "default": "volume",
       "description": "Sort field"
      },
      "page_size": {
       "type": "integer",
       "default": 10,
       "maximum": 100,
       "minimum": 1,
       "description": "Items per page (1-100, default 10)"
      },
      "timeframe": {
       "anyOf": [
        {
         "type": "number",
         "const": 1
        },
        {
         "type": "number",
         "const": 7
        },
        {
         "type": "number",
         "const": 14
        },
        {
         "type": "number",
         "const": 30
        }
       ],
       "description": "Days lookback (1, 7, 14, or 30)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402scan-merchant-leaderboard-65241bfe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402scan-git-router-117-merit-systems.vercel.app](https://www.zero.xyz/host/x402scan-git-router-117-merit-systems.vercel.app/llms.txt)
