EXP Bank Calculator API docs
This site publishes small, read-only JSON resources for agents and developers. They require no authentication and return stable application/json documents. For arbitrary calculations, use the browser WebMCP tools on the homepage because GitHub Pages cannot run request-time code.
OpenAPI specification
Download the machine-readable contract at /openapi.json. It defines each endpoint, response schema, operation ID, and structured error shape.
Authentication and access
The public JSON resources require no API key, account, OAuth token, or bearer credential. Read the /auth.md access policy for the complete list of public resources and hosting limits.
List rank thresholds
Use /api/ranks.json to retrieve the Discord rank thresholds used by the calculator.
curl https://torturado.github.io/api/ranks.jsonRead calculator info
Use /api/info.json for the daily rate, time normalization, formula, and links to the full docs.
curl https://torturado.github.io/api/info.jsonResponse schemas
Successful responses use the CalculatorInfo and RankList schemas in the OpenAPI document. The contract also defines an ErrorResponse object with error.code, error.message, and error.resolution for a future request-time deployment.
error.code | error.message | error.resolutionCalculate growth with WebMCP
The homepage exposes calculate-exp-growth and list-exp-ranks through navigator.modelContext when the browser supports WebMCP. The agent guide documents the inputs and the intended use cases.
Errors and hosting limits
The static JSON resources have no request parameters, so they have no invalid input branch. The OpenAPI document defines a JSON error object for a future request-time API. A server deployment is required before this site can return JSON errors for arbitrary requests, negotiate Markdown with Vary: Accept, or expose an MCP Streamable HTTP handshake.