Felo API PlatformFelo API Platform

Data API / X / Trends

Get Trends

Get the trending topics for a location, identified by its Yahoo WOEID (Where On Earth ID), with an optional count (default 30). Use this for a real-time read on what a specific market is talking about right now — useful for timing content or spotting emerging stories. Returns trend names and volumes under trends. Once you pick a trend, search its posts with get_twitter_tweet_advanced_search.

Параметры

запрос

  • woeidintegerОбязательный

    The WOEID of the location. Example: 2418046.

  • countintegerНеобязательный

    The number of trends to return. Default is 30.

Пример запроса

curl -G "https://openapi.felo.ai/v1/beta/twitter/trends" \
  --data-urlencode "woeid=<integer>" \
  -H "Authorization: Bearer $FELO_API_KEY"

Ответ

Поля ответа

  • trendsobject[]Необязательный
  • namestringНеобязательный
  • targetobjectНеобязательный
  • querystringНеобязательный
  • rankintegerНеобязательный
  • meta_descriptionstringНеобязательный
  • statusstringНеобязательный

    Допустимые значения: success · error

  • msgstringНеобязательный