Topics
Topics from Equities
Find (or search for) topics and the count of equities with matches
GET /topics/from_equities
Parameter | Type | DataType | Description |
---|---|---|---|
search | query | string | Search term |
size | query | integer | The number of matches to return |
from_index | query | integer | The index to start returning from, combine with size for paging |
Request
https://premium.aiera.com/api/topics/from_equities?search=Interest%20Rates
Response
[
{
"topic_id": "133213",
"topic": "interest rates",
"equity_count": 4
}
]
Code Samples
Bash
curl --request GET \
--url 'https://premium.aiera.com/api/topics/from_equities' \
--header 'X-API-Key: xxx'
Python
import requests
requests.get("https://premium.aiera.com/api/topics/from_equities", headers={"X-API-Key": "xxx"})