Guides
Using the API from AI agents
Most callers of this API are agents, so the docs come in forms an agent can read directly. All of them are generated from the same source as these pages.
| What | URL |
|---|---|
| Index of the docs for LLMs | /llms.txt |
| All docs in one file | /llms-full.txt |
| Any docs page as Markdown | the page URL plus .md, for example https://studyingstocks.com/developers/authentication.md |
| Agent guide: which endpoint for what | /developers/skill.md |
| OpenAPI 3.1 document | /api/v1/openapi.json |
Tips for agents
- Give the agent the skill file and the key (as a secret, in an environment variable or the tool's credential store, never in the prompt).
- Ask for only what you need:
items=revenue,free_cash_flow&limit=5keeps responses small. - Branch on
error.code, not on the message. Onrate_limited, waitRetry-Afterseconds. - Check
meta.generated_atand the company'sdata_updated_atbefore saying how current a number is. - Quote the
filings_urlor the SEC link when you tell a user where a number comes from.
MCP
A Model Context Protocol server that exposes these endpoints as tools is planned. It is not available yet.