Topics
Equities with Topic
Fetch the equities associated with a topic
GET /topics/{topic_id}/equities
Parameter | Type | DataType | Description |
---|---|---|---|
size | query | integer | The number of matches to return |
topic_id | path | integer | ID of the topic to fetch equities for |
from_index | query | integer | The index to start returning from, combine with size for paging |
Response
[
{
"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}/equities' \
--header 'X-API-Key: xxx'
Python
import requests
requests.get("https://premium.aiera.com/api/topics/{topic_id}/equities", headers={"X-API-Key": "xxx"})