Payload Object
This page includes some sample payloads for Alerts from different datasets.
Alert payload is a loosely structured metadata associated with a particular Alert. You will find that information presented in this field significantly varies depending on the Alert's dataset, class.code and resource.type. It means that when working with payload object, you must implement conditional handling of fields, as they might be missing or have an unexpected value type.

News Alerts

1
{
2
"data": {
3
"news_source": "bombardier.com"
4
}
5
}
Copied!

Commodity Alerts

1
{
2
"data": {
3
"snippet": "OTHER METALS: LME aluminium gained 1% to $2,582.50 a tonne, zinc added 0.2% to $3,289.50, nickel advanced 1.8% to $19,745, lead rose 0.2% to $2,345, but tin shed 0.7% to $37,150.",
4
"news_url": "https://www.reuters.com/article/global-metals-idUSL1N2S1114",
5
"news_source": "Reuters",
6
"event_attributes": {
7
"commodity_id": "Tin",
8
"sourcecountry": null,
9
"commodity_name": "Tin",
10
"business_signal": "Decrease in Commodity Price"
11
}
12
},
13
"type": "news_commodities"
14
}
Copied!

Jobs Alerts

1
{
2
"data": {
3
"timeseries": [
4
{
5
"date": "2020-05-25",
6
"value": 36,
7
"period_type": "default"
8
},
9
{
10
"date": "2020-05-26",
11
"value": 34,
12
"period_type": "default"
13
}
14
],
15
"period_info": {
16
"pct_change": -0.25161290322580643,
17
"time_window": "month",
18
"period_value": 155,
19
"period_actual_date": "2021-04-01 00:00:00"
20
}
21
},
22
"meta": {},
23
"type": "change_over_period"
24
}
Copied!
Copy link
Contents