Finnhub

Category Finance
Authentication apiKey
HTTPS Yes
CORS unknown
Difficulty intermediate
Official URL https://finnhub.io/docs/api
Added Date 2026-04-01
Last Verified 2026-04-01

About this API

Finnhub is a finance API described as: Real-Time RESTful APIs and Websocket for Stocks, Currencies, and Crypto. It is useful when you need programmatic access to real-time restful apis and websocket for stocks, currencies, and crypto from applications, dashboards, or internal tools. The published entry point or documentation is hosted at finnhub.io, which makes it a practical starting point for evaluating available endpoints and response formats. The listing indicates API-key-based access, which is typical for server-side integrations, scheduled jobs, and controlled client applications.

Use Cases

  • Add real-time restful apis and websocket for stocks, currencies, and crypto to a finance discovery or reference application.
  • Build an internal script or scheduled job that pulls data from Finnhub for reporting or content updates.
  • Prototype a small web or mobile experience that surfaces real-time restful apis and websocket for stocks, currencies, and crypto to end users.

Code Examples

const url = "https://finnhub.io/docs/api";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

Similar APIs

Aletheia

Insider trading data, earnings call analysis, financial statements, and more

apiKey HTTPS CORS: yes

Alpaca

Realtime and historical market data on all US equities and ETFs

apiKey HTTPS CORS: yes

Alpha Vantage

Realtime and historical stock data

apiKey HTTPS CORS: unknown

Bank Data API

Instant IBAN and SWIFT number validation across the globe

apiKey HTTPS CORS: unknown

Billplz

Payment platform

apiKey HTTPS CORS: unknown

Other APIs in Finance

Marketstack

Real-Time, Intraday & Historical Market Data API

apiKey HTTPS CORS: unknown

Aletheia

Insider trading data, earnings call analysis, financial statements, and more

apiKey HTTPS CORS: yes

Alpaca

Realtime and historical market data on all US equities and ETFs

apiKey HTTPS CORS: yes

Alpha Vantage

Realtime and historical stock data

apiKey HTTPS CORS: unknown

Banco do Brasil

All Banco do Brasil financial transaction APIs

OAuth HTTPS CORS: yes

Bank Data API

Instant IBAN and SWIFT number validation across the globe

apiKey HTTPS CORS: unknown

Billplz

Payment platform

apiKey HTTPS CORS: unknown

Binlist

Public access to a database of IIN/BIN information

No Auth HTTPS CORS: unknown

Boleto.Cloud

A api to generate boletos in Brazil

apiKey HTTPS CORS: unknown

Citi

All Citigroup account and statement data APIs

apiKey HTTPS CORS: unknown