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 |
Response
[
{
"event_id": 10045,
"title": "Q4 2021 AU Small Finance Bank Ltd Earnings Call",
"date": "2021-04-30T00:00:00-04:00",
"event_type": "earnings",
"equity": {
"equity_id": 49398,
"ticker": "540611",
"mic": "XBOM",
"bloomberg_ticker": "540611:IN",
"isin": "INE949L01017",
"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"})