Free APIs For You
Free APIs For You
FinanceFree

FinnhubAPI Documentation

Real-Time RESTful APIs and Websocket for Stocks, Currencies, and Crypto

specifications

AuthapiKey
HTTPSYes
CORSYes
Rate LimitUnknown
PricingFree

quick start

Get real-time stock quote

JavaScript
const res = await fetch(
  'https://finnhub.io/api/v1/quote?symbol=AAPL&token=YOUR_API_KEY'
);
const { c: price, h: high, l: low } = await res.json();
console.log({ price, high, low });
Python
import requests
res = requests.get('https://finnhub.io/api/v1/quote',
                   params={'symbol': 'AAPL', 'token': 'YOUR_API_KEY'})
data = res.json()
print(f"Price: {data['c']}, High: {data['h']}, Low: {data['l']}")

about

About Finnhub API

The Finnhub API is a finance API that gives developers easy access to finance-related data and functionality. It is designed for both quick prototypes and production applications.

Key Features

  • Comprehensive API documentation
  • Secure HTTPS endpoints
  • CORS enabled for browser requests
  • apiKey authentication
  • Reliable uptime and fast response times
  • Reasonable rate limits
  • Active developer community support

Perfect For

  • Investment tracking apps
  • Budget management tools
  • Cryptocurrency portfolios
  • Financial planning platforms

Getting Started

Register for an account and obtain your OAuth credentials. Once you have your credentials, you can start making authenticated requests.

The API documentation provides comprehensive guides and code examples to help you integrate quickly and efficiently.

faq

Finnhub API — Frequently Asked Questions

How do I get started with the Finnhub API?

Register for an OAuth token from the official documentation page.

Is the Finnhub API really free?

Yes! The Finnhub API offers a free tier. Rate limits apply but are generous for most use cases. Check the official docs for details.

Can I use this API in a commercial project?

Most free APIs support commercial use, but terms vary. Review the Finnhub API's terms of service and licensing before using it commercially.

What programming languages can I use?

The Finnhub API is a REST API — any language that can make HTTP requests works. Popular choices include JavaScript, Python, PHP, Java, and Go.

comments

0/2000