Topics

Topics from Events

Find (or search for) topics and the count of events with matches


GET /topics/from_events

ParameterTypeDataTypeDescription
sizequeryintegerThe number of matches to return
searchquerystringSearch term
from_indexqueryintegerThe index to start returning from, combine with size for paging

Request

https://premium.aiera.com/api/topics/from_events?search=Interest%20Rates

Response

[
  {
    "topic_id": "133213",
    "topic": "interest rates",
    "event_count": 23
  },
  {
    "topic_id": "5744645",
    "topic": "market interest rates",
    "event_count": 1
  },
  {
    "topic_id": "70953299",
    "topic": "yen interest rates",
    "event_count": 1
  },
  {
    "topic_id": "217282705",
    "topic": "short-term interest rates",
    "event_count": 2
  }
]

Code Samples

Bash

curl --request GET \
  --url 'https://premium.aiera.com/api/topics/from_events' \
  --header 'X-API-Key: xxx'

Python

import requests
requests.get("https://premium.aiera.com/api/topics/from_events", headers={"X-API-Key": "xxx"})
Previous
Topics from Equities