How it works
Authenticate
Obtain a Benzinga API token from the Benzinga Console and append it as a
token query parameter when opening the connection.Connect
Open a WebSocket connection to the stream URL for the data you need — for example
wss://api.benzinga.com/api/v1/analyst/insights/stream?token=YOUR_TOKEN.Receive events
Messages arrive as JSON objects with a consistent envelope: an
id, api_version, kind, and a data block that carries the action (created, updated, or deleted) and the payload.Available streams
Analyst Insights
Real-time analyst ratings, price targets, and detailed recommendations as they’re published.
Ratings
Analyst rating changes and price target updates from major firms.
Consensus Ratings
Aggregated consensus ratings and price targets across all tracked analysts.
Earnings
Earnings announcements with EPS, revenue, estimates, and surprise metrics.
Bulls/Bears Say
Bull and bear case scenarios for securities, published in real time.
News
Breaking news articles and market updates from Benzinga’s editorial team.
Earnings Call Transcripts
Live earnings call transcripts delivered sentence-by-sentence as they’re spoken.
Message envelope
Every stream message follows the same top-level structure:| Field | Description |
|---|---|
id | Unique message ID — use this to deduplicate on reconnect |
api_version | Protocol version of the message |
kind | Identifies which stream the message came from |
data.action | One of created, updated, or deleted |
data.content | Stream-specific payload |