# Rengi Forge Leaderboard Board Creator

> Rengi Forge Leaderboard Board Creator is a paid API for AI agents from rengi.dev, paid per call via x402, $1/call, status unknown (last checked 2026-10-22).

Creates a new game leaderboard with configurable capacity (up to 100,000 submissions), time periods, sort order, and optional HMAC-signed submission enforcement; returns board keys and a ready-to-use JavaScript snippet.

## Facts

- Endpoint: POST https://rengi.dev/v1/leaderboard/boards?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rengi-forge-leaderboard-board-creator-bbe98310
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2Yx3C8XdICt4LnhERzF_f

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 rengi-forge-leaderboard-board-creator-bbe98310 -d '<json body>'
```

Example prompt: Create a leaderboard called 'Space Blaster High Scores' that sorts descending (higher is better), tracks all-time and daily scores, and requires HMAC-signed submissions — give me the keys and the JS snippet to embed.

## When to prefer this

Choose this endpoint when you need a managed, hosted leaderboard backend for a game without building your own database and score API. It is especially valuable when you want an instant JS embed snippet (zero backend code for web games), need HMAC-signed submission enforcement for anti-cheat, or want multi-period (alltime/daily/weekly) scoring out of the box. Prefer this over self-hosted solutions when speed of integration matters and you're building on rengi.dev's game tooling ecosystem.

## Known failure modes

- Invalid or missing board name (minLength 1, maxLength 80 violated)
- Invalid sort enum value (must be 'asc' or 'desc')
- Invalid periods array item (must be 'alltime', 'daily', or 'weekly')
- Periods array length outside bounds (minItems 1, maxItems 3)
- Payment failure or insufficient USDC funds ($1 required via x402)
- minScore greater than maxScore causing invalid score range

## How this service works

Leaderboard: Create a board with 100,000 submissions and 365 days; returns keys and a ready JS snippet. Full schema: https://rengi.dev/v1/leaderboard/schema

## Output

Returns board keys (used to submit and read scores) and a ready-to-embed JavaScript snippet that can be dropped directly into a web game or app to interact with the leaderboard, scoped to the configured name, sort order, periods, and score bounds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "maxLength": 80,
   "minLength": 1
  },
  "sort": {
   "enum": [
    "desc",
    "asc"
   ],
   "type": "string",
   "default": "desc",
   "description": "desc: higher is better; asc: lower is better (times)"
  },
  "signed": {
   "type": "boolean",
   "default": false,
   "description": "Require HMAC-signed submissions (for games with a server)."
  },
  "periods": {
   "type": "array",
   "items": {
    "enum": [
     "alltime",
     "daily",
     "weekly"
    ],
    "type": "string"
   },
   "default": [
    "alltime"
   ],
   "maxItems": 3,
   "minItems": 1
  },
  "maxScore": {
   "type": "number"
  },
  "minScore": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rengi-forge-leaderboard-board-creator-bbe98310/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rengi.dev](https://www.zero.xyz/host/rengi.dev/llms.txt)
