Twitter X Trends API

API ID 1858

The Twitter X Trends API provides access to the current trending topics on Twitter for specific countries or cities.

100% uptime 672 ms avg response

API Documentation

Endpoints

Request

To use this endpoint you must indicate a WOEID that you will find in the Get Places endpoint.

Endpoint ID: 5930
GET https://zylalabs.com/api/1858/twitter+x+trends+api/5930/trends+capture
INPUT PARAMETERS

Trends Capture — Endpoint Features

Object Description
woeid Required

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

woeid
API EXAMPLE RESPONSE
JSON
{"status":true,"trends":[{"name":"Martinelli","query":"Martinelli","url":"https:\/\/twitter.com\/search?q=Martinelli","tweet_volume":null,"tweet_volume_text":""},{"name":"Harriet","query":"Harriet","url":"https:\/\/twitter.com\/search?q=Harriet","tweet_volume":null,"tweet_volume_text":""},{"name":"#Pompey","query":"%23Pompey","url":"https:\/\/twitter.com\/search?q=%23Pompey","tweet_volume":null,"tweet_volume_text":""},{"name":"Gassama","query":"Gassama","url":"https:\/\/twitter.com\/search?q=Gassama","tweet_volume":null,"tweet_volume_text":""},{"name":"Gundogan","query":"Gundogan","url":"https:\/\/twitter.com\/search?q=Gundogan","tweet_volume":null,"tweet_volume_text":""},{"name":"Nwaneri","query":"Nwaneri","url":"https:\/\/twitter.com\/search?q=Nwaneri","tweet_volume":null,"tweet_volume_text":""},{"name":"Foden","query":"Foden","url":"https:\/\/twitter.com\/search?q=Foden","tweet_volume":null,"tweet_volume_text":""},{"name":"#MCFC","query":"%23MCFC","url":"https:\/\/twitter.com\/search?q=%23MCFC","tweet_volume":null,"tweet_volume_text":""},{"name":"Bogle","query":"Bogle","url":"https:\/\/twitter.com\/search?q=Bogle","tweet_volume":null,"tweet_volume_text":""},{"name":"Declan Rice","query":"Declan+Rice","url":"https:\/\/twitter.com\/search?q=Declan+Rice","tweet_volume":null,"tweet_volume_text":""},{"name":"Grace","query":"Grace","url":"https:\/\/twitter.com\/search?q=Grace","tweet_volume":152000,"tweet_volume_text":"152K"},{"name":"Rohl","query":"Rohl","url":"https:\/\/twitter.com\/search?q=Rohl","tweet_volume":null,"tweet_volume_text":""},{"name":"Tanaka","query":"Tanaka","url":"https:\/\/twitter.com\/search?q=Tanaka","tweet_volume":13000,"tweet_volume_text":"13K"},{"name":"Fisher","query":"Fisher","url":"https:\/\/twitter.com\/search?q=Fisher","tweet_volume":null,"tweet_volume_text":""},{"name":"Girona","query":"Girona","url":"https:\/\/twitter.com\/search?q=Girona","tweet_volume":16000,"tweet_volume_text":"16K"},{"name":"Robins","query":"Robins","url":"https:\/\/twitter.com\/search?q=Robins","tweet_volume":null,"tweet_volume_text":""},{"name":"Luca","query":"Luca","url":"https:\/\/twitter.com\/search?q=Luca","tweet_volume":40000,"tweet_volume_text":"40K"},{"name":"Manning","query":"Manning","url":"https:\/\/twitter.com\/search?q=Manning","tweet_volume":null,"tweet_volume_text":""},{"name":"Shea Charles","query":"Shea+Charles","url":"https:\/\/twitter.com\/search?q=Shea+Charles","tweet_volume":null,"tweet_volume_text":""},{"name":"#AllStars","query":"%23AllStars","url":"https:\/\/twitter.com\/search?q=%23AllStars","tweet_volume":null,"tweet_volume_text":""},{"name":"Manchester City","query":"Manchester+City","url":"https:\/\/twitter.com\/search?q=Manchester+City","tweet_volume":75000,"tweet_volume_text":"75K"},{"name":"Vini","query":"Vini","url":"https:\/\/twitter.com\/search?q=Vini","tweet_volume":66000,"tweet_volume_text":"66K"},{"name":"#EastEnders","query":"%23EastEnders","url":"https:\/\/twitter.com\/search?q=%23EastEnders","tweet_volume":null,"tweet_volume_text":""},{"name":"#Storm\u00c9owyn","query":"%23Storm%C3%89owyn","url":"https:\/\/twitter.com\/search?q=%23Storm%C3%89owyn","tweet_volume":null,"tweet_volume_text":""},{"name":"Ricky","query":"Ricky","url":"https:\/\/twitter.com\/search?q=Ricky","tweet_volume":39000,"tweet_volume_text":"39K"},{"name":"Sesko","query":"Sesko","url":"https:\/\/twitter.com\/search?q=Sesko","tweet_volume":19000,"tweet_volume_text":"19K"},{"name":"mRNA","query":"mRNA","url":"https:\/\/twitter.com\/search?q=mRNA","tweet_volume":308000,"tweet_volume_text":"308K"},{"name":"Charlotte","query":"Charlotte","url":"https:\/\/twitter.com\/search?q=Charlotte","tweet_volume":84000,"tweet_volume_text":"84K"},{"name":"Minah","query":"Minah","url":"https:\/\/twitter.com\/search?q=Minah","tweet_volume":null,"tweet_volume_text":""},{"name":"Freddie","query":"Freddie","url":"https:\/\/twitter.com\/search?q=Freddie","tweet_volume":10000,"tweet_volume_text":"10K"},{"name":"Leanne","query":"Leanne","url":"https:\/\/twitter.com\/search?q=Leanne","tweet_volume":null,"tweet_volume_text":""},{"name":"Man City","query":"Man+City","url":"https:\/\/twitter.com\/search?q=Man+City","tweet_volume":74000,"tweet_volume_text":"74K"},{"name":"Brugge","query":"Brugge","url":"https:\/\/twitter.com\/search?q=Brugge","tweet_volume":null,"tweet_volume_text":""},{"name":"Bayern","query":"Bayern","url":"https:\/\/twitter.com\/search?q=Bayern","tweet_volume":78000,"tweet_volume_text":"78K"},{"name":"Nunes","query":"Nunes","url":"https:\/\/twitter.com\/search?q=Nunes","tweet_volume":25000,"tweet_volume_text":"25K"},{"name":"Kovacic","query":"Kovacic","url":"https:\/\/twitter.com\/search?q=Kovacic","tweet_volume":null,"tweet_volume_text":""},{"name":"Joao Neves","query":"Joao+Neves","url":"https:\/\/twitter.com\/search?q=Joao+Neves","tweet_volume":32000,"tweet_volume_text":"32K"},{"name":"Barcola","query":"Barcola","url":"https:\/\/twitter.com\/search?q=Barcola","tweet_volume":21000,"tweet_volume_text":"21K"},{"name":"Bernardo","query":"Bernardo","url":"https:\/\/twitter.com\/search?q=Bernardo","tweet_volume":21000,"tweet_volume_text":"21K"},{"name":"Rico Lewis","query":"Rico+Lewis","url":"https:\/\/twitter.com\/search?q=Rico+Lewis","tweet_volume":null,"tweet_volume_text":""},{"name":"Dembele","query":"Dembele","url":"https:\/\/twitter.com\/search?q=Dembele","tweet_volume":26000,"tweet_volume_text":"26K"},{"name":"Ederson","query":"Ederson","url":"https:\/\/twitter.com\/search?q=Ederson","tweet_volume":null,"tweet_volume_text":""},{"name":"Champions League","query":"Champions+League","url":"https:\/\/twitter.com\/search?q=Champions+League","tweet_volume":142000,"tweet_volume_text":"142K"},{"name":"Plymouth","query":"Plymouth","url":"https:\/\/twitter.com\/search?q=Plymouth","tweet_volume":null,"tweet_volume_text":""},{"name":"Jake","query":"Jake","url":"https:\/\/twitter.com\/search?q=Jake","tweet_volume":105000,"tweet_volume_text":"105K"},{"name":"Idah","query":"Idah","url":"https:\/\/twitter.com\/search?q=Idah","tweet_volume":null,"tweet_volume_text":""},{"name":"Maeda","query":"Maeda","url":"https:\/\/twitter.com\/search?q=Maeda","tweet_volume":null,"tweet_volume_text":""},{"name":"Elma","query":"Elma","url":"https:\/\/twitter.com\/search?q=Elma","tweet_volume":10000,"tweet_volume_text":"10K"},{"name":"Marcel","query":"Marcel","url":"https:\/\/twitter.com\/search?q=Marcel","tweet_volume":15000,"tweet_volume_text":"15K"}]}
Trends Capture — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/1858/twitter+x+trends+api/5930/trends+capture?woeid=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

To use this endpoint you only have to run it and you will get the available places.

Endpoint ID: 5931
GET https://zylalabs.com/api/1858/twitter+x+trends+api/5931/get+places
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
{"status":true,"places":[{"parent_id":0,"woeid":1,"name":"Worldwide","slug":null},{"parent_id":23424775,"woeid":2972,"name":"Winnipeg","slug":"winnipeg"},{"parent_id":23424775,"woeid":3369,"name":"Ottawa","slug":"ottawa"},{"parent_id":23424775,"woeid":3444,"name":"Quebec","slug":"quebec"},{"parent_id":23424775,"woeid":3534,"name":"Montreal","slug":"montreal"},{"parent_id":23424775,"woeid":4118,"name":"Toronto","slug":"toronto"},{"parent_id":23424775,"woeid":8676,"name":"Edmonton","slug":"edmonton"},{"parent_id":23424775,"woeid":8775,"name":"Calgary","slug":"calgary"},{"parent_id":23424775,"woeid":9807,"name":"Vancouver","slug":"vancouver"},{"parent_id":23424975,"woeid":12723,"name":"Birmingham","slug":"birmingham"},{"parent_id":23424975,"woeid":12903,"name":"Blackpool","slug":"blackpool"},{"parent_id":23424975,"woeid":13383,"name":"Bournemouth","slug":"bournemouth"},{"parent_id":23424975,"woeid":13911,"name":"Brighton","slug":"brighton"},{"parent_id":23424975,"woeid":13963,"name":"Bristol","slug":"bristol"},{"parent_id":23424975,"woeid":15127,"name":"Cardiff","slug":"cardiff"},{"parent_id":23424975,"woeid":17044,"name":"Coventry","slug":"coventry"},{"parent_id":23424975,"woeid":18114,"name":"Derby","slug":"derby"},{"parent_id":23424975,"woeid":19344,"name":"Edinburgh","slug":"edinburgh"},{"parent_id":23424975,"woeid":21125,"name":"Glasgow","slug":"glasgow"},{"parent_id":23424975,"woeid":25211,"name":"Hull","slug":"hull"},{"parent_id":23424975,"woeid":26042,"name":"Leeds","slug":"leeds"},{"parent_id":23424975,"woeid":26062,"name":"Leicester","slug":"leicester"},{"parent_id":23424975,"woeid":26734,"name":"Liverpool","slug":"liverpool"},{"parent_id":23424975,"woeid":28218,"name":"Manchester","slug":"manchester"},{"parent_id":23424975,"woeid":28869,"name":"Middlesbrough","slug":"middlesbrough"},{"parent_id":23424975,"woeid":30079,"name":"Newcastle","slug":"newcastle"},{"parent_id":23424975,"woeid":30720,"name":"Nottingham","slug":"nottingham"},{"parent_id":23424975,"woeid":32185,"name":"Plymouth","slug":"plymouth"},{"parent_id":23424975,"woeid":32452,"name":"Portsmouth","slug":"portsmouth"},{"parent_id":23424975,"woeid":32566,"name":"Preston","slug":"preston"},{"parent_id":23424975,"woeid":34503,"name":"Sheffield","slug":"sheffield"},{"parent_id":23424975,"woeid":36240,"name":"Stoke-on-Trent","slug":"stoke-on-trent"},{"parent_id":23424975,"woeid":36758,"name":"Swansea","slug":"swansea"},{"parent_id":23424975,"woeid":44418,"name":"London","slug":"london"},{"parent_id":23424975,"woeid":44544,"name":"Belfast","slug":"belfast"},{"parent_id":23424800,"woeid":76456,"name":"Santo Domingo","slug":"santo-domingo"},{"parent_id":23424834,"woeid":83123,"name":"Guatemala City","slug":"guatemala-city"},{"parent_id":23424900,"woeid":110978,"name":"Acapulco","slug":"acapulco"},{"parent_id":23424900,"woeid":111579,"name":"Aguascalientes","slug":"aguascalientes"},{"parent_id":23424900,"woeid":115958,"name":"Chihuahua","slug":"chihuahua"},{"parent_id":23424900,"woeid":116545,"name":"Mexico City","slug":"mexico-city"},{"parent_id":23424900,"woeid":116556,"name":"Ciudad Juarez","slug":"ciudad-juarez"},{"parent_id":23424900,"woeid":116564,"name":"Nezahualc\u00f3yotl","slug":"nezahualcoyotl"},{"parent_id":23424900,"woeid":117994,"name":"Culiac\u00e1n","slug":"culiacan"},{"parent_id":23424900,"woeid":118466,"name":"Ecatepec de Morelos","slug":"ecatepec-de-morelos"},{"parent_id":23424900,"woeid":124162,"name":"Guadalajara","slug":"guadalajara"},{"parent_id":23424900,"woeid":124785,"name":"Hermosillo","slug":"hermosillo"},{"parent_id":23424900,"woeid":131068,"name":"Le\u00f3n","slug":"leon"},{"parent_id":23424900,"woeid":133327,"name":"M\u00e9rida","slug":"merida"},{"parent_id":23424900,"woeid":133475,"name":"Mexicali","slug":"mexicali"},{"parent_id":23424900,"woeid":134047,"name":"Monterrey","slug":"monterrey"},{"parent_id":23424900,"woeid":134091,"name":"Morelia","slug":"morelia"},{"parent_id":23424900,"woeid":134395,"name":"Naucalpan de Ju\u00e1rez","slug":"naucalpan-de-juarez"},{"parent_id":23424900,"woeid":137612,"name":"Puebla","slug":"puebla"},{"parent_id":23424900,"woeid":138045,"name":"Quer\u00e9taro","slug":"queretaro"},{"parent_id":23424900,"woeid":141272,"name":"Saltillo","slug":"saltillo"},{"parent_id":23424900,"woeid":144265,"name":"San Luis Potos\u00ed","slug":"san-luis-potosi"},{"parent_id":23424900,"woeid":149361,"name":"Tijuana","slug":"tijuana"},{"parent_id":23424900,"woeid":149769,"name":"Toluca","slug":"toluca"},{"parent_id":23424900,"woeid":151582,"name":"Zapopan","slug":"zapopan"},{"parent_id":23424747,"woeid":332471,"name":"Mendoza","slug":"mendoza"},{"parent_id":23424782,"woeid":349859,"name":"Santiago","slug":"santiago"},{"parent_id":23424782,"woeid":349860,"name":"Concepcion","slug":"concepcion"},{"parent_id":23424782,"woeid":349861,"name":"Valparaiso","slug":"valparaiso"},{"parent_id":23424787,"woeid":368148,"name":"Bogot\u00e1","slug":"bogota"},{"parent_id":23424787,"woeid":368149,"name":"Cali","slug":"cali"},{"parent_id":23424787,"woeid":368150,"name":"Medell\u00edn","slug":"medellin"},{"parent_id":23424787,"woeid":368151,"name":"Barranquilla","slug":"barranquilla"},{"parent_id":23424801,"woeid":375732,"name":"Quito","slug":"quito"},{"parent_id":23424801,"woeid":375733,"name":"Guayaquil","slug":"guayaquil"},{"parent_id":23424982,"woeid":395269,"name":"Caracas","slug":"caracas"},{"parent_id":23424982,"woeid":395270,"name":"Maracaibo","slug":"maracaibo"},{"parent_id":23424982,"woeid":395271,"name":"Maracay","slug":"maracay"},{"parent_id":23424982,"woeid":395272,"name":"Valencia","slug":"valencia"},{"parent_id":23424982,"woeid":395273,"name":"Barcelona","slug":"barcelona"},{"parent_id":23424982,"woeid":395275,"name":"Ciudad Guayana","slug":"ciudad-guayana"},{"parent_id":23424982,"woeid":395277,"name":"Turmero","slug":"turmero"},{"parent_id":23424919,"woeid":418440,"name":"Lima","slug":"lima"},{"parent_id":23424768,"woeid":455819,"name":"Bras\u00edlia","slug":"brasilia"},{"parent_id":23424768,"woeid":455820,"name":"Bel\u00e9m","slug":"belem"},{"parent_id":23424768,"woeid":455821,"name":"Belo Horizonte","slug":"belo-horizonte"},{"parent_id":23424768,"woeid":455822,"name":"Curitiba","slug":"curitiba"},{"parent_id":23424768,"woeid":455823,"name":"Porto Alegre","slug":"porto-alegre"},{"parent_id":23424768,"woeid":455824,"name":"Recife","slug":"recife"},{"parent_id":23424768,"woeid":455825,"name":"Rio de Janeiro","slug":"rio-de-janeiro"},{"parent_id":23424768,"woeid":455826,"name":"Salvador","slug":"salvador"},{"parent_id":23424768,"woeid":455827,"name":"S\u00e3o Paulo","slug":"sao-paulo"},{"parent_id":23424768,"woeid":455828,"name":"Campinas","slug":"campinas"},{"parent_id":23424768,"woeid":455830,"name":"Fortaleza","slug":"fortaleza"},{"parent_id":23424768,"woeid":455831,"name":"Goi\u00e2nia","slug":"goiania"},{"parent_id":23424768,"woeid":455833,"name":"Manaus","slug":"manaus"},{"parent_id":23424768,"woeid":455834,"name":"S\u00e3o Lu\u00eds","slug":"sao-luis"},{"parent_id":23424768,"woeid":455867,"name":"Guarulhos","slug":"guarulhos"},{"parent_id":23424747,"woeid":466861,"name":"C\u00f3rdoba","slug":"cordoba"},{"parent_id":23424747,"woeid":466862,"name":"Rosario","slug":"rosario"},{"parent_id":23424982,"woeid":468382,"name":"Barquisimeto","slug":"barquisimeto"},{"parent_id":23424982,"woeid":468384,"name":"Matur\u00edn","slug":"maturin"},{"parent_id":23424747,"woeid":468739,"name":"Buenos Aires","slug":"buenos-aires"},{"parent_id":23424923,"woeid":493417,"name":"Gda\u0144sk","slug":"gdansk"},{"parent_id":23424923,"woeid":502075,"name":"Krak\u00f3w","slug":"krakow"},{"parent_id":23424923,"woeid":505120,"name":"Lodz","slug":"lodz"},{"parent_id":23424923,"woeid":514048,"name":"Pozna\u0144","slug":"poznan"},{"parent_id":23424923,"woeid":523920,"name":"Warsaw","slug":"warsaw"},{"parent_id":23424923,"woeid":526363,"name":"Wroclaw","slug":"wroclaw"},{"parent_id":23424750,"woeid":551801,"name":"Vienna","slug":"vienna"},{"parent_id":23424803,"woeid":560472,"name":"Cork","slug":"cork"},{"parent_id":23424803,"woeid":560743,"name":"Dublin","slug":"dublin"},{"parent_id":23424803,"woeid":560912,"name":"Galway","slug":"galway"},{"parent_id":23424819,"woeid":580778,"name":"Bordeaux","slug":"bordeaux"},{"parent_id":23424819,"woeid":608105,"name":"Lille","slug":"lille"},{"parent_id":23424819,"woeid":609125,"name":"Lyon","slug":"lyon"},{"parent_id":23424819,"woeid":610264,"name":"Marseille","slug":"marseille"},{"parent_id":23424819,"woeid":612977,"name":"Montpellier","slug":"montpellier"},{"parent_id":23424819,"woeid":613858,"name":"Nantes","slug":"nantes"},{"parent_id":23424819,"woeid":615702,"name":"Paris","slug":"paris"},{"parent_id":23424819,"woeid":619163,"name":"Rennes","slug":"rennes"},{"parent_id":23424819,"woeid":627791,"name":"Strasbourg","slug":"strasbourg"},{"parent_id":23424819,"woeid":628886,"name":"Toulouse","slug":"toulouse"},{"parent_id":23424829,"woeid":638242,"name":"Berlin","slug":"berlin"},{"parent_id":23424829,"woeid":641142,"name":"Bremen","slug":"bremen"},{"parent_id":23424829,"woeid":645458,"name":"Dortmund","slug":"dortmund"},{"parent_id":23424829,"woeid":645686,"name":"Dresden","slug":"dresden"},{"parent_id":23424829,"woeid":646099,"name":"Dusseldorf","slug":"dusseldorf"},{"parent_id":23424829,"woeid":648820,"name":"Essen","slug":"essen"},{"parent_id":23424829,"woeid":650272,"name":"Frankfurt","slug":"frankfurt"},{"parent_id":23424829,"woeid":656958,"name":"Hamburg","slug":"hamburg"},{"parent_id":23424829,"woeid":667931,"name":"Cologne","slug":"cologne"},{"parent_id":23424829,"woeid":671072,"name":"Leipzig","slug":"leipzig"},{"parent_id":23424829,"woeid":676757,"name":"Munich","slug":"munich"},{"parent_id":23424829,"woeid":698064,"name":"Stuttgart","slug":"stuttgart"},{"parent_id":23424853,"woeid":711080,"name":"Bologna","slug":"bologna"},{"parent_id":23424853,"woeid":716085,"name":"Genoa","slug":"genoa"},{"parent_id":23424853,"woeid":718345,"name":"Milan","slug":"milan"},{"parent_id":23424853}],"_note":"Response truncated for documentation purposes"}
Get Places — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/1858/twitter+x+trends+api/5931/get+places' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Twitter X Trends API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long-term commitment. Upgrade, downgrade, or cancel anytime.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan
Custom Volume

  • Custom Rate Limit
  • Team & Access Management
  • SLA-backed Uptime
  • Specialized Customer Support
  • Real-Time API Monitoring
  • Enterprise Security & Compliance
Minimum annual contract: USD 10,000

Trusted by leading companies

Overview

About the API:

The Twitter X Trends API is a powerful tool that provides users with access to current trending topics on Twitter, specific to a country or city. This API offers two endpoints: the Get Trend List Endpoint and the Get Trends Endpoint. By using these endpoints, users can retrieve a list of the top trending topics for a specific location, and then dive deeper into the details of each trend.

To use this API, users need to provide the ID of the desired country or city in the Get Trend List Endpoint. This will return a list of all the available trends in that location. Users can then use the ID of a specific trend in the Get Trends Endpoint to retrieve more information about it, such as the tweet volume and the time period in which it was trending.

This data can be extremely useful for businesses and individuals alike. For example, companies can use this data to monitor their brand reputation in real-time, by tracking mentions and sentiment across different locations. Social media managers can also use this data to plan their content strategy and create relevant content around current trends.

In addition, journalists and media outlets can use this API to stay up-to-date on the latest news and events, and to identify emerging trends in different regions. Researchers and academics can also use this data to study social trends and behaviors on Twitter, and to gain insights into the public sentiment on different topics.

Overall, the Twitter X Trends API is a valuable resource for anyone looking to track global or local conversations, and to stay on top of the latest trends in real-time.

What your API receives and what your API provides (input/output)?

It will receive a parameter and provide you with a JSON.

What are the most common uses cases of this API?

Social media monitoring: Brands and businesses can use the API to track mentions and sentiment of their brand in real-time across different locations.

Content creation: Social media managers can use the API to identify relevant trends and create content around them.

Crisis management: In the event of a crisis, companies and organizations can use the API to monitor conversations and respond quickly.

Market research: Businesses can use the API to identify emerging trends and consumer behavior.

News Monitoring: Journalists and media outlets can use the API to stay on top of the latest news and events in different regions.

Event planning: Event organizers can use the API to monitor conversations and plan their events accordingly.

Trend analysis: Researchers and academics can use the API to study social trends and behaviors on Twitter.

Location-based advertising: Marketers can use the API to target their advertising campaigns to specific regions and trends.

Product development: Businesses can use the API to identify customer needs and preferences, and develop new products accordingly.

Competitive analysis: Brands can use the API to monitor their competitors and stay ahead of the competition.

Are there any limitations to your plans?

Basic Plan: 1,000 API Calls. 50 requests per hour.

Pro Plan: 5,000 API Calls. 50 requests per hour.

Pro Plus Plan: 10,000 API Calls. 50 requests per hour.

Premium Plan: 50,000 API Calls. 50 requests per hour.

Twitter X Trends API FAQs

The Get Trend List Endpoint returns a list of available countries or cities with their corresponding WOEIDs. The Get Trends Endpoint provides the top trending topics for a specified location, including trend names, tweet volumes, and metadata.

Key fields include "name" (trend name), "query" (search query), "rank" (trend position), and "tweet_volume" (number of tweets). For location data, fields like "woeid" (location ID) and "country" (country name) are essential.

Responses are structured in JSON format. For trends, data is organized under "data" with "metadata" for context and "modules" for individual trends. For locations, data includes an array of places with attributes like "name" and "woeid."

The Get Trend List Endpoint provides available locations for trending topics, while the Get Trends Endpoint offers real-time trending topics, including their tweet volumes and engagement metrics.

Users can specify the WOEID of a desired location in the Get Trends Endpoint to retrieve trends specific to that area. The Get Trend List Endpoint allows users to filter locations based on country or city.

Data is sourced directly from Twitter's trending topics, reflecting real-time conversations and user engagement on the platform. This ensures that the trends are current and relevant to ongoing discussions.

Users can analyze trends to inform content strategies, monitor brand sentiment, or identify emerging topics. For example, a social media manager can create posts around trending hashtags to increase engagement.

Common use cases include social media monitoring, content creation, crisis management, and market research. Businesses can track brand mentions, while journalists can stay updated on breaking news and public sentiment.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs