SteadyAPI already has a marketing note about X data. It does not show how to pull the trend list for a place. This guide uses the trends endpoint, plus the location list that supplies a Where On Earth id.
👉 To access these endpoints, you must obtain an API key: https://steadyapi.com/register
Authentication
Every call uses a Bearer token from your SteadyAPI dashboard.
Documentation:
https://docs.steadyapi.com/#authenticating-requests
headers = {
'Authorization': 'Bearer YOUR_API_KEY'
}
1. Pick a location
Trends take a Where On Earth id. The default is 2459115 (United States). Worldwide is 1. The location list returns the rest.
Endpoint: GET /v1/twitter/woeid
Documentation:
https://docs.steadyapi.com/#twitter-social-GETapi-v1-twitter-woeid
This call takes no query parameters. Each item in body includes name, country, countryCode, and woeid.
2. Fetch trends
Pass the woeid you want. Omit it to use the United States default.
Endpoint: GET /v1/twitter/trends
Documentation:
https://docs.steadyapi.com/#twitter-social-GETapi-v1-twitter-trends
Parameters
woeid— optional location id (default2459115)
Request
GET https://api.steadyapi.com/v1/twitter/trends?woeid=2459115
Authorization: Bearer YOUR_API_KEY
Python
import requests
url = "https://api.steadyapi.com/v1/twitter/trends"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
params = {"woeid": 2459115}
response = requests.get(url, headers=headers, params=params)
response.raise_for_status()
trends = response.json().get("body", [])
for trend in trends[:10]:
print(trend.get("name"), trend.get("tweet_volume"), trend.get("query"))
Response fields
meta.woeid echoes the location you asked for. Each item in body includes:
name— trend labelquery— search query for that trendurl— link to the trend searchtweet_volume— tweet volume when the source provides it
Practical use
Poll one woeid on a schedule and store name plus tweet_volume. Switch the id when you want another country or city from /v1/twitter/woeid.
👉 Get your API key and track trends: https://steadyapi.com/register