How to hit the Finnhub API

Finnhub's API at https://finnhub.io/api/v1 serves real-time quotes, company fundamentals, and market news.

Authentication

Get a free key at finnhub.io and send it as the X-Finnhub-Token header (or token in the query string). In the examples it's written {{FINNHUB_API_KEY}}.

Full reference: https://finnhub.io/docs/api

Quote

c is the current price, pc the previous close.

curl "https://finnhub.io/api/v1/quote?symbol=AAPL" \
  -H "X-Finnhub-Token: {{FINNHUB_API_KEY}}"
Run in PostTaco

Company profile

curl "https://finnhub.io/api/v1/stock/profile2?symbol=AAPL" \
  -H "X-Finnhub-Token: {{FINNHUB_API_KEY}}"
Run in PostTaco

Company news

curl "https://finnhub.io/api/v1/company-news?symbol=AAPL&from=2026-09-01&to=2026-09-23" \
  -H "X-Finnhub-Token: {{FINNHUB_API_KEY}}"
Run in PostTaco