Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Plans limit history depth, the number of rows per call, exchanges (some plans US-only) and statement periods (some plans annual only).
  • Dates are YYYY-MM-DD.

Endpoints

Get a company profile

Get a stock quote

Get daily price history

  • At most 5000 rows per call; split a long history into date ranges.

Get income statements

Get balance sheets

Get key metrics

Search stock news

Get the earnings calendar

  • Up to 4000 rows per call; keep the from/to window short.

Get Treasury rates