The X Trendings Information API is an advanced tool designed to provide up-to-date data on the most popular topics and hashtags on Twitter, organized by WOEID (Where On Earth IDentifier), which represents specific geographic locations. This API allows developers, analysts, and businesses to access real-time data on topics that are generating conversation at the local, national, or global level, providing an accurate view of social and media trends.
When consulting the API, you get a structured list of the most talked-about topics, including the name of the trend, the direct search link on Twitter, the encoded query, and the volume of tweets when available. This allows you to identify which conversations dominate the platform at a given moment and how user interests evolve in different regions. In addition, the API returns information on popular hashtags, proper names, events, news, sports teams, personalities, and viral phenomena, making it an ideal source for brand monitoring, social research, and public opinion analysis.
The data provided is highly structured and easy to integrate into dashboards, monitoring applications, or trend analysis tools. Developers can use the endpoints to filter results by region, analyze the frequency of mentions, or compare trends between different countries or cities. It is also useful for media outlets and marketing agencies looking to detect emerging topics before they reach their peak popularity.
The API maintains fast and reliable performance, constantly updating information to reflect dynamic changes in global conversation. Thanks to its accuracy and focus on temporal relevance, the X Trendings Information API is an essential tool for those who need to understand the digital pulse of the moment, anticipate movements on social media, and adapt communication or content strategies based on dominant trends on Twitter.
Get all available countries along with their WOEID.
{
"Algeria": 23424740,
"Argentina": 23424747,
"Australia": 23424748,
"Austria": 23424750,
"Bahrain": 23424753,
"Belarus": 23424765,
"Belgium": 23424757,
"Brazil": 23424768,
"Canada": 23424775,
"Chile": 23424782,
"Colombia": 23424787,
"Denmark": 23424796,
"Dominican Republic": 23424800,
"Ecuador": 23424801,
"Egypt": 23424802,
"France": 23424819,
"Germany": 23424829,
"Ghana": 23424824,
"Greece": 23424833,
"Guatemala": 23424834,
"India": 23424848,
"Indonesia": 23424846,
"Ireland": 23424803,
"Israel": 23424852,
"Italy": 23424853,
"Japan": 23424856,
"Jordan": 23424860,
"Kenya": 23424863,
"Kuwait": 23424870,
"Latvia": 23424874,
"Lebanon": 23424873,
"Malaysia": 23424901,
"Mexico": 23424900,
"Netherlands": 23424909,
"New Zealand": 23424916,
"Nigeria": 23424908,
"Norway": 23424910,
"Oman": 23424898,
"Pakistan": 23424922,
"Panama": 23424924,
"Peru": 23424919,
"Philippines": 23424934,
"Poland": 23424923,
"Portugal": 23424925,
"Puerto Rico": 23424935,
"Qatar": 23424930,
"Russia": 23424936,
"Saudi Arabia": 23424938,
"Singapore": 23424948,
"South Africa": 23424942,
"South Korea": 23424868,
"Spain": 23424950,
"Sweden": 23424954,
"Switzerland": 23424957,
"Thailand": 23424960,
"Turkey": 23424969,
"Ukraine": 23424976,
"United Arab Emirates": 23424738,
"United Kingdom": 23424975,
"United States": 23424977,
"Venezuela": 23424982,
"Vietnam": 23424984,
"Worldwide": 1
}
curl --location --request GET 'https://zylalabs.com/api/10853/x+trendings+information+api/20541/available+countries' --header 'Authorization: Bearer YOUR_API_KEY'
Get the top Twitter trends by WOEID, including name, hashtag, tweet volume, search link, and coded queries
Get Trends - Endpoint Features
| Object | Description |
|---|---|
woeid |
[Required] Enter a WOEID |
[
{
"trends": [
{
"name": "\u30ec\u30a4\u30a8\u30b9",
"url": "http:\/\/twitter.com\/search?q=%E3%83%AC%E3%82%A4%E3%82%A8%E3%82%B9",
"promoted_content": null,
"query": "%E3%83%AC%E3%82%A4%E3%82%A8%E3%82%B9",
"tweet_volume": 11357
},
{
"name": "#LoveYourW2025",
"url": "http:\/\/twitter.com\/search?q=%23LoveYourW2025",
"promoted_content": null,
"query": "%23LoveYourW2025",
"tweet_volume": 162892
},
{
"name": "\u30a2\u30ba\u30e9\u30a4\u30fc\u30eb",
"url": "http:\/\/twitter.com\/search?q=%E3%82%A2%E3%82%BA%E3%83%A9%E3%82%A4%E3%83%BC%E3%83%AB",
"promoted_content": null,
"query": "%E3%82%A2%E3%82%BA%E3%83%A9%E3%82%A4%E3%83%BC%E3%83%AB",
"tweet_volume": 41159
},
{
"name": "#\u962a\u795e\u30bf\u30a4\u30ac\u30fc\u30b9",
"url": "http:\/\/twitter.com\/search?q=%23%E9%98%AA%E7%A5%9E%E3%82%BF%E3%82%A4%E3%82%AC%E3%83%BC%E3%82%B9",
"promoted_content": null,
"query": "%23%E9%98%AA%E7%A5%9E%E3%82%BF%E3%82%A4%E3%82%AC%E3%83%BC%E3%82%B9",
"tweet_volume": 30170
},
{
"name": "#sbhawks",
"url": "http:\/\/twitter.com\/search?q=%23sbhawks",
"promoted_content": null,
"query": "%23sbhawks",
"tweet_volume": 31944
},
{
"name": "#lovefighters",
"url": "http:\/\/twitter.com\/search?q=%23lovefighters",
"promoted_content": null,
"query": "%23lovefighters",
"tweet_volume": 32650
},
{
"name": "#ananAWARD2025",
"url": "http:\/\/twitter.com\/search?q=%23ananAWARD2025",
"promoted_content": null,
"query": "%23ananAWARD2025",
"tweet_volume": 38444
},
{
"name": "\u30d5\u30a9\u30fc\u30c9",
"url": "http:\/\/twitter.com\/search?q=%E3%83%95%E3%82%A9%E3%83%BC%E3%83%89",
"promoted_content": null,
"query": "%E3%83%95%E3%82%A9%E3%83%BC%E3%83%89",
"tweet_volume": null
},
{
"name": "\u77f3\u4e95\u5927\u667a",
"url": "http:\/\/twitter.com\/search?q=%E7%9F%B3%E4%BA%95%E5%A4%A7%E6%99%BA",
"promoted_content": null,
"query": "%E7%9F%B3%E4%BA%95%E5%A4%A7%E6%99%BA",
"tweet_volume": null
},
{
"name": "\u30dd\u30b1\u30e2\u30f3",
"url": "http:\/\/twitter.com\/search?q=%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3",
"promoted_content": null,
"query": "%E3%83%9D%E3%82%B1%E3%83%A2%E3%83%B3",
"tweet_volume": 100745
},
{
"name": "Raila",
"url": "http:\/\/twitter.com\/search?q=Raila",
"promoted_content": null,
"query": "Raila",
"tweet_volume": 249788
},
{
"name": "AVOCEAN DRIVER GRAB WITH JS",
"url": "http:\/\/twitter.com\/search?q=%22AVOCEAN+DRIVER+GRAB+WITH+JS%22",
"promoted_content": null,
"query": "%22AVOCEAN+DRIVER+GRAB+WITH+JS%22",
"tweet_volume": 35994
},
{
"name": "\u30b0\u30e9\u30f3\u30c9\u30a2\u30b5\u30b7\u30f3",
"url": "http:\/\/twitter.com\/search?q=%E3%82%B0%E3%83%A9%E3%83%B3%E3%83%89%E3%82%A2%E3%82%B5%E3%82%B7%E3%83%B3",
"promoted_content": null,
"query": "%E3%82%B0%E3%83%A9%E3%83%B3%E3%83%89%E3%82%A2%E3%82%B5%E3%82%B7%E3%83%B3",
"tweet_volume": null
},
{
"name": "4 PODUM X ZEENUNEW",
"url": "http:\/\/twitter.com\/search?q=%224+PODUM+X+ZEENUNEW%22",
"promoted_content": null,
"query": "%224+PODUM+X+ZEENUNEW%22",
"tweet_volume": 88683
},
{
"name": "\u30e2\u30a4\u30cd\u30ed",
"url": "http:\/\/twitter.com\/search?q=%E3%83%A2%E3%82%A4%E3%83%8D%E3%83%AD",
"promoted_content": null,
"query": "%E3%83%A2%E3%82%A4%E3%83%8D%E3%83%AD",
"tweet_volume": null
},
{
"name": "\u653f\u7b56\u5354\u8b70",
"url": "http:\/\/twitter.com\/search?q=%E6%94%BF%E7%AD%96%E5%8D%94%E8%AD%B0",
"promoted_content": null,
"query": "%E6%94%BF%E7%AD%96%E5%8D%94%E8%AD%B0",
"tweet_volume": 14011
},
{
"name": "GEMINI IS SAMUT TDD EP6",
"url": "http:\/\/twitter.com\/search?q=%22GEMINI+IS+SAMUT+TDD+EP6%22",
"promoted_content": null,
"query": "%22GEMINI+IS+SAMUT+TDD+EP6%22",
"tweet_volume": null
},
{
"name": "\u9023\u7acb\u8996\u91ce",
"url": "http:\/\/twitter.com\/search?q=%E9%80%A3%E7%AB%8B%E8%A6%96%E9%87%8E",
"promoted_content": null,
"query": "%E9%80%A3%E7%AB%8B%E8%A6%96%E9%87%8E",
"tweet_volume": null
},
{
"name": "\u8fd1\u672c\u306e\u4e09\u76d7",
"url": "http:\/\/twitter.com\/search?q=%E8%BF%91%E6%9C%AC%E3%81%AE%E4%B8%89%E7%9B%97",
"promoted_content": null,
"query": "%E8%BF%91%E6%9C%AC%E3%81%AE%E4%B8%89%E7%9B%97",
"tweet_volume": null
},
{
"name": "65TH GRAFF SG X GULF",
"url": "http:\/\/twitter.com\/search?q=%2265TH+GRAFF+SG+X+GULF%22",
"promoted_content": null,
"query": "%2265TH+GRAFF+SG+X+GULF%22",
"tweet_volume": 31610
},
{
"name": "\u30f4\u30a1\u30a4\u30d1\u30fc",
"url": "http:\/\/twitter.com\/search?q=%E3%83%B4%E3%82%A1%E3%82%A4%E3%83%91%E3%83%BC",
"promoted_content": null,
"query": "%E3%83%B4%E3%82%A1%E3%82%A4%E3%83%91%E3%83%BC",
"tweet_volume": 17115
},
{
"name": "\u81ea\u6c11\u3068\u7dad\u65b0",
"url": "http:\/\/twitter.com\/search?q=%E8%87%AA%E6%B0%91%E3%81%A8%E7%B6%AD%E6%96%B0",
"promoted_content": null,
"query": "%E8%87%AA%E6%B0%91%E3%81%A8%E7%B6%AD%E6%96%B0",
"tweet_volume": 18773
},
{
"name": "\u5c71\u306e\u7fc1\u30ea\u30ea\u30a3",
"url": "http:\/\/twitter.com\/search?q=%E5%B1%B1%E3%81%AE%E7%BF%81%E3%83%AA%E3%83%AA%E3%82%A3",
"promoted_content": null,
"query": "%E5%B1%B1%E3%81%AE%E7%BF%81%E3%83%AA%E3%83%AA%E3%82%A3",
"tweet_volume": null
},
{
"name": "\u30d8\u30eb\u30ca\u30f3\u30c7\u30b9",
"url": "http:\/\/twitter.com\/search?q=%E3%83%98%E3%83%AB%E3%83%8A%E3%83%B3%E3%83%87%E3%82%B9",
"promoted_content": null,
"query": "%E3%83%98%E3%83%AB%E3%83%8A%E3%83%B3%E3%83%87%E3%82%B9",
"tweet_volume": null
},
{
"name": "Patriot Pendidikan",
"url": "http:\/\/twitter.com\/search?q=%22Patriot+Pendidikan%22",
"promoted_content": null,
"query": "%22Patriot+Pendidikan%22",
"tweet_volume": null
},
{
"name": "\u52c7\u3061\u3083\u3093",
"url": "http:\/\/twitter.com\/search?q=%E5%8B%87%E3%81%A1%E3%82%83%E3%82%93",
"promoted_content": null,
"query": "%E5%8B%87%E3%81%A1%E3%82%83%E3%82%93",
"tweet_volume": null
},
{
"name": "BEAUTY THE PEI EN WAY",
"url": "http:\/\/twitter.com\/search?q=%22BEAUTY+THE+PEI+EN+WAY%22",
"promoted_content": null,
"query": "%22BEAUTY+THE+PEI+EN+WAY%22",
"tweet_volume": 21698
},
{
"name": "\u30d9\u30b9\u30c8\u30b0\u30ea\u30fc\u30f3",
"url": "http:\/\/twitter.com\/search?q=%E3%83%99%E3%82%B9%E3%83%88%E3%82%B0%E3%83%AA%E3%83%BC%E3%83%B3",
"promoted_content": null,
"query": "%E3%83%99%E3%82%B9%E3%83%88%E3%82%B0%E3%83%AA%E3%83%BC%E3%83%B3",
"tweet_volume": null
},
{
"name": "\u092a\u0902\u0915\u091c \u0927\u0940\u0930",
"url": "http:\/\/twitter.com\/search?q=%22%E0%A4%AA%E0%A4%82%E0%A4%95%E0%A4%9C+%E0%A4%A7%E0%A5%80%E0%A4%B0%22",
"promoted_content": null,
"query": "%22%E0%A4%AA%E0%A4%82%E0%A4%95%E0%A4%9C+%E0%A4%A7%E0%A5%80%E0%A4%B0%22",
"tweet_volume": null
},
{
"name": "\u30cf\u30c9\u30bd\u30f3",
"url": "http:\/\/twitter.com\/search?q=%E3%83%8F%E3%83%89%E3%82%BD%E3%83%B3",
"promoted_content": null,
"query": "%E3%83%8F%E3%83%89%E3%82%BD%E3%83%B3",
"tweet_volume": null
},
{
"name": "LEE KNOW FOR HARPERS BAZAAR",
"url": "http:\/\/twitter.com\/search?q=%22LEE+KNOW+FOR+HARPERS+BAZAAR%22",
"promoted_content": null}]},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/10853/x+trendings+information+api/20542/get+trends?woeid=1' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The "GET Available Countries" endpoint returns a list of countries along with their corresponding WOEIDs. The "GET Get Trends" endpoint provides the top Twitter trends for a specified WOEID, including trend names, hashtags, tweet volumes, search links, and encoded queries.
For "GET Available Countries," the key fields are country names and their WOEIDs. For "GET Get Trends," key fields include trend name, tweet volume, search link, and encoded query, which help identify and analyze trending topics.
The response data is structured in JSON format. For "GET Available Countries," it returns a key-value pair of country names and WOEIDs. For "GET Get Trends," it returns an array of trends, each containing multiple fields like name, volume, and links, making it easy to parse and utilize.
The "GET Available Countries" endpoint provides a comprehensive list of countries and their WOEIDs. The "GET Get Trends" endpoint offers detailed information on trending topics, including hashtags, tweet volumes, and direct search links, allowing for in-depth trend analysis.
Users can customize their requests by specifying the WOEID in the "GET Get Trends" endpoint to retrieve trends for a specific location. This allows for targeted analysis of trends relevant to particular regions or countries.
Typical use cases include brand monitoring, social research, public opinion analysis, and media reporting. Businesses and analysts can leverage the data to identify emerging trends, gauge public sentiment, and adapt marketing strategies based on real-time conversations.
Data accuracy is maintained through continuous updates from Twitter's trending topics, ensuring that the information reflects the most current conversations. The API's design focuses on temporal relevance, providing reliable insights into social media trends.
Users can expect trends to vary by region, with some topics gaining traction locally while others are globally relevant. The tweet volume may also fluctuate, indicating the intensity of discussions around specific trends, which can be analyzed over time for deeper insights.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
469ms
Service Level:
100%
Response Time:
188ms
Service Level:
100%
Response Time:
444ms
Service Level:
100%
Response Time:
10,371ms
Service Level:
100%
Response Time:
1,135ms
Service Level:
100%
Response Time:
672ms
Service Level:
100%
Response Time:
940ms
Service Level:
100%
Response Time:
493ms
Service Level:
100%
Response Time:
402ms
Service Level:
100%
Response Time:
2,149ms
Service Level:
67%
Response Time:
1,982ms
Service Level:
100%
Response Time:
3,862ms
Service Level:
100%
Response Time:
705ms
Service Level:
50%
Response Time:
1,321ms
Service Level:
100%
Response Time:
7,051ms
Service Level:
100%
Response Time:
2,930ms
Service Level:
100%
Response Time:
2,901ms
Service Level:
100%
Response Time:
309ms
Service Level:
100%
Response Time:
3,954ms
Service Level:
91%
Response Time:
4,654ms