Amber API Documentation
Amber provides free, read-only, SEC EDGAR-verified fundamental data for 700+ Nasdaq and NYSE companies with no API key required. The endpoints return JSON with links back to interactive charts. The company endpoint also serves Markdown.
1. Quickstart & Discovery
No authentication is required for read-only public endpoints. Start from the machine-readable index or OpenAPI 3.1 specification:
- Agent Index: https://amberstocks.com/llms.txt
- OpenAPI 3.1 Spec: https://amberstocks.com/openapi.json
- Streamable HTTP MCP Server: https://amberstocks.com/api/mcp
- RSS / Atom Feed: https://amberstocks.com/feed.xml
2. REST Endpoints
Returns SEC-verified revenue, reported FCF, Stock-Based Compensation (SBC), True FCF (FCF minus SBC), 4-year net share dilution, Reverse DCF implied 10-year revenue growth, recent 10-K/10-Q prose diffs, and open-market Form 4 insider buys. Pass ?format=markdown or Accept: text/markdown for Markdown.
curl -s "https://amberstocks.com/api/v1/t/NVDA" curl -s -H "Accept: text/markdown" "https://amberstocks.com/api/v1/t/NVDA"
Screen 700+ companies by lens, sector, minTrueFcfMargin, maxSbcPct, maxImpliedCagr, maxDilution, minMarketCapB, and limit (1–50).
curl -s "https://amberstocks.com/api/v1/screener?lens=cash-machines&minTrueFcfMargin=20&maxSbcPct=5&limit=10"
Fetch recent high-materiality SEC 10-K/10-Q filing diffs and open-market Form 4 executive buys. Filter by ticker, type (all | diffs | insiders), and limit (1–50).
curl -s "https://amberstocks.com/api/v1/signals?type=all&limit=15"
3. Model Context Protocol (MCP) Server
Connect Claude Desktop, Cursor, or any Streamable HTTP MCP client directly to https://amberstocks.com/api/mcp. Available tools: amber_get_company, amber_screen_companies, amber_compare_companies, and amber_get_recent_signals.
{
"mcpServers": {
"amber": {
"url": "https://amberstocks.com/api/mcp"
}
}
}4. Rate Limits, Versioning & Errors
The public REST endpoints share a quota of 120 requests per IP address per 60-second window. RateLimit-Policy describes the quota. RateLimit reports how many requests remain (r) and the seconds until reset (t). Wait the number of seconds in Retry-After after a 429 response.
The supported routes start with /api/v1/. Existing /api/public/ URLs remain available. Breaking changes get a new major version in the URL. Amber signals any planned retirement at least 90 days in advance using Deprecation (RFC 9745), Sunset (RFC 8594) and a link to migration instructions.
Public REST errors return JSON with machine-readable code, message, and resolution fields. The OpenAPI document defines the error schema and HTTP status codes.