Twitter Trending Hashtags API

Unveil the latest pulse of the digital world with our Twitter Trends API. Seamlessly access real-time trending topics and hashtags, empowering your applications to stay ahead of the conversation curve. Harness the power of social trends to engage, analyze, and captivate your audience like never before.

About the API:  

Experience the heartbeat of global conversations with the Twitter Trends API. Seamlessly access real-time trending topics and hashtags across a spectrum of regions. With an assigned WOEID list covering key nations like the United States, United Kingdom, Brazil, and more, this API offers a comprehensive pulse on social trends.

By providing WOEID (Where On Earth IDentifier) codes for specific countries, you can precisely tailor your insights to regional interests. Whether tracking political discourse, cultural shifts, or market trends, this API empowers applications to tap into the collective digital consciousness.

With coverage spanning from Algeria to Vietnam, the API accommodates diverse language and cultural nuances. Uncover emerging discussions, understand public sentiment, and engage your audience with timely content. Developers can easily integrate this API into their applications, harnessing Twitter's real-time data stream to remain agile and relevant.

Monitor trends in technology, entertainment, politics, and beyond. Unearth trending hashtags that resonate with different audiences. Whether for research, marketing, or social listening, the Twitter Trends API delivers an indispensable resource for staying informed and driving engagement.

The provided WOEID list ensures you can focus on the regions that matter most to your objectives. Leverage these insights to create targeted campaigns, enhance customer engagement, and make data-driven decisions. Elevate your application's value by integrating the Twitter Trends API, and keep your finger on the pulse of global conversation.

 

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

Pass the WOEID code and receive the latest trends for that country. 

 

What are the most common uses cases of this API?

  1. Social Media Monitoring and Analysis: Brands and businesses can use the API to monitor trending topics and hashtags related to their industry, products, or services. By analyzing the conversations around these trends, they can gain valuable insights into public sentiment, identify emerging trends, and make informed decisions about their social media strategies.

  2. Localized Marketing Campaigns: Companies can leverage the API to identify trending topics and hashtags in specific regions relevant to their target audience. This information can be used to create localized marketing campaigns that resonate with local trends, culture, and events, leading to more impactful engagement and brand awareness.

  3. Content Creation and Curation: Content creators, such as bloggers, journalists, and influencers, can utilize the API to discover current trending topics. This helps them generate timely and relevant content that captures audience attention and keeps them informed about the latest news, trends, and discussions.

  4. Event Planning and Participation: Event organizers can benefit from the API by identifying trending hashtags and topics related to upcoming events. This information can guide their event promotion strategies, encourage attendee engagement, and provide insights into the topics that attendees are most interested in discussing.

  5. Market Research and Competitive Analysis: Researchers can use the API to gather insights into the conversations and trends within specific industries. This can help them understand customer preferences, track competitors' performance, and identify gaps in the market that their products or services could fill.

 

API Documentation

Endpoints


Pass the WOEID codes for the selected country, and receive the latest trends. 

Results are updated every 30 minutes. 

 

Assigned WOEID list

  1. Algeria : 23424740

  2. Argentina : 23424747

  3. Australia : 23424748

  4. Austria : 23424750

  5. Bahrain : 23424753

  6. Belarus : 23424765

  7. Belgium : 23424757

  8. Brazil : 23424768

  9. Canada : 23424775

  10. Chile : 23424782

  11. Colombia : 23424787

  12. Denmark : 23424796

  13. Dominican Republic : 23424800

  14. Ecuador : 23424801

  15. Egypt : 23424802

  16. France : 23424819

  17. Germany : 23424829

  18. Ghana : 23424824

  19. Greece : 23424833

  20. Guatemala : 23424834

  21. India : 23424848

  22. Indonesia : 23424846

  23. Ireland : 23424803

  24. Israel : 23424852

  25. Italy : 23424853

  26. Japan : 23424856

  27. Jordan : 23424860

  28. Kenya : 23424863

  29. Kuwait : 23424870

  30. Latvia : 23424874

  31. Lebanon : 23424873

  32. Malaysia : 23424901

  33. Mexico : 23424900

  34. Netherlands : 23424909

  35. New Zealand : 23424916

  36. Nigeria : 23424908

  37. Norway : 23424910

  38. Oman : 23424898

  39. Pakistan : 23424922

  40. Panama : 23424924

  41. Peru : 23424919

  42. Philippines : 23424934

  43. Poland : 23424923

  44. Portugal : 23424925

  45. Puerto Rico : 23424935

  46. Qatar : 23424930

  47. Russia : 23424936

  48. Saudi Arabia : 23424938

  49. Singapore : 23424948

  50. South Africa : 23424942

  51. South Korea : 23424868

  52. Spain : 23424950

  53. Sweden : 23424954

  54. Switzerland : 23424957

  55. Thailand : 23424960

  56. Turkey : 23424969

  57. Ukraine : 23424976

  58. United Arab Emirates : 23424738

  59. United Kingdom : 23424975

  60. United States : 23424977

  61. Venezuela : 23424982

  62. Vietnam : 23424984

  63. Worldwide : 1



                                                                            
POST https://zylalabs.com/api/2442/twitter+trending+hashtags+api/2424/trending
                                                                            
                                                                        

Trending - Endpoint Features

Object Description
woeid [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"trends":{"0":{"name":"Scott Pilgrim","query":"Scott+Pilgrim","url":"search?q=%22Scott+Pilgrim%22","volume":1000,"volumeShort":"1k","domainContext":"Movies","groupedTrends":[{"name":"Science Saru","query":"Science+Saru","url":"search?q=Science+Saru"}]},"1":{"name":"Keke","query":"Keke","url":"search?q=Keke","volume":1000,"volumeShort":"1k","domainContext":"Music","groupedTrends":[{"name":"Usher","query":"Usher","url":"search?q=Usher"},{"name":"Russell Gage","query":"Russell+Gage","url":"search?q=Russell+Gage"}]},"2":{"name":"Inflation Reduction Act","query":"Inflation+Reduction+Act","url":"search?q=%22Inflation+Reduction+Act%22","volume":1000,"volumeShort":"1k","domainContext":"Politics","groupedTrends":[{"name":"Team 2","query":"Team+2","url":"search?q=Team+2"},{"name":"THE LORD WILL SPEAK TODAY","query":"THE+LORD+WILL+SPEAK+TODAY","url":"search?q=THE+LORD+WILL+SPEAK+TODAY"}]},"3":{"name":"#NationalTellAJokeDay","query":"%23NationalTellAJokeDay","url":"search?q=%23NationalTellAJokeDay","volume":3170,"volumeShort":"3,170","domainContext":"Only on Twitter","groupedTrends":[]},"4":{"name":"#wednesdaythought","query":"%23wednesdaythought","url":"search?q=%23wednesdaythought","volume":14600,"volumeShort":"14.3K","domainContext":"Only on Twitter","groupedTrends":[]},"5":{"name":"Boruto","query":"Boruto","url":"search?q=Boruto","volume":1000,"volumeShort":"1k","domainContext":"Entertainment","groupedTrends":[{"name":"Sarada","query":"Sarada","url":"search?q=Sarada"},{"name":"Shikamaru","query":"Shikamaru","url":"search?q=Shikamaru"}]},"6":{"name":"Mason Greenwood","query":"Mason+Greenwood","url":"search?q=%22Mason+Greenwood%22","volume":46400,"volumeShort":"46.2K","domainContext":" in Soccer","groupedTrends":[]},"7":{"name":"Ryan Clark","query":"Ryan+Clark","url":"search?q=%22Ryan+Clark%22","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[{"name":"Mike Shanahan","query":"Mike+Shanahan","url":"search?q=Mike+Shanahan"},{"name":"Robert Kraft","query":"Robert+Kraft","url":"search?q=Robert+Kraft"}]},"8":{"name":"#IndieAnimationDay","query":"%23IndieAnimationDay","url":"search?q=%23IndieAnimationDay","volume":4731,"volumeShort":"4,731","domainContext":"","groupedTrends":[]},"9":{"name":"EST Gee","query":"EST+Gee","url":"search?q=%22EST+Gee%22","volume":1000,"volumeShort":"1k","domainContext":"Rap","groupedTrends":[{"name":"Bootleg Kev","query":"Bootleg+Kev","url":"search?q=Bootleg+Kev"}]},"10":{"name":"Lewis Hall","query":"Lewis+Hall","url":"search?q=%22Lewis+Hall%22","volume":1000,"volumeShort":"1k","domainContext":"Soccer","groupedTrends":[{"name":"Cucurella","query":"Cucurella","url":"search?q=Cucurella"}]},"11":{"name":"Alec Baldwin","query":"Alec+Baldwin","url":"search?q=%22Alec+Baldwin%22","volume":4228,"volumeShort":"4,228","domainContext":"Entertainment","groupedTrends":[]},"12":{"name":"Bethenny","query":"Bethenny","url":"search?q=Bethenny","volume":1000,"volumeShort":"1k","domainContext":"Entertainment","groupedTrends":[{"name":"#PumpRules","query":"%23PumpRules","url":"search?q=%23PumpRules"}]},"13":{"name":"#BlueBeetle","query":"%23BlueBeetle","url":"search?q=%23BlueBeetle","volume":26200,"volumeShort":"25.6K","domainContext":"Entertainment","groupedTrends":[]},"14":{"name":"FOMC","query":"FOMC","url":"search?q=FOMC","volume":12600,"volumeShort":"11.8K","domainContext":"Central Banks","groupedTrends":[]},"15":{"name":"Bradley Cooper","query":"Bradley+Cooper","url":"search?q=%22Bradley+Cooper%22","volume":1000,"volumeShort":"1k","domainContext":"Entertainment","groupedTrends":[{"name":"Leonard Bernstein","query":"Leonard+Bernstein","url":"search?q=Leonard+Bernstein"}]},"16":{"name":"Krystal Ball","query":"Krystal+Ball","url":"search?q=%22Krystal+Ball%22","volume":1223,"volumeShort":"1,223","domainContext":"Politics","groupedTrends":[]},"17":{"name":"John Podesta","query":"John+Podesta","url":"search?q=%22John+Podesta%22","volume":6340,"volumeShort":"6,340","domainContext":"Politics","groupedTrends":[]},"18":{"name":"Raquel","query":"Raquel","url":"search?q=Raquel","volume":9430,"volumeShort":"9,430","domainContext":"Entertainment","groupedTrends":[]},"19":{"name":"Listerine","query":"Listerine","url":"search?q=Listerine","volume":8523,"volumeShort":"8,523","domainContext":"","groupedTrends":[]},"20":{"name":"Becton","query":"Becton","url":"search?q=Becton","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[{"name":"Laken","query":"Laken","url":"search?q=Laken"},{"name":"Mekhi","query":"Mekhi","url":"search?q=Mekhi"}]},"21":{"name":"Winn-Dixie","query":"Winn-Dixie","url":"search?q=Winn-Dixie","volume":1000,"volumeShort":"1k","domainContext":"","groupedTrends":[{"name":"Aldi","query":"Aldi","url":"search?q=Aldi"}]},"22":{"name":"Julie Newmar","query":"Julie+Newmar","url":"search?q=%22Julie+Newmar%22","volume":2937,"volumeShort":"2,937","domainContext":"","groupedTrends":[]},"23":{"name":"Hump Day","query":"Hump+Day","url":"search?q=%22Hump+Day%22","volume":31000,"volumeShort":"30.5K","domainContext":"","groupedTrends":[]},"24":{"name":"Justified","query":"Justified","url":"search?q=Justified","volume":17000,"volumeShort":"16.5K","domainContext":"","groupedTrends":[]},"25":{"name":"Zombies","query":"Zombies","url":"search?q=Zombies","volume":16799,"volumeShort":"16.4K","domainContext":"Video games","groupedTrends":[]},"26":{"name":"DJ Stewart","query":"DJ+Stewart","url":"search?q=%22DJ+Stewart%22","volume":1000,"volumeShort":"1k","domainContext":"MLB","groupedTrends":[]},"27":{"name":"British Museum","query":"British+Museum","url":"search?q=%22British+Museum%22","volume":2351,"volumeShort":"2,351","domainContext":"","groupedTrends":[]},"28":{"name":"Linus","query":"Linus","url":"search?q=Linus","volume":15200,"volumeShort":"14.6K","domainContext":"","groupedTrends":[]},"29":{"name":"Cavuto","query":"Cavuto","url":"search?q=Cavuto","volume":8892,"volumeShort":"8,892","domainContext":"News","groupedTrends":[]},"30":{"name":"Karai","query":"Karai","url":"search?q=Karai","volume":3074,"volumeShort":"3,074","domainContext":"","groupedTrends":[]},"31":{"name":"Tyree Wilson","query":"Tyree+Wilson","url":"search?q=%22Tyree+Wilson%22","volume":1437,"volumeShort":"1,437","domainContext":"NFL","groupedTrends":[]},"32":{"name":"hobi","query":"hobi","url":"search?q=hobi","volume":87199,"volumeShort":"87.1K","domainContext":"K-pop","groupedTrends":[]},"33":{"name":"Ramona","query":"Ramona","url":"search?q=Ramona","volume":4267,"volumeShort":"4,267","domainContext":"Comedy films","groupedTrends":[]},"34":{"name":"The IRA","query":"The+IRA","url":"search?q=%22The+IRA%22","volume":9612,"volumeShort":"9,612","domainContext":"","groupedTrends":[]},"35":{"name":"Kid Goku","query":"Kid+Goku","url":"search?q=%22Kid+Goku%22","volume":1000,"volumeShort":"1k","domainContext":"Entertainment","groupedTrends":[]},"36":{"name":"Jaire","query":"Jaire","url":"search?q=Jaire","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[]},"37":{"name":"Marta","query":"Marta","url":"search?q=Marta","volume":16600,"volumeShort":"16.3K","domainContext":"Sports","groupedTrends":[]},"38":{"name":"Oviedo","query":"Oviedo","url":"search?q=Oviedo","volume":12800,"volumeShort":"11.9K","domainContext":"Soccer","groupedTrends":[]},"39":{"name":"Jalen Pitre","query":"Jalen+Pitre","url":"search?q=%22Jalen+Pitre%22","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[]},"40":{"name":"Jurrien Timber","query":"Jurrien+Timber","url":"search?q=%22Jurrien+Timber%22","volume":13800,"volumeShort":"12.9K","domainContext":" in Soccer","groupedTrends":[]},"41":{"name":"Nelly","query":"Nelly","url":"search?q=Nelly","volume":6822,"volumeShort":"6,822","domainContext":"","groupedTrends":[]},"42":{"name":"Suki","query":"Suki","url":"search?q=Suki","volume":37400,"volumeShort":"36.7K","domainContext":"","groupedTrends":[]},"43":{"name":"Chalobah","query":"Chalobah","url":"search?q=Chalobah","volume":4395,"volumeShort":"4,395","domainContext":"Soccer","groupedTrends":[]},"44":{"name":"Bojack","query":"Bojack","url":"search?q=Bojack","volume":14399,"volumeShort":"13.7K","domainContext":"Entertainment","groupedTrends":[]},"45":{"name":"Gotti","query":"Gotti","url":"search?q=Gotti","volume":8353,"volumeShort":"8,353","domainContext":"Politics","groupedTrends":[]},"46":{"name":"Sam Kerr","query":"Sam+Kerr","url":"search?q=%22Sam+Kerr%22","volume":56000,"volumeShort":"56K","domainContext":"","groupedTrends":[]},"47":{"name":"Lara","query":"Lara","url":"search?q=Lara","volume":100000,"volumeShort":"100K","domainContext":"Politics","groupedTrends":[]},"48":{"name":"#HeartOfInvictus","query":"%23HeartOfInvictus","url":"search?q=%23HeartOfInvictus","volume":1000,"volumeShort":"1k","domainContext":"","groupedTrends":[{"name":"#InvictusGames","query":"%23InvictusGames","url":"search?q=%23InvictusGames"}]},"49":{"name":"#BinanceBlockchainWeek","query":"%23BinanceBlockchainWeek","url":"search?q=%23BinanceBlockchainWeek","volume":6746,"volumeShort":"6,746","domainContext":"Business and finance","groupedTrends":[]}},"location":{"name":"United States","woeid":23424977},"created":{"created_at":1692208804,"created_at_v1":"2023-08-16T18:00:04Z"}}
                                                                                                                                                                                                                    
                                                                                                    

Trending - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/2442/twitter+trending+hashtags+api/2424/trending?woeid=23424977' --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 Trending Hashtags API REST 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 commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The Twitter Trends API is a service provided by Twitter that allows developers to retrieve real-time information about trending topics and hashtags on the platform. It offers insights into the most popular discussions and keywords that are currently generating a significant amount of activity.

To access the API, developers need to use the appropriate endpoint and provide necessary authentication credentials, usually in the form of API keys. These keys authenticate your application and grant access to the API's functionality.

A WOEID (Where On Earth IDentifier) is a unique identifier assigned to various geographical locations. In the context of the Twitter Trends API, you provide a WOEID to specify the region for which you want to retrieve trending topics. Each WOEID corresponds to a specific location, like a country or city.

No, for every region you must do a single call. Only one region per call.

The API response usually includes a list of trending topics and hashtags for the specified region. Each trend is accompanied by metadata such as tweet volume and ranking, providing a comprehensive overview of its popularity.

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, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

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 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

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]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

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 trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
437ms

Category:


Related APIs