Legend of Elements Wiki API
The Legend of Elements Wiki API is a public REST interface for encyclopedia data. Agents and apps should use it (or the MCP tools) instead of scraping the website. Base path: /api. OpenAPI 3.1: /openapi.json and /api/openapi.yaml.
Authentication
Read endpoints are unauthenticated: health, articles, featured and recent lists, article-by-slug, categories, search, stats, and tools. Create, update, and delete require a signed admin cookie (wiki_admin_session) obtained via POST /api/admin/login. If you are an agent integrating player-facing features, you only need the public GET methods.
Example requests
curl https://wiki.legendsofelements.com/api/healthz curl "https://wiki.legendsofelements.com/api/search?q=cultivation" curl https://wiki.legendsofelements.com/openapi.json
Errors are JSON objects with error.code, error.message, and error.hint. MCP Streamable HTTP lives at /mcp with discovery at /.well-known/mcp. Agent index: /llms.txt.