Real-Time RESTful APIs and Websocket for Stocks, Currencies, and Crypto.
Finnhub provides a REST and WebSocket API for financial market data, covering real-time trades for US stocks, forex, and crypto, along with symbol lookup by ticker, name, ISIN, or CUSIP. Additional data feeds include real-time news and press releases for US and Canadian companies, with press releases limited to Enterprise-tier access. The API uses token-based authentication via a URL parameter or header, returns JSON, and enforces rate limits with a 429 response when exceeded and a global cap of 30 calls per second.
The service publishes open datasets, including SEC financials as reported, SEC filings metadata, S&P 500 futures tick data, and open-source client libraries for Python, Go, JavaScript, Ruby, Kotlin, and PHP. It also offers an MCP server for connecting to ChatGPT, Claude, and Gemini Enterprise, and partners with Finsheet for an Excel and Google Sheets plugin that pulls fundamentals and estimates data.
The API is aimed at developers, researchers, and investors building applications or conducting analysis that requires stock, forex, and crypto market data, company news, and financial filings.
All GET requests require a token parameter (token=apiKey) in the URL or an X-Finnhub-Token header, with the API key found under the user's Dashboard.
Yes, exceeding your plan's limit returns a 429 status code, and there is also a hard cap of 30 API calls per second across all plans.
Finnhub provides official libraries for Python, Go, JavaScript, Ruby, Kotlin, and PHP.
No, real-time news streaming and press releases streaming both require Premium Access, with press releases limited to Enterprise users.
Finsheet is Finnhub's official Excel and Google Sheets plugin partner, offering access to fundamentals and estimates data directly in spreadsheets.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Stock market and financial data.
Realtime and historical stock data.
Developer-first market data API.
Sentiment, direction & quality classification for Reddit financial social posts.
Fast, accurate IBAN validation and generation.
Economic data from the Federal Reserve Bank of St. Louis.