Skip to main content

Setup

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

Notes

  • Dates are YYYY-MM-DD. period is annual, quarterly or ttm.
  • List endpoints page by cursor: each response carries next_page_url until the last page; limit is the total across pages, not a page size (pages hold up to 10).
  • Insufficient credit answers 402; some endpoints (webhooks, a few feeds) need higher plans.
  • Non-US fundamentals: set market to UK or FR, or pass an isin.

Endpoints

Get historical stock prices

  • Paginated: follow next_page_url exactly as given until it is absent.

Get the latest stock price

Get a snapshot of the whole US market

  • Very large response.

Get income statements

  • Paginated: follow next_page_url exactly as given until it is absent.

Get balance sheets

  • Paginated: follow next_page_url exactly as given until it is absent.

Get cash flow statements

  • Paginated: follow next_page_url exactly as given until it is absent.

Get all financial statements

  • Paginated: follow next_page_url exactly as given until it is absent.

Get historical financial metrics

  • Paginated: follow next_page_url exactly as given until it is absent.

Get current financial metrics

Get company facts

Get earnings releases

  • Paginated: follow next_page_url exactly as given until it is absent.

Get news

  • Paginated: follow next_page_url exactly as given until it is absent.

Get insider trades

  • Paginated: follow next_page_url exactly as given until it is absent.

Get 13F institutional holdings

  • Send exactly one of ticker and filer_cik.
  • Paginated: follow next_page_url exactly as given until it is absent.

Get beneficial ownership (13D and 13G)

  • Paginated: follow next_page_url exactly as given until it is absent.

List SEC filings

  • Paginated: follow next_page_url exactly as given until it is absent.

Get text of SEC filing items

  • The response can be 202 Accepted with a request_id: read the result with financialdatasets.filings.items_result.

Get the result of an accepted filing items request

  • Polls the request started by financialdatasets.filings.items.

Get earnings guidance

  • Paginated: follow next_page_url exactly as given until it is absent.

Get ETF holdings or the ETFs holding a stock

  • Send exactly one of ticker and holding.

List IPO filings

  • Paginated: follow next_page_url exactly as given until it is absent.

Get central bank interest rates

  • Paginated: follow next_page_url exactly as given until it is absent.

Get current central bank rates

Get the Treasury yield curve

  • Paginated: follow next_page_url exactly as given until it is absent.

Get CPI and PCE inflation

  • Paginated: follow next_page_url exactly as given until it is absent.
  • List valid series ids at GET /macro/inflation/series.

Get US labor market series

  • Paginated: follow next_page_url exactly as given until it is absent.
  • List valid series ids at GET /macro/labor/series.
  • A read over POST: it only retrieves data.
  • A read over POST: it only retrieves data.

Ask a question about a public company

  • A read over POST: it only retrieves data.