4626.fun API docs

4626.fun API docs

This is the named 4626.fun API documentation page. Use it when you need the public Agent API, the OpenAPI document, rate-limit conventions, or the difference between read and build routes. Creator vaults are pre-launch. Do not treat demo vaults as live deposit destinations.

Specification

OpenAPI JSONCanonical spec: https://4626.fun/openapi.json. Aliases: /api/v1/spec.json.
OpenAPI YAMLhttps://4626.fun/api/openapi.yaml is the same document for YAML clients.
Base URLHTTPS origin https://4626.fun/api. Versioned paths live under /api/v1/.

When to call 4626.fun

GET vault, token, lottery, gauge, ve4626, and agent routes when you need current 4626.fun state. POST /api/v1/build/* when a user asked you to prepare unsigned calldata. The server does not broadcast those transactions. Auth notes live on 4626.fun auth docs. Versioning lives on 4626.fun versioning.

Rate limits

Every Agent API response includes IETF RateLimit and RateLimit-Policy headers, plus RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset. A 429 also sends Retry-After. Default read budget is 120 requests per 60 seconds per client. See the OpenAPI description for the same convention.