Twitter Trend Analysis API is a dynamic and invaluable tool that allows users to tap into the pulse of social media conversations. This API serves as a gateway to the wealth of information flowing through Twitter, providing insights into the most popular and relevant topics trending in specific geographic locations.
In essence, Twitter Trend Analysis API leverages Twitter's vast database to provide users with a selected list of trending topics tailored to a specific geographic area. This allows users to gain a nuanced understanding of the conversations and interests shaping public discourse on a local, regional or global level. Users can seamlessly integrate this functionality into their applications, allowing them to stay informed about the latest and most relevant trends in their area of interest.
The API facilitates accurate and granular location-based trend analysis, allowing users to filter trends by country. This level of granularity ensures that the trends presented closely match the preferences of the target audience and the geographic scope of the analysis.
In conclusion, the Twitter Trend Analysis API is a powerful tool that provides a wealth of information circulating on Twitter. By providing access to location-specific trends, it enables applications to deliver a more relevant and engaging user experience, while providing users with valuable insights into the constantly evolving landscape of social media conversations.
It will receive parameters and provide you with a JSON.
Localized Marketing Campaigns: Tailor marketing strategies by analyzing Twitter trends in specific locations, ensuring content resonates with local audiences.
Event Planning and Promotion: Stay informed about relevant local trends to enhance event planning and promotion, leveraging popular topics to engage attendees.
News Aggregation: Curate location-specific news content by integrating trending Twitter topics into news aggregation platforms for a localized news experience.
Brand Sentiment Analysis: Monitor Twitter trends to gauge public sentiment about a brand in specific regions, facilitating effective reputation management.
Community Engagement: Foster community engagement by staying aware of and participating in local Twitter conversations, building a strong online presence.
Besides the number of API calls per month, there are no other limitations.
To use this endpoint just run it and you will get all available locations.
{
"status": "SUCCESS",
"message": "Request was successful",
"locations": [
{
"name": "Afghanistan",
"placeID": "c27fb42671fe36d29c3d5b86f312b1d6",
"locationType": "Country"
},
{
"name": "Albania",
"placeID": "afbeada12b8f34bf91a22c6efa229256",
"locationType": "Country"
},
{
"name": "Algeria",
"placeID": "c1e7a7978dd13b48b10948d424a85a75",
"locationType": "Country"
},
{
"name": "Andorra",
"placeID": "ff18f0f9472232949e899dd4d37491f9",
"locationType": "Country"
},
{
"name": "Angola",
"placeID": "ac9cdb83edd63dc49e9b007937ddd8a9",
"locationType": "Country"
},
{
"name": "Antigua & Barbuda",
"placeID": "74600a3016c13af790c6f77fdd5a180d",
"locationType": "Country"
},
{
"name": "Argentina",
"placeID": "a5dcd388fe1b3ad49acfc25904aa94a4",
"locationType": "Country"
},
{
"name": "Armenia",
"placeID": "58dabbb85f443596acd3ae564caf2d6b",
"locationType": "Country"
},
{
"name": "Aruba",
"placeID": "b40b680cd7663cc4bbd7767b102b9a0e",
"locationType": "Country"
},
{
"name": "Australia",
"placeID": "418f42bb932438869b297be8e9e8e492",
"locationType": "Country"
},
{
"name": "Austria",
"placeID": "107a9ab1c4f33637a38f21b4c911f09a",
"locationType": "Country"
},
{
"name": "Azerbaijan",
"placeID": "fec542204160358990067d7e353e29c6",
"locationType": "Country"
},
{
"name": "Bahamas",
"placeID": "d6a0c9e5791133da9c692a8ee6ce3d82",
"locationType": "Country"
},
{
"name": "Bahrain",
"placeID": "6e73621ce2bb37ab91d7932e1b008cde",
"locationType": "Country"
},
{
"name": "Bangladesh",
"placeID": "5ff68e3213cc3becb5af898812c79bfb",
"locationType": "Country"
},
{
"name": "Barbados",
"placeID": "1f44022f009537bb982510a6416ba7cb",
"locationType": "Country"
},
{
"name": "Belarus",
"placeID": "91bc7ccb636039ff9abb06ba0ea17799",
"locationType": "Country"
},
{
"name": "Belgium",
"placeID": "5ea4f90702a83f5a8acaf2a610e90286",
"locationType": "Country"
},
{
"name": "Belize",
"placeID": "8c096232a9c7365ea1adc50ea6d3fa8a",
"locationType": "Country"
},
{
"name": "Benin",
"placeID": "330b7a4630c135a287cd1d871d71991d",
"locationType": "Country"
},
{
"name": "Bermuda",
"placeID": "29d1f7ba8a3c37d98c98d39560d76378",
"locationType": "Country"
},
{
"name": "Bhutan",
"placeID": "4d15b53293b13a9e817f8cde1cd297a7",
"locationType": "Country"
},
{
"name": "Bolivia",
"placeID": "d29012eb5de43697b05fe72a458968eb",
"locationType": "Country"
},
{
"name": "Bosnia & Herzegovina",
"placeID": "e76284d6c5ee3629b881829a90d5689a",
"locationType": "Country"
},
{
"name": "Botswana",
"placeID": "4ee730f97783323ba5a8e0b5e7f1a16c",
"locationType": "Country"
},
{
"name": "Brazil",
"placeID": "ef044a77b56934ecbda21fd2af46ef09",
"locationType": "Country"
},
{
"name": "British Virgin Islands",
"placeID": "07c343c3514539f8b9d28d9891d1234a",
"locationType": "Country"
},
{
"name": "Brunei",
"placeID": "20ebdc910ad1312394866eba8a2e711b",
"locationType": "Country"
},
{
"name": "Bulgaria",
"placeID": "7b1834936c0631389bed140f68b7ce7d",
"locationType": "Country"
},
{
"name": "Burkina Faso",
"placeID": "9eaafebafea137b9a0668b920fa89484",
"locationType": "Country"
},
{
"name": "Burundi",
"placeID": "c9721c5cb8603bfb935540ce591fd75c",
"locationType": "Country"
},
{
"name": "Cambodia",
"placeID": "b5c369e845823dc2aa4069bc8650ba7d",
"locationType": "Country"
},
{
"name": "Cameroon",
"placeID": "1a812fdd7c26393ab9db891748d9d3bf",
"locationType": "Country"
},
{
"name": "Canada",
"placeID": "8ae73a2dc5eb3b1db0493cd8e0c0e550",
"locationType": "Country"
},
{
"name": "Cape Verde",
"placeID": "b9afd1b4e6b63e50a0bd3cdf04372a2f",
"locationType": "Country"
},
{
"name": "Cayman Islands",
"placeID": "adefab0fdd7f3794ae4c939b2311cc5f",
"locationType": "Country"
},
{
"name": "Central African Republic",
"placeID": "45da714c4d3739b1915e1cdf81c2ed1e",
"locationType": "Country"
},
{
"name": "Chad",
"placeID": "055bf313f25b32f49f30bb1efab70444",
"locationType": "Country"
},
{
"name": "Chile",
"placeID": "68fd554359cf3d43a5ceccac25237e05",
"locationType": "Country"
},
{
"name": "China",
"placeID": "5d8f99399f343738b2018bee1c8701cd",
"locationType": "Country"
},
{
"name": "Colombia",
"placeID": "21eefd670286324bb13e6f24f42255ce",
"locationType": "Country"
},
{
"name": "Congo - Kinshasa",
"placeID": "3a91212f144b3fd484be820c4fd22fd5",
"locationType": "Country"
},
{
"name": "Cook Islands",
"placeID": "359adeabe5273cee8134803625720b4f",
"locationType": "Country"
},
{
"name": "Costa Rica",
"placeID": "e415dfcc301c30129fe0e6d4fd48278f",
"locationType": "Country"
},
{
"name": "Croatia",
"placeID": "efe2b9c187683dad8aaad7a7ced7ed4f",
"locationType": "Country"
},
{
"name": "Cuba",
"placeID": "9e1347e4804b328ab620b988688268c2",
"locationType": "Country"
},
{
"name": "Curaçao",
"placeID": "db4f8cd204373114a9f5675f09b8d6d8",
"locationType": "Country"
},
{
"name": "Cyprus",
"placeID": "907cd4e2b2bd3e5cbc74304cf43bd891",
"locationType": "Country"
},
{
"name": "Czechia",
"placeID": "1aea10be359734829eee1f3eb1c4119b",
"locationType": "Country"
},
{
"name": "Côte d’Ivoire",
"placeID": "024526a348b63852bd61d9c01d8fa310",
"locationType": "Country"
},
{
"name": "Denmark",
"placeID": "14fbc6ae152a37cf9a94cdeea2f9289c",
"locationType": "Country"
},
{
"name": "Djibouti",
"placeID": "0f73a2675daf3de0bf8079719aae6afc",
"locationType": "Country"
},
{
"name": "Dominica",
"placeID": "12960efc6737397b985a3096f92cf371",
"locationType": "Country"
},
{
"name": "Dominican Republic",
"placeID": "b6da750790b932df81391fc03fcc4323",
"locationType": "Country"
},
{
"name": "Ecuador",
"placeID": "1009bc86338f339aaa4cf47b1a4e1940",
"locationType": "Country"
},
{
"name": "Egypt",
"placeID": "f24d65712e9e328780f20b384d7a5136",
"locationType": "Country"
},
{
"name": "El Salvador",
"placeID": "faa22b9ab3813c97af616766123dedf7",
"locationType": "Country"
},
{
"name": "Equatorial Guinea",
"placeID": "7f1d12d7591533aaab606aeca39f0c94",
"locationType": "Country"
},
{
"name": "Estonia",
"placeID": "30a5ffbff16d3b0e98ce454dafad91de",
"locationType": "Country"
},
{
"name": "Eswatini",
"placeID": "ae1bd8ea9f903fa9919c53c2e47f093f",
"locationType": "Country"
},
{
"name": "Ethiopia",
"placeID": "5a047daa4fb735b4bf36169a4074bae2",
"locationType": "Country"
},
{
"name": "Falkland Islands",
"placeID": "a225a19980a5354bbb50b3e778fcc594",
"locationType": "Country"
},
{
"name": "Faroe Islands",
"placeID": "73e3813120ce3a699a2eb42a5a47a154",
"locationType": "Country"
},
{
"name": "Fiji",
"placeID": "4c99791379cb3f8bb0e3d8688d482b06",
"locationType": "Country"
},
{
"name": "Finland",
"placeID": "a991043b3aa7326fa5f19505f8e92f00",
"locationType": "Country"
},
{
"name": "France",
"placeID": "bcfcd1438d8832179f5f2e6964ca4...
curl --location --request GET 'https://zylalabs.com/api/3198/twitter+trend+analysis+api/3419/available+locations' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint you must indicate the place id of a country in the parameter.
Trendings by location - Endpoint Features
Object | Description |
---|---|
id |
[Required] |
{
"status": "SUCCESS",
"message": "Request was successful",
"trending": {
"name": "United States",
"placeID": "f719fcd7bc333af4b3d78d0e65893e5e",
"locationType": "Country",
"trends": [
{
"name": "Cheating",
"postCount": 84900,
"domain": null,
"rank": 1,
"mobileIntent": "twitter://search/?query=Cheating&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Cheating%22&src=trend_click&vertical=trends"
},
{
"name": "Pentagon",
"postCount": 222000,
"domain": null,
"rank": 2,
"mobileIntent": "twitter://search/?query=Pentagon&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Pentagon%22&src=trend_click&vertical=trends"
},
{
"name": "Zelensky",
"postCount": 72900,
"domain": "Politics",
"rank": 3,
"mobileIntent": "twitter://search/?query=Zelensky&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Zelensky%22&src=trend_click&vertical=trends"
},
{
"name": "Michelle Obama",
"postCount": 26300,
"domain": "Politics",
"rank": 4,
"mobileIntent": "twitter://search/?query=Michelle+Obama&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Michelle+Obama%22&src=trend_click&vertical=trends"
},
{
"name": "Colorado",
"postCount": 65300,
"domain": "Sports",
"rank": 5,
"mobileIntent": "twitter://search/?query=Colorado&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Colorado%22&src=trend_click&vertical=trends"
},
{
"name": "Adam Schiff",
"postCount": 57600,
"domain": "Politics",
"rank": 6,
"mobileIntent": "twitter://search/?query=Adam+Schiff&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Adam+Schiff%22&src=trend_click&vertical=trends"
},
{
"name": "RFKjr",
"postCount": 323000,
"domain": "Politics",
"rank": 7,
"mobileIntent": "twitter://search/?query=RFKjr&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22RFKjr%22&src=trend_click&vertical=trends"
},
{
"name": "#Bluesky",
"postCount": 13000,
"domain": "Technology",
"rank": 8,
"mobileIntent": "twitter://search/?query=%23Bluesky&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22%23Bluesky%22&src=trend_click&vertical=trends"
},
{
"name": "Mike Johnson",
"postCount": 64400,
"domain": "Politics",
"rank": 9,
"mobileIntent": "twitter://search/?query=Mike+Johnson&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Mike+Johnson%22&src=trend_click&vertical=trends"
},
{
"name": "Kennedy",
"postCount": 151000,
"domain": "Politics",
"rank": 10,
"mobileIntent": "twitter://search/?query=Kennedy&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Kennedy%22&src=trend_click&vertical=trends"
},
{
"name": "Fraud",
"postCount": 159000,
"domain": null,
"rank": 11,
"mobileIntent": "twitter://search/?query=Fraud&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Fraud%22&src=trend_click&vertical=trends"
},
{
"name": "$BTC",
"postCount": 90700,
"domain": "Business and finance",
"rank": 12,
"mobileIntent": "twitter://search/?query=%24BTC&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22%24BTC%22&src=trend_click&vertical=trends"
},
{
"name": "Ann Selzer",
"postCount": 8873,
"domain": "Politics",
"rank": 13,
"mobileIntent": "twitter://search/?query=Ann+Selzer&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Ann+Selzer%22&src=trend_click&vertical=trends"
},
{
"name": "Casey",
"postCount": 102000,
"domain": "Politics",
"rank": 14,
"mobileIntent": "twitter://search/?query=Casey&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Casey%22&src=trend_click&vertical=trends"
},
{
"name": "Paige",
"postCount": 6487,
"domain": "Sports",
"rank": 15,
"mobileIntent": "twitter://search/?query=Paige&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Paige%22&src=trend_click&vertical=trends"
},
{
"name": "Kansas",
"postCount": 26100,
"domain": "Sports",
"rank": 16,
"mobileIntent": "twitter://search/?query=Kansas&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Kansas%22&src=trend_click&vertical=trends"
},
{
"name": "Antifa",
"postCount": 42200,
"domain": "United States",
"rank": 17,
"mobileIntent": "twitter://search/?query=Antifa&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Antifa%22&src=trend_click&vertical=trends"
},
{
"name": "Notre Dame",
"postCount": 18100,
"domain": "Sports",
"rank": 18,
"mobileIntent": "twitter://search/?query=Notre+Dame&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Notre+Dame%22&src=trend_click&vertical=trends"
},
{
"name": "Travis",
"postCount": 66300,
"domain": "Sports",
"rank": 19,
"mobileIntent": "twitter://search/?query=Travis&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Travis%22&src=trend_click&vertical=trends"
},
{
"name": "Tennessee",
"postCount": 51400,
"domain": "Sports",
"rank": 20,
"mobileIntent": "twitter://search/?query=Tennessee&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Tennessee%22&src=trend_click&vertical=trends"
},
{
"name": "Gaza Strip",
"postCount": 21600,
"domain": "Politics",
"rank": 21,
"mobileIntent": "twitter://search/?query=Gaza+Strip&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Gaza+Strip%22&src=trend_click&vertical=trends"
},
{
"name": "Cristiano",
"postCount": 93800,
"domain": "Sports",
"rank": 22,
"mobileIntent": "twitter://search/?query=Cristiano&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Cristiano%22&src=trend_click&vertical=trends"
},
{
"name": "Jeanty",
"postCount": 13800,
"domain": "Sports",
"rank": 23,
"mobileIntent": "twitter://search/?query=Jeanty&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Jeanty%22&src=trend_click&vertical=trends"
},
{
"name": "Catholic",
"postCount": 67600,
"domain": "Politics",
"rank": 24,
"mobileIntent": "twitter://search/?query=Catholic&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Catholic%22&src=trend_click&vertical=trends"
},
{
"name": "Etienne",
"postCount": 4459,
"domain": "Sports",
"rank": 25,
"mobileIntent": "twitter://search/?query=Etienne&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Etienne%22&src=trend_click&vertical=trends"
},
{
"name": "Amari Cooper",
"postCount": null,
"domain": "Sports",
"rank": 26,
"mobileIntent": "twitter://search/?query=Amari+Cooper&src=trend_click&pc=true&vertical=trends",
"webUrl": "https://twitter.com/search?q=%22Ama...
curl --location --request GET 'https://zylalabs.com/api/3198/twitter+trend+analysis+api/3420/trendings+by+location?id=f719fcd7bc333af4b3d78d0e65893e5e' --header 'Authorization: Bearer YOUR_API_KEY'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
To use this API, users will have to indicate the place ID of a country to obtain Twitter trends.
Twitter Trend Analysis API is a service that provides users with programmatic and location-based Twitter trends for in-depth analysis and integration into applications.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
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:
1,054ms
Service Level:
100%
Response Time:
2,550ms
Service Level:
100%
Response Time:
509ms
Service Level:
100%
Response Time:
1,124ms
Service Level:
100%
Response Time:
1,557ms
Service Level:
100%
Response Time:
1,677ms
Service Level:
100%
Response Time:
714ms
Service Level:
100%
Response Time:
1,175ms
Service Level:
100%
Response Time:
3,010ms
Service Level:
100%
Response Time:
1,175ms
Service Level:
100%
Response Time:
1,058ms
Service Level:
100%
Response Time:
448ms
Service Level:
100%
Response Time:
935ms
Service Level:
100%
Response Time:
830ms
Service Level:
84%
Response Time:
1,336ms
Service Level:
100%
Response Time:
6,880ms
Service Level:
100%
Response Time:
4,262ms