Build on the data
A small, read-only REST API over the same data that powers this site.
| Endpoint | Description |
|---|---|
| GET /api/instruments | List & filter stocks and ETFs (q, assetType, sector, category, minMarketCap, maxPe, sort, page) |
| GET /api/instruments/{ticker} | Full instrument payload: quote, fundamentals, ETF profile, price history |
| GET /api/quicksearch?q= | Typeahead search by ticker or name |
| GET /api/export?format=json|csv | Bulk dataset export of all instruments |
| GET /api/openapi | OpenAPI 3.0 specification |
Examples
curl "http://localhost:3000/api/instruments?sector=Technology&minMarketCap=200000000000&sort=-marketCap" curl "http://localhost:3000/api/instruments/AAPL" | jq '.fundamentals' curl "http://localhost:3000/api/instruments?assetType=etf&maxExpenseRatio=0.1"
Market data is sourced from public providers and refreshed on a schedule. It may be delayed or incomplete — always confirm against primary sources before relying on it. Not investment advice.