Twitter Trends API

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

About the API:

The Twitter 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 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.

API Documentation

Endpoints


Using the WOEID you will receive the latest trends from that location. 

WOEID List:

Woeid List

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/1858/twitter+trends+api/2894/get+trending
                                                                            
                                                                        

Get Trending - Endpoint Features

Object Description
woeid [Required] Location WOEID.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"trends":{"0":{"name":"Pete Alonso","query":"Pete+Alonso","url":"search?q=%22Pete+Alonso%22","volume":1000,"volumeShort":"1k","domainContext":"MLB","groupedTrends":[{"name":"Mets","query":"Mets","url":"search?q=Mets"},{"name":"Brewers","query":"Brewers","url":"search?q=Brewers"}]},"1":{"name":"Baker","query":"Baker","url":"search?q=Baker","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[{"name":"Falcons","query":"Falcons","url":"search?q=Falcons"},{"name":"Bucs","query":"Bucs","url":"search?q=Bucs"}]},"2":{"name":"Mike Evans","query":"Mike+Evans","url":"search?q=%22Mike+Evans%22","volume":15800,"volumeShort":"15.4K","domainContext":"NFL","groupedTrends":[]},"3":{"name":"Drake London","query":"Drake+London","url":"search?q=%22Drake+London%22","volume":4392,"volumeShort":"4,392","domainContext":"NFL","groupedTrends":[]},"4":{"name":"Mooney","query":"Mooney","url":"search?q=Mooney","volume":7129,"volumeShort":"7,129","domainContext":"NFL","groupedTrends":[]},"5":{"name":"Liz Cheney","query":"Liz+Cheney","url":"search?q=%22Liz+Cheney%22","volume":1000,"volumeShort":"1k","domainContext":"Politics","groupedTrends":[{"name":"Bruce","query":"Bruce","url":"search?q=Bruce"},{"name":"The Boss","query":"The+Boss","url":"search?q=The+Boss"}]},"6":{"name":"Bijan","query":"Bijan","url":"search?q=Bijan","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[{"name":"Vita Vea","query":"Vita+Vea","url":"search?q=Vita+Vea"}]},"7":{"name":"Quintana","query":"Quintana","url":"search?q=Quintana","volume":11200,"volumeShort":"10.6K","domainContext":"MLB","groupedTrends":[]},"8":{"name":"#911onABC","query":"%23911onABC","url":"search?q=%23911onABC","volume":1000,"volumeShort":"1k","domainContext":"","groupedTrends":[{"name":"Athena","query":"Athena","url":"search?q=Athena"}]},"9":{"name":"Halle","query":"Halle","url":"search?q=Halle","volume":25600,"volumeShort":"24.8K","domainContext":"Music","groupedTrends":[]},"10":{"name":"Jesse Winker","query":"Jesse+Winker","url":"search?q=%22Jesse+Winker%22","volume":1675,"volumeShort":"1,675","domainContext":"MLB","groupedTrends":[]},"11":{"name":"Jake Bauers","query":"Jake+Bauers","url":"search?q=%22Jake+Bauers%22","volume":1000,"volumeShort":"1k","domainContext":"MLB","groupedTrends":[{"name":"Sal Frelick","query":"Sal+Frelick","url":"search?q=Sal+Frelick"},{"name":"BACK TO BACK","query":"BACK+TO+BACK","url":"search?q=BACK+TO+BACK"}]},"12":{"name":"Kyle Pitts","query":"Kyle+Pitts","url":"search?q=%22Kyle+Pitts%22","volume":3124,"volumeShort":"3,124","domainContext":"NFL","groupedTrends":[]},"13":{"name":"#LFGM","query":"%23LFGM","url":"search?q=%23LFGM","volume":1964,"volumeShort":"1,964","domainContext":"MLB","groupedTrends":[]},"14":{"name":"Happy Anniversary","query":"Happy+Anniversary","url":"search?q=%22Happy+Anniversary%22","volume":61200,"volumeShort":"60.6K","domainContext":"Politics","groupedTrends":[]},"15":{"name":"Lindor","query":"Lindor","url":"search?q=Lindor","volume":5342,"volumeShort":"5,342","domainContext":"MLB","groupedTrends":[]},"16":{"name":"Butto","query":"Butto","url":"search?q=Butto","volume":2491,"volumeShort":"2,491","domainContext":"MLB","groupedTrends":[]},"17":{"name":"FEMA","query":"FEMA","url":"search?q=FEMA","volume":1420000,"volumeShort":"1.21M","domainContext":"Politics","groupedTrends":[]},"18":{"name":"#RiseUp","query":"%23RiseUp","url":"search?q=%23RiseUp","volume":4615,"volumeShort":"4,615","domainContext":"NFL","groupedTrends":[]},"19":{"name":"Todd Bowles","query":"Todd+Bowles","url":"search?q=%22Todd+Bowles%22","volume":1000,"volumeShort":"1k","domainContext":"Todd Bowles","groupedTrends":[]},"20":{"name":"#NYMvsMIL","query":"%23NYMvsMIL","url":"search?q=%23NYMvsMIL","volume":1000,"volumeShort":"1k","domainContext":"MLB","groupedTrends":[]},"21":{"name":"Bucky Irving","query":"Bucky+Irving","url":"search?q=%22Bucky+Irving%22","volume":2510,"volumeShort":"2,510","domainContext":"NFL","groupedTrends":[]},"22":{"name":"Godwin","query":"Godwin","url":"search?q=Godwin","volume":6516,"volumeShort":"6,516","domainContext":"NFL","groupedTrends":[]},"23":{"name":"Garth Brooks","query":"Garth+Brooks","url":"search?q=%22Garth+Brooks%22","volume":18000,"volumeShort":"18K","domainContext":"Country music","groupedTrends":[]},"24":{"name":"Younghoe Koo","query":"Younghoe+Koo","url":"search?q=%22Younghoe+Koo%22","volume":1096,"volumeShort":"1,096","domainContext":"NFL","groupedTrends":[]},"25":{"name":"McGary","query":"McGary","url":"search?q=McGary","volume":1000,"volumeShort":"1k","domainContext":"","groupedTrends":[]},"26":{"name":"Sean Tucker","query":"Sean+Tucker","url":"search?q=%22Sean+Tucker%22","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[]},"27":{"name":"Red Panda","query":"Red+Panda","url":"search?q=%22Red+Panda%22","volume":1612,"volumeShort":"1,612","domainContext":"Sports","groupedTrends":[]},"28":{"name":"Raheem Morris","query":"Raheem+Morris","url":"search?q=%22Raheem+Morris%22","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[]},"29":{"name":"Diaz","query":"Diaz","url":"search?q=Diaz","volume":72400,"volumeShort":"71.7K","domainContext":"MLB","groupedTrends":[]},"30":{"name":"Tobias Myers","query":"Tobias+Myers","url":"search?q=%22Tobias+Myers%22","volume":1682,"volumeShort":"1,682","domainContext":"MLB","groupedTrends":[]},"31":{"name":"KJ Britt","query":"KJ+Britt","url":"search?q=%22KJ+Britt%22","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[]},"32":{"name":"MOONLIT FLOOR OUT NOW","query":"MOONLIT+FLOOR+OUT+NOW","url":"search?q=%22MOONLIT+FLOOR+OUT+NOW%22","volume":1000,"volumeShort":"1k","domainContext":"","groupedTrends":[{"name":"#LISAxMoonlitFloor","query":"%23LISAxMoonlitFloor","url":"search?q=%23LISAxMoonlitFloor"}]},"33":{"name":"Milwaukee","query":"Milwaukee","url":"search?q=Milwaukee","volume":12399,"volumeShort":"12.2K","domainContext":"MLB","groupedTrends":[]},"34":{"name":"Antonio Hamilton","query":"Antonio+Hamilton","url":"search?q=%22Antonio+Hamilton%22","volume":1000,"volumeShort":"1k","domainContext":"NFL","groupedTrends":[]},"35":{"name":"Joker 2","query":"Joker+2","url":"search?q=%22Joker+2%22","volume":24600,"volumeShort":"24.3K","domainContext":"Drama films","groupedTrends":[]},"36":{"name":"#TrumpLongshoremensStrike","query":"%23TrumpLongshoremensStrike","url":"search?q=%23TrumpLongshoremensStrike","volume":17000,"volumeShort":"16.5K","domainContext":"Politics","groupedTrends":[]},"37":{"name":"Nick Mears","query":"Nick+Mears","url":"search?q=%22Nick+Mears%22","volume":1000,"volumeShort":"1k","domainContext":"MLB","groupedTrends":[]},"38":{"name":"Playoff","query":"Playoff","url":"search?q=Playoff","volume":29200,"volumeShort":"29.1K","domainContext":"Baseball","groupedTrends":[]},"39":{"name":"Buccaneers","query":"Buccaneers","url":"search?q=Buccaneers","volume":19000,"volumeShort":"18.5K","domainContext":"NFL","groupedTrends":[]},"40":{"name":"Allgeier","query":"Allgeier","url":"search?q=Allgeier","volume":4695,"volumeShort":"4,695","domainContext":"NFL","groupedTrends":[]},"41":{"name":"#PASenateDebate","query":"%23PASenateDebate","url":"search?q=%23PASenateDebate","volume":1000,"volumeShort":"1k","domainContext":"Politics","groupedTrends":[{"name":"Bob Casey","query":"Bob+Casey","url":"search?q=Bob+Casey"}]},"42":{"name":"#SVU26","query":"%23SVU26","url":"search?q=%23SVU26","volume":1000,"volumeShort":"1k","domainContext":"Crime drama","groupedTrends":[{"name":"#LawAndOrderSVU","query":"%23LawAndOrderSVU","url":"search?q=%23LawAndOrderSVU"}]},"43":{"name":"#Undaunted","query":"%23Undaunted","url":"search?q=%23Undaunted","volume":7572,"volumeShort":"7,572","domainContext":"MLB","groupedTrends":[]},"44":{"name":"iOS 18.0.1","query":"iOS+18.0.1","url":"search?q=%22iOS+18.0.1%22","volume":1450,"volumeShort":"1,450","domainContext":" in Technology","groupedTrends":[]},"45":{"name":"CRIMINAL-DEAD","query":"CRIMINAL-DEAD","url":"search?q=CRIMINAL-DEAD","volume":3186,"volumeShort":"3,186","domainContext":" in Social media","groupedTrends":[]},"46":{"name":"Sleepy","query":"Sleepy","url":"search?q=Sleepy","volume":43599,"volumeShort":"42.8K","domainContext":" in Social media","groupedTrends":[]},"47":{"name":"Canvas","query":"Canvas","url":"search?q=Canvas","volume":24400,"volumeShort":"23.7K","domainContext":" in Technology","groupedTrends":[]}},"location":{"name":"United States","woeid":23424977},"created":{"created_at":1728007204,"created_at_v1":"2024-10-04T02:00:04Z"}}
                                                                                                                                                                                                                    
                                                                                                    

Get Trending - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/1858/twitter+trends+api/2894/get+trending?woeid=23424977' --header 'Authorization: Bearer YOUR_API_KEY' 


    

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



                                                                            
GET https://zylalabs.com/api/1858/twitter+trends+api/5930/trends+capture
                                                                            
                                                                        

Trends Capture - Endpoint Features

Object Description
woeid [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":true,"trends":[{"name":"#UniversityChallenge","query":"%23UniversityChallenge","url":"https:\/\/twitter.com\/search?q=%23UniversityChallenge","tweet_volume":null,"tweet_volume_text":""},{"name":"Snowing","query":"Snowing","url":"https:\/\/twitter.com\/search?q=Snowing","tweet_volume":null,"tweet_volume_text":""},{"name":"#dealornodeal","query":"%23dealornodeal","url":"https:\/\/twitter.com\/search?q=%23dealornodeal","tweet_volume":null,"tweet_volume_text":""},{"name":"Communists","query":"Communists","url":"https:\/\/twitter.com\/search?q=Communists","tweet_volume":20000,"tweet_volume_text":"20K"},{"name":"#Hollyoaks","query":"%23Hollyoaks","url":"https:\/\/twitter.com\/search?q=%23Hollyoaks","tweet_volume":null,"tweet_volume_text":""},{"name":"Inheritance Tax","query":"Inheritance+Tax","url":"https:\/\/twitter.com\/search?q=Inheritance+Tax","tweet_volume":43000,"tweet_volume_text":"43K"},{"name":"Will Hutton","query":"Will+Hutton","url":"https:\/\/twitter.com\/search?q=Will+Hutton","tweet_volume":null,"tweet_volume_text":""},{"name":"Kristie","query":"Kristie","url":"https:\/\/twitter.com\/search?q=Kristie","tweet_volume":null,"tweet_volume_text":""},{"name":"AIPAC","query":"AIPAC","url":"https:\/\/twitter.com\/search?q=AIPAC","tweet_volume":39000,"tweet_volume_text":"39K"},{"name":"#Strobepopcat","query":"%23Strobepopcat","url":"https:\/\/twitter.com\/search?q=%23Strobepopcat","tweet_volume":null,"tweet_volume_text":""},{"name":"GOTY","query":"GOTY","url":"https:\/\/twitter.com\/search?q=GOTY","tweet_volume":33000,"tweet_volume_text":"33K"},{"name":"John McGinn","query":"John+McGinn","url":"https:\/\/twitter.com\/search?q=John+McGinn","tweet_volume":null,"tweet_volume_text":""},{"name":"Balatro","query":"Balatro","url":"https:\/\/twitter.com\/search?q=Balatro","tweet_volume":18000,"tweet_volume_text":"18K"},{"name":"Ben Doak","query":"Ben+Doak","url":"https:\/\/twitter.com\/search?q=Ben+Doak","tweet_volume":null,"tweet_volume_text":""},{"name":"Elden Ring","query":"Elden+Ring","url":"https:\/\/twitter.com\/search?q=Elden+Ring","tweet_volume":27000,"tweet_volume_text":"27K"},{"name":"Hanley","query":"Hanley","url":"https:\/\/twitter.com\/search?q=Hanley","tweet_volume":null,"tweet_volume_text":""},{"name":"Game of the Year","query":"Game+of+the+Year","url":"https:\/\/twitter.com\/search?q=Game+of+the+Year","tweet_volume":37000,"tweet_volume_text":"37K"},{"name":"SOTE","query":"SOTE","url":"https:\/\/twitter.com\/search?q=SOTE","tweet_volume":null,"tweet_volume_text":""},{"name":"Gilmour","query":"Gilmour","url":"https:\/\/twitter.com\/search?q=Gilmour","tweet_volume":null,"tweet_volume_text":""},{"name":"Shadow of the Erdtree","query":"Shadow+of+the+Erdtree","url":"https:\/\/twitter.com\/search?q=Shadow+of+the+Erdtree","tweet_volume":null,"tweet_volume_text":""},{"name":"Silent Hill 2","query":"Silent+Hill+2","url":"https:\/\/twitter.com\/search?q=Silent+Hill+2","tweet_volume":14000,"tweet_volume_text":"14K"},{"name":"Astro Bot","query":"Astro+Bot","url":"https:\/\/twitter.com\/search?q=Astro+Bot","tweet_volume":null,"tweet_volume_text":""},{"name":"Stellar Blade","query":"Stellar+Blade","url":"https:\/\/twitter.com\/search?q=Stellar+Blade","tweet_volume":11000,"tweet_volume_text":"11K"},{"name":"Sopel","query":"Sopel","url":"https:\/\/twitter.com\/search?q=Sopel","tweet_volume":null,"tweet_volume_text":""},{"name":"Helldivers 2","query":"Helldivers+2","url":"https:\/\/twitter.com\/search?q=Helldivers+2","tweet_volume":null,"tweet_volume_text":""},{"name":"Black Myth","query":"Black+Myth","url":"https:\/\/twitter.com\/search?q=Black+Myth","tweet_volume":10000,"tweet_volume_text":"10K"},{"name":"British Airways","query":"British+Airways","url":"https:\/\/twitter.com\/search?q=British+Airways","tweet_volume":null,"tweet_volume_text":""},{"name":"Metaphor","query":"Metaphor","url":"https:\/\/twitter.com\/search?q=Metaphor","tweet_volume":25000,"tweet_volume_text":"25K"},{"name":"DLCs","query":"DLCs","url":"https:\/\/twitter.com\/search?q=DLCs","tweet_volume":null,"tweet_volume_text":""},{"name":"McKenna","query":"McKenna","url":"https:\/\/twitter.com\/search?q=McKenna","tweet_volume":null,"tweet_volume_text":""},{"name":"Rebirth","query":"Rebirth","url":"https:\/\/twitter.com\/search?q=Rebirth","tweet_volume":27000,"tweet_volume_text":"27K"},{"name":"Scotland","query":"Scotland","url":"https:\/\/twitter.com\/search?q=Scotland","tweet_volume":40000,"tweet_volume_text":"40K"},{"name":"Geoff","query":"Geoff","url":"https:\/\/twitter.com\/search?q=Geoff","tweet_volume":null,"tweet_volume_text":""},{"name":"Super Eagles","query":"Super+Eagles","url":"https:\/\/twitter.com\/search?q=Super+Eagles","tweet_volume":null,"tweet_volume_text":""},{"name":"Tottenham Hotspur","query":"Tottenham+Hotspur","url":"https:\/\/twitter.com\/search?q=Tottenham+Hotspur","tweet_volume":null,"tweet_volume_text":""},{"name":"Ralston","query":"Ralston","url":"https:\/\/twitter.com\/search?q=Ralston","tweet_volume":null,"tweet_volume_text":""},{"name":"Stalin","query":"Stalin","url":"https:\/\/twitter.com\/search?q=Stalin","tweet_volume":52000,"tweet_volume_text":"52K"},{"name":"Sam Kerr","query":"Sam+Kerr","url":"https:\/\/twitter.com\/search?q=Sam+Kerr","tweet_volume":null,"tweet_volume_text":""},{"name":"Ghana","query":"Ghana","url":"https:\/\/twitter.com\/search?q=Ghana","tweet_volume":92000,"tweet_volume_text":"92K"},{"name":"Matty","query":"Matty","url":"https:\/\/twitter.com\/search?q=Matty","tweet_volume":11000,"tweet_volume_text":"11K"},{"name":"Clarke","query":"Clarke","url":"https:\/\/twitter.com\/search?q=Clarke","tweet_volume":20000,"tweet_volume_text":"20K"},{"name":"Xi Jinping","query":"Xi+Jinping","url":"https:\/\/twitter.com\/search?q=Xi+Jinping","tweet_volume":39000,"tweet_volume_text":"39K"},{"name":"Wizkid","query":"Wizkid","url":"https:\/\/twitter.com\/search?q=Wizkid","tweet_volume":278000,"tweet_volume_text":"278K"},{"name":"Year 5","query":"Year+5","url":"https:\/\/twitter.com\/search?q=Year+5","tweet_volume":44000,"tweet_volume_text":"44K"},{"name":"Benzema","query":"Benzema","url":"https:\/\/twitter.com\/search?q=Benzema","tweet_volume":12000,"tweet_volume_text":"12K"},{"name":"Sudan","query":"Sudan","url":"https:\/\/twitter.com\/search?q=Sudan","tweet_volume":36000,"tweet_volume_text":"36K"},{"name":"Bentancur","query":"Bentancur","url":"https:\/\/twitter.com\/search?q=Bentancur","tweet_volume":11000,"tweet_volume_text":"11K"},{"name":"Beth","query":"Beth","url":"https:\/\/twitter.com\/search?q=Beth","tweet_volume":17000,"tweet_volume_text":"17K"},{"name":"Suarez","query":"Suarez","url":"https:\/\/twitter.com\/search?q=Suarez","tweet_volume":87000,"tweet_volume_text":"87K"}]}
                                                                                                                                                                                                                    
                                                                                                    

Trends Capture - CODE SNIPPETS


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


    

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



                                                                            
GET https://zylalabs.com/api/1858/twitter+trends+api/5931/get+places
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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,"woeid":719258...
                                                                                                                                                                                                                    
                                                                                                    

Get Places - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/1858/twitter+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 Trends 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
  • Specialized Customer Support
  • Real-Time API Monitoring

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

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
714ms

Category:


Related APIs