Topics
Events with Topic
Fetch the events associated with a topic
GET /topics/{topic_id}/events
Parameter | Type | DataType | Description |
---|---|---|---|
size | query | integer | The number of matches to return |
topic_id | path | integer | ID of the topic to fetch events for |
from_index | query | integer | The index to start returning from, combine with size for paging |
Request
https://premium.aiera.com/api/topics/133213/events?size=2
Response
[
{
"event_id": "2579025",
"title": "Q1 2024 Lamar Advertising Co Earnings Call",
"date": "2024-05-02T09:00:00",
"event_type": "earnings",
"equity": {
"equity_id": 817,
"local_ticker": "LAMR",
"mic": "XNAS",
"isin": "US5128161099",
"gics_sector": "Real Estate",
"gics_sub_sector": "Specialized REITs"
}
},
{
"event_id": "2585124",
"title": "Heritage Financial Corp Annual Shareholders Meeting",
"date": "2024-05-06T09:00:00",
"event_type": "shareholder_meeting",
"equity": {
"equity_id": 2341,
"local_ticker": "HFWA",
"mic": "XNAS",
"isin": "US42722X1063",
"gics_sector": "Financials",
"gics_sub_sector": "Regional Banks"
}
}
]
Code Samples
Bash
curl --request GET \
--url 'https://premium.aiera.com/api/topics/{topic_id}/events' \
--header 'X-API-Key: xxx'
Python
import requests
requests.get("https://premium.aiera.com/api/topics/{topic_id}/events", headers={"X-API-Key": "xxx"})