TradeBot Check
Trading involves a risk of losing money. Nothing on this site is financial advice and past results do not guarantee future results. Risk disclosure
Broker & exchange APIs

Finnhub Python client

Official Python client for the Finnhub API, with stock, forex, crypto, company, economic and alternative data behind one API key.

Finnhub-Stock-API/finnhub-python★ 1,102 stars last commit 2026-11-05
Our take

One pip install and an API key give your scripts quotes, candles, fundamentals, calendars and news sentiment in a few lines of Python.

Who it is for

Python users who want a single client for prices, company data and calendars in alerts, dashboards and strategy research.

Strengths

  • Install with pip install finnhub-python and create a client with finnhub.Client(api_key=...).
  • Examples cover stock candles and quotes, company profiles and financials, forex and crypto candles, and ETF holdings.
  • Includes economic, IPO and earnings-style calendars, plus market status and holidays.
  • Also covers insider transactions, SEC filings and alternative data such as news and social sentiment.

Good to know

  • Every request needs an API key from Finnhub.
  • Rate limits and which endpoints are free are not stated in the pages we read; check the official documentation before building on it.
  • The Apache licence covers the client library, not the data, which follows Finnhub's own terms.
  • It is a data client, not a broker: no order execution.

Custom bots are coming soon
We are preparing a service to build bots on tools like this one. Follow our Telegram channel to know when it opens.

Notify me

Real-life uses

Earnings and IPO calendar alerts

Pull the upcoming earnings and IPO calendar once a day with a short Python script and message yourself only the names on your watchlist, so you know when to pause or review a strategy. Illustrative only, never a promise of returns.

📅 This week on your watchlist: 2 earnings reports, 1 IPO (example). Review open strategies before Thursday.

Compare it with others

Quick answers

How much does Finnhub Python client cost?

The client is free (Apache-2.0). Data plans and rate limits are not stated in the pages we read; check the official website. An API key is required. Prices change, so check the official website before you decide.

Is Finnhub Python client open source?

Yes. License: Apache-2.0.

Who is Finnhub Python client for?

Python users who want a single client for prices, company data and calendars in alerts, dashboards and strategy research.

What is Finnhub Python client written in?

Finnhub Python client is written in Python.

What should I know before using Finnhub Python client?

Every request needs an API key from Finnhub. Rate limits and which endpoints are free are not stated in the pages we read; check the official documentation before building on it. The Apache licence covers the client library, not the data, which follows Finnhub's own terms. It is a data client, not a broker: no order execution.

Want a bot like this when custom bots open? Get notified · All comparisons · Guides

Sources

Every fact on this page comes from these sources, checked on 2026-11-16. If something has changed, the source wins.

  1. https://raw.githubusercontent.com/Finnhub-Stock-API/finnhub-python/master/README.md: pip install, API key client, example endpoints, Apache licence, link to docs
  2. https://api.github.com/repos/Finnhub-Stock-API/finnhub-python: Apache-2.0, about 1,100 stars, last push 2026-11-05, not archived, Python
  3. https://finnhub.io/docs/api: realtime stock, forex and crypto data, fundamentals, economic and alternative data

Alternatives in Broker & exchange APIs