Skip to content
Market Widgets

Get macroeconomic data

Returns recent macroeconomic data grouped by market, with previous, forecast, and actual values and importance, for the Economic Data module on the Markets page. An empty or -- actual value means the figure has not been released. url links to the More entry, and items[].items[].url links to the details of each release.

GEThttps://api.lbkrs.com/stock/activity/macro_data_for_market

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get macroeconomic data” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
itemsarray<object>

Economic data grouped by market

Child attributes
marketstring

Market, such as HK or US

itemsarray<object>

Economic data of the market. The Broker App shows up to 3 items per market

Child attributes
idstring

Data ID

act_descstring

Economic indicator name

datestring

Date

date_strstring

Date text for display

timestampinteger

Release time as a Unix timestamp in seconds

iconstring

Country or region flag icon URL

urlstring

Detail page link

starinteger

Importance from 1 to 3. A higher value means more important

Values
1
2
3
data_kvarray<object>

Previous, forecast, and actual values

Child attributes
keystring

Value name, used as the label

valuestring

Display value. When actual is empty or --, the figure has not been released

typestring

Value type:

  • previous - Previous
  • estimate - Forecast
  • actual - Actual
Values
previous
estimate
actual
urlstring

Link for the More entry

Whale Docs