Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Rate limits and API credits depend on the plan; an over-limit key gets 429. Fundamentals, many exchanges and some options need paid plans.
- Pass a symbol; add exchange, mic_code or country when a ticker trades in several places.
Endpoints
Get a price time series
- Dates in start_date and end_date take 2006-01-02 or 2006-01-02T15:04:05 formats.
Get a quote
Get the latest price
Get end-of-day price
Search symbols
Get a currency exchange rate
Get income statements
- Fundamentals need a paid plan.