Finnhub API

Real-time REST and WebSocket API for stocks, forex, and cryptocurrency data, plus news, earnings, insider transactions, economic indicators, and sentiment analysis.

Evaluated Mar 07, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Finance finance stocks forex crypto news sentiment rest-api websocket openapi free
⚙ Agent Friendliness
62
/ 100
Can an agent use this?
🔒 Security
70
/ 100
Is it safe for agents?
⚡ Reliability
80
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
0
Documentation
88
Error Messages
78
Auth Simplicity
82
Rate Limits
80

🔒 Security

TLS Enforcement
100
Auth Strength
68
Scope Granularity
35
Dep. Hygiene
75
Secret Handling
72

HTTPS enforced on all endpoints. Header-based auth option (X-Finnhub-Token) avoids query parameter logging. Official Python SDK maintained by Finnhub with reasonable dependency hygiene. No scope granularity — single key grants full access. OpenAPI spec enables clients to implement proper security controls.

⚡ Reliability

Uptime/SLA
78
Version Stability
82
Breaking Changes
80
Error Recovery
80
AF Security Reliability

Best When

An agent needs the best free-tier real-time data access with WebSocket streaming, alternative data (insider transactions, earnings surprises, news sentiment), and an OpenAPI spec for easy integration.

Avoid When

You need options data, very deep historical data, or are building a system requiring guaranteed uptime SLAs without an enterprise contract.

Use Cases

  • Real-time stock quote streaming via WebSocket for market-monitoring agents
  • Earnings calendar and earnings surprise tracking for event-driven trading agents
  • Insider transaction and institutional ownership monitoring
  • News feed aggregation with sentiment scoring for NLP pipelines
  • Economic indicator and macro data retrieval for macro-aware agents

Not For

  • Deep historical data beyond 30 years on free tier
  • Options and derivatives data
  • Guaranteed institutional-grade SLA without enterprise plan

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: api_key
OAuth: No Scopes: No

API key passed as query parameter (token=) or X-Finnhub-Token header. Header method is preferred for security. WebSocket authentication also uses the token parameter. No scope control.

Pricing

Model: freemium
Free tier: Yes
Requires CC: No

Free tier is the most generous among comparable financial APIs: 60 requests/minute allows meaningful agent workflows. Paid plans unlock global exchanges, extended history, and higher throughput. No credit card required for free tier.

Agent Metadata

Pagination
cursor
Idempotent
Full
Retry Guidance
Documented

Known Gotchas

  • Free tier limited to US markets — agents querying international symbols will get empty results without clear error
  • WebSocket connections require reconnection logic; no built-in heartbeat acknowledgment by default
  • Some endpoints have different data availability windows per plan tier (e.g., 1 year vs 30 years of history)
  • API key as query parameter leaks into logs; prefer X-Finnhub-Token header
  • Rate limit window is per-minute rolling, not per-second — burst traffic can trigger 429 unexpectedly

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for Finnhub API.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-07.

6470
Packages Evaluated
26150
Need Evaluation
173
Need Re-evaluation
Community Powered