WebSocketStocks & Equities

Finnhub Trades WebSocket

Finnhub Trades WebSocket is a websocket from Finnhub providing stocks & equities data. Finnhub's WebSocket trade stream pushes real-time tick-by-tick trade prints for US stocks, forex, and crypto over a single persistent connection. A Polymarket bot would use it to monitor live equity/index prices against strike levels (e.g. "will TSLA close above $X") with minimal polling overhead, backed by Finnhub's free fundamentals and earnings REST endpoints.

At a glance

ProviderFinnhub
TypeWebSocket
CategoryStocks & Equities
Real-timeYes — streaming
AuthAPI key
PricingFree tier (60 calls/min, 50 WS symbols); paid plans from ~$50/mo — Free: $0, 60 API calls/min, WebSocket limited to 50 symbols, real-time US stocks + forex + crypto, basic fundamentals/earnings, Paid plans: from ~$49-50/mo per data bundle/market, unlimited WebSocket symbols, higher rate limits, Premium/enterprise: hundreds/mo for international real-time data, full fundamentals and alternative data with fewer limits

What data it provides

  • Real-time tick-by-tick trades: symbol (s), price (p), volume (v), millisecond timestamp (t), trade conditions (c)
  • US stock trade stream (plus forex and crypto symbols on the same socket)
  • Subscribe/unsubscribe per symbol via JSON messages over one connection
  • Companion REST: company fundamentals, earnings calendar, EPS estimates
  • Index/ETF coverage for close-above-strike style monitoring
  • Type-tagged JSON frames ({"type":"trade","data":[...]})

Features

  • Free real-time WebSocket streaming (rare among stock data APIs)
  • Free tier: 60 REST calls/min and up to 50 subscribed symbols per socket
  • Paid plans unlock unlimited WebSocket symbols and higher REST limits
  • Single persistent connection multiplexes stocks, forex, and crypto
  • Official SDKs/libraries (Python, JS, Go, and community Rust crate)
  • Token-authenticated; no credit card required to start

Links

Use it in a bot

Other stocks & equities data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord