Twitter / X
Query public users, posts, communities and 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.
- 型: integer 形式: int64woeid必須
The WOEID of the location. Example: 2418046.
- 型: integer 形式: int64count最小値:30
The number of trends to return. Default is 30.
- 型: object · TrendsResponse200
Successful response
- 型: stringmsg
- 型: string 列挙値status値
- success
- error
- 型: array object[] · Trend[]trends
- meta型: string
_description - name型: string
- rank型: integer 形式: int64
Signed 64-bit integers (long type).
- target型: object
- query型: string
application/json - 400
The request could not be processed. Check the request parameters.
- 401
A valid Felo API key is required.
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
A request or spending limit has been reached.
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/twitter/trends?woeid=1' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"trends": [
{
"name": "string",
"target": {
"query": "string"
},
"rank": 1,
"meta_description": "string"
}
],
"status": "success",
"msg": "string"
}