Finnhub Stock API - Global fundamentals, market data and alternative data

Finnhub is an American company with people working in New York, Mumbai, Sydney, and Ho Chi Minh to source, clean and serve the right financial data to our customers. With data centers around the globe and a diverse workforce, Finnhub provide high quality data with easy access to the biggest clients in the industry ranging from hedge funds, mutual funds to investment banks and S&P companies.

With the mission of democratizing financial data, Finnhub is proud to offer a FREE retail-focus realtime API for stocks, forex and cryptocurrency. With this API, you can access realtime market data from global stock exchanges, 10 forex brokers, and 15+ crypto exchanges. Finnhub also provides institutional-grade alternative and fundamental data for global companies through our stock API. Finnhub is ranked number 1 on Towards Data Science stock API guide. See why Finnhub is the leader in financial data APIs with this comparision.

Finnhub Stock API

Data provided on Finnhub Stock API:

Global Fundamental Data:

Market Data

Estimates

Alternative Data

With global coverage and deep historical data, Finnhub Stock API provides an unparalleled API for global investors, investment firms and fintech startups. A tutorial to build your own charts powered by Finnhub

Markdown

import finnhub
finnhub_client = finnhub.Client(api_key="YOUR API KEY")

res = finnhub_client.stock_candles('AAPL', 'D', 1590988249, 1591852249)
print(res)

import pandas as pd
print(pd.DataFrame(res))

print(finnhub_client.aggregate_indicator('AAPL', 'D'))

Support or Contact

Having trouble with Pages? Check out our documentation Join Finnhub’s dicussion on: