cURL
curl --request GET \ --url 'wss://api.benzinga.com/api/v1/news/stream?token='
{ "api_version": "<string>", "kind": "<string>", "data": { "id": 123, "action": "Created", "timestamp": "<string>", "content": { "id": 123, "revision_id": 123, "type": "<string>", "created_at": "<string>", "updated_at": "<string>", "title": "<string>", "body": "<string>", "authors": {}, "teaser": "<string>", "url": "<string>", "channels": [ "<string>" ], "securities": "<array>" } } }
Stream Newsfeed
API key to be passed as token in query parameter.
OK, WebSocket connection established and ready. *Note messages are sent as single messages, not an array, but the documentation spec does not have support for WebSocket message type.
Indicates the message API version. Currently websocket/v1.
websocket/v1
Indicates the message data Kind. Currently News/v1.
News/v1
Message payload
Show child attributes
Was this page helpful?