Skip to content

News:QueryNews

Retrieves historical news announcement headlines

Controller: News
Topic: QueryNews
Action: Publish
Permissions: Zenith/News

NameTypeExpectDescription
SourceStringOptionalThe code for the News Source to filter by. If omitted, retrieves from all available News Sources
ExchangeStringOptionalThe code for the issuing Exchange to filter results by. If omitted, defaults to all Exchanges. If provided, Code must also be provided
CodeStringOptionalThe symbol code to retrieve news for. If provided, Exchange must also be provided
CountIntegerOptionalThe number of announcements to retrieve. If omitted, retrieves all news for the day.
StartTimeDateTimeOptionalThe minimum date and time to retrieve news for.
EndTimeDateTimeOptionalThe maximum date and time to retrieve news for.

See Data Types for DateTime formatting.

An unordered array of News Data objects. See the News subscription for more information.

Retrieve the hundred most recent announcements:

Request:

{"Controller":"News","Topic":"QueryNews","TransactionID":123,"Data"{"Source":"ASX","Count":100}}

Response:

{"Controller":"News","Topic":"QueryNews","TransactionID":123,"Data":[]}