> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snek.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAPI (Swagger)

> Machine-readable spec for Balances API

# Balances API — Swagger / OpenAPI

When the Balances API process is running, Tapir exposes **Swagger UI** on the same HTTP port.

**Production:** `https://analytics.snek.fun/balances/docs` — **local dev:** `http://127.0.0.1:7046/docs` (Swagger UI on the same HTTP port as the `/v1` API routes; adjust host/port to your deployment).

Use it to inspect exact request/response schemas, try requests, and export OpenAPI for codegen. The bundled title in code is **Balances API swagger snek.fun API v1**.
