Building with AI¶
The whole public API is described by a single OpenAPI 3.1 specification. Hand that file to an LLM or an AI coding assistant and it has the complete, authoritative picture of every endpoint, parameter, and response schema — no copy-pasting from docs.
Reading docs in Claude¶
Ask Claude to use its built-in web reader to open the API Reference, then follow the link for the endpoint you need. Each endpoint page includes its parameters, response schemas, examples, and errors. The reference overview is a directory, so the reader does not need to load the full specification at once.
The documentation index lists every published guide and endpoint page.
Claude's code sandbox is a separate network path¶
Claude's built-in web reader and its code-execution sandbox (the shell that runs curl,
Python, and file-making tools) reach the internet differently. The reader can open these
docs. The sandbox sends every request through Anthropic's egress proxy, which allows only
an approved list of domains, mainly package registries. A request to any other host is
refused by that proxy before it reaches GammaEdge; curl reports it as
CONNECT tunnel failed, response 403. That 403 does not come from GammaEdge, has nothing
to do with your API key, and cannot be lifted from our side. It applies to this
documentation site and to https://api.gammaedge.us alike.
When you hit it:
- To read the docs, ask Claude to use its web reader, or attach the OpenAPI specification below.
- To call the API, run the generated code on your own machine.
- To let the sandbox through, both domains must be on its network allowlist in Claude's settings. On Free, Pro, Max and Ultra plans you add them yourself under Settings > Capabilities; on Team and Enterprise plans an organization owner manages the list. See Anthropic's Create and edit files with Claude.
The OpenAPI spec¶
The spec covers every endpoint and response shape, so the assistant works from an accurate picture of the API — the same one on the API Reference.
Using the spec with an AI assistant¶
- Claude / ChatGPT — attach or paste
openapi_public.yamland ask it to write a client, explain an endpoint, or draft requests against it. -
Gemini CLI — reference the file inline:
-
Cursor / Copilot / Claude Code — drop
openapi_public.yamlinto your repo so the assistant has full endpoint and schema context while you code.
Example prompt¶
Using this OpenAPI spec, write a Python function that fetches the latest
voldslice for a ticker and returns its strikes sorted bycall_volumedescending. Authenticate with theX-API-Keyheader read from an environment variable.
Good to know¶
‼️ Never put your API key in a prompt
Keep your API key out of prompts, pasted files, and any generated code you share — read it from an environment variable (see Authentication). Anything you paste into a hosted AI tool may be retained.
- Pair the spec with the Code Examples for concrete request and sample-response shapes to ground the model's output.