Felo API PlatformFelo API Platform

資料 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選填