Skip to main content
The documentation ships in forms an agent can read directly.

From the API host

All of these also work behind the /magic-api prefix, for example /magic-api/v2/openapi.yaml.

From this site

Every page also carries a menu to copy or view it as Markdown, open it in ChatGPT or Claude, and connect the docs MCP server to Cursor or VS Code.

Generating a client

The spec is hand-curated. Its info.version has stayed at 0.1.0 through recent changes, so diff the file itself when you regenerate. The spec has no servers entry, so set your client’s base URL to https://magicmarkets.com. The paths already start with /v2.

For Claude specifically

Install the Claude skill for building, and the MCP server for live market access.