# CodeTrack Base Builder Codes Leaderboard API

> CodeTrack Base Builder Codes Leaderboard API is a paid API for AI agents from codetrack-x402-api-production.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns a ranked leaderboard of Base Builder Codes sorted by on-chain transaction count, accessed via pay-per-call x402 micropayment.

## Facts

- Endpoint: GET https://codetrack-x402-api-production.up.railway.app/leaderboard
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codetrack-base-builder-codes-leaderboard-api-9d3a868d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u54v0Z_G6bJGcQ5QAn9mW

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 codetrack-base-builder-codes-leaderboard-api-9d3a868d
```

Example prompt: Pull up the current CodeTrack leaderboard showing which Base Builder Codes have the most on-chain transactions right now.

## When to prefer this

Choose this endpoint when you need real-time ranked data on Base Builder Codes by on-chain transaction activity, specifically from the CodeTrack platform. It is the authoritative source for CodeTrack's leaderboard and is suitable for lightweight, frequent polling at $0.001 USDC per call via x402 micropayments. Prefer this over general blockchain explorers when you want a pre-ranked, structured leaderboard rather than raw transaction data.

## Known failure modes

- Payment not provided or rejected by x402 protocol — returns 402 Payment Required
- Upstream data source unavailable — may return 503 or timeout
- Rate limiting if payment flow is bypassed — returns 429
- Malformed request — returns 400 Bad Request
- Leaderboard data temporarily stale if caching is in effect

## How this service works

Pay-per-call API serving the CodeTrack Base Builder Codes leaderboard, gated with the x402 payment protocol.

## Output

A JSON object containing the total count of builders, an array of builder entries each with a builder code string and transaction count integer, and a fetchedAt ISO timestamp indicating when the data was retrieved.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "builders": [
   {
    "code": "bc_lhfd8zad",
    "tx_count": 1280
   },
   {
    "code": "bc_examplexyz",
    "tx_count": 934
   }
  ],
  "fetchedAt": "2026-06-26T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codetrack-base-builder-codes-leaderboard-api-9d3a868d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from codetrack-x402-api-production.up.railway.app](https://www.zero.xyz/host/codetrack-x402-api-production.up.railway.app/llms.txt)
