# Finnhub-Stock-API/finnhub-python

Finnhub Python API Client. Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals, global ETFs holdings and alternative data. https://finnhub.io/docs/api

Repository: https://github.com/Finnhub-Stock-API/finnhub-python
Canonical: https://ross.abutalabs.com/products/finnhub-python
Homepage: https://finnhub.io/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: finnhub, stock, api
Last push: 2026-06-24T07:15:10+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 35, longevity 100
- inputs: {"age_days": 2296, "days_push": 70, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1070, forks 156 (observed 2026-08-28T04:03:27.924686+00:00)

## What it is
The official Python client library for the Finnhub API, which provides institutional-grade financial data including real-time stock prices, company fundamentals, ETF holdings, and alternative data. It wraps Finnhub REST endpoints in a simple Python client with methods for quotes, candles, financials, news, earnings, crypto, forex, and economic data.

## Use cases
- fetch real-time stock quotes and price candles in python
- get company fundamentals and financial statements for tickers
- pull earnings estimates and analyst recommendation trends
- download company news and news sentiment data
- query crypto and forex exchange symbols
- build a stock analysis or trading script with market data
- convert stock candle responses into pandas dataframes

## When to choose
- you want programmatic access to Finnhub financial data from Python
- you need a maintained official SDK covering stocks, crypto, forex, and economic endpoints
- you are prototyping fintech or investment analysis tools with pandas

## When to avoid
- you need a different data provider than Finnhub
- you need streaming websocket market data not covered by this REST client
- you work primarily in another language without a Finnhub SDK

## Facets
- artifact type: library
- maturity: active
- function: http-client, sdk, data-science
- domain: fintech, apis, data-science, analytics
- platform: python, cross-platform
- tags: finnhub, stock-market, financial-data, api-client, trading-data, market-data

## Member repositories
- Finnhub-Stock-API/finnhub-python (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:27.924686+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:59.447553+00:00, confidence not recorded.
  - readme: https://github.com/Finnhub-Stock-API/finnhub-python (fetched 2026-08-28T04:03:27.924686+00:00, sha 16d7ee079248)
  - homepage: https://finnhub.io/ (fetched 2026-08-29T12:56:26.705101+00:00, sha 15821e9e14ad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
