Tweet Explorer API

The Tweet Explorer API provides access to Twitter search, allowing users to retrieve relevant tweets based on specific queries and optional criteria.

About the API: 

The Tweet Explorer API provides access to Twitter's search endpoint, offering an efficient and powerful way to find relevant tweets. Designed for developers who want to integrate Twitter's search functionality into their applications, this API simplifies the retrieval of data related to conversations on the platform. Users can perform searches using specific queries to retrieve relevant tweets, and can further customize their searches with optional parameters such as cursor and search type.

The API accepts a mandatory search query and allows pagination through the use of a cursor, making it easy to browse results over time. With a focus on flexibility and accuracy, developers can use this API to create tools that monitor trends, perform sentiment analysis or simply search for content relevant to their needs.

API responses are structured in an easy-to-manage JSON format, allowing for easy integration into a variety of applications. Whether you're developing a social media analytics tool, a custom Twitter client or an alert system for brand mentions, the Twitter Search API offers a robust and reliable solution for accessing the rich conversation happening on the platform.

API Documentation

Endpoints


To use this endpoint, send a GET request with the parameters query (mandatory search query), cursor (optional for pagination) and search_type (optional to define the type of search).



                                                                            
GET https://zylalabs.com/api/5213/tweet+explorer+api/6678/tweet+search
                                                                            
                                                                        

Tweet Search - Endpoint Features

Object Description
query [Required]
cursor [Optional]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":"ok","timeline":[{"type":"tweet","tweet_id":"1857867259559162137","screen_name":"niccruzpatane","bookmarks":32,"favorites":1270,"created_at":"Sat Nov 16 19:24:06 +0000 2024","text":"Cybertruck apocalypse in Toronto https:\/\/t.co\/InFRfTjo8G","lang":"en","quotes":7,"replies":25,"conversation_id":"1857867259559162137","retweets":71,"views":"46782","entities":[],"user_info":{"screen_name":"niccruzpatane","name":"Nic Cruz Patane","description":"Deep dive into everything Tesla","rest_id":"1494873435863977985","followers_count":27787,"favourites_count":15914,"avatar":"https:\/\/pbs.twimg.com\/profile_images\/1805666868071391232\/1qAqAOng_normal.jpg","verified":true,"friends_count":144,"location":""},"media":{"video":[{"media_url_https":"https:\/\/pbs.twimg.com\/amplify_video_thumb\/1857867199408402433\/img\/jM_roIBQf-I4oqVI.jpg","variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video-t-1.twimg.com\/amplify_video\/1857867199408402433\/pl\/nXAXzbVUoVZBwfPp.m3u8?tag=16&v=cfc"},{"bitrate":632000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/amplify_video\/1857867199408402433\/vid\/avc1\/320x568\/8-GWCj-ImGxU3OXQ.mp4?tag=16"},{"bitrate":950000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/amplify_video\/1857867199408402433\/vid\/avc1\/480x852\/uEUqc037gZmfErj5.mp4?tag=16"},{"bitrate":2176000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/amplify_video\/1857867199408402433\/vid\/avc1\/720x1280\/uI7n6VuRNUi_Pdrj.mp4?tag=16"}],"aspect_ratio":[9,16],"original_info":{"focus_rects":[],"height":1280,"width":720},"id":"1857867199408402433"}]}},{"type":"tweet","tweet_id":"1857506693334151370","screen_name":"eip1559","bookmarks":5,"favorites":376,"created_at":"Fri Nov 15 19:31:21 +0000 2024","text":"\ud83d\udcd0 taking delivery now of this @cybertruck https:\/\/t.co\/FaJrnV8v1N","lang":"en","quotes":0,"replies":50,"conversation_id":"1857506693334151370","retweets":11,"views":"16150","entities":{"user_mentions":[{"id_str":"1686044379910131718","indices":[30,41],"name":"Cybertruck","screen_name":"cybertruck"}]},"user_info":{"screen_name":"eip1559","name":"Grogu","description":"mostly shower thoughts","rest_id":"62471024","followers_count":5079,"favourites_count":68853,"avatar":"https:\/\/pbs.twimg.com\/profile_images\/1824244780773281795\/ZQT6si6T_normal.jpg","verified":true,"friends_count":783,"location":"Shadow Moses"},"media":{"video":[{"media_url_https":"https:\/\/pbs.twimg.com\/amplify_video_thumb\/1857506606558404608\/img\/h0Gy1MFon4ix6SYk.jpg","variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video-t-1.twimg.com\/amplify_video\/1857506606558404608\/pl\/w_aB3lm9GOy8s_XL.m3u8?tag=16"},{"bitrate":632000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/amplify_video\/1857506606558404608\/vid\/avc1\/320x568\/kxQFwMe_Qn7hU-0c.mp4?tag=16"},{"bitrate":950000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/amplify_video\/1857506606558404608\/vid\/avc1\/480x852\/-RxZWD77vv8I7ADU.mp4?tag=16"},{"bitrate":2176000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/amplify_video\/1857506606558404608\/vid\/avc1\/720x1280\/QK_zLrHNfX6UU3cD.mp4?tag=16"}],"aspect_ratio":[9,16],"original_info":{"focus_rects":[],"height":1280,"width":720},"id":"1857506606558404608"}]}},{"type":"tweet","tweet_id":"1857853192077283442","screen_name":"teslacarsonly","bookmarks":2,"favorites":136,"created_at":"Sat Nov 16 18:28:12 +0000 2024","text":"THE FIRST WIDEST TESLA CYBERTRUCK. https:\/\/t.co\/EO87sk8aBF","lang":"en","quotes":1,"replies":18,"conversation_id":"1857853192077283442","retweets":29,"views":"1559","entities":[],"user_info":{"screen_name":"teslacarsonly","name":"TESLA CARS ONLY.\u26a1","description":"Photos and videos for Tesla cars. Dm for credit and taking content down. Disclosure: Not affiliated with @Tesla.","rest_id":"1544649684672778240","followers_count":49640,"favourites_count":32081,"avatar":"https:\/\/pbs.twimg.com\/profile_images\/1766825443410284546\/EM6O36b8_normal.png","verified":true,"friends_count":30,"location":"\ud835\udd4f"},"media":{"video":[{"media_url_https":"https:\/\/pbs.twimg.com\/ext_tw_video_thumb\/1857853172355579904\/pu\/img\/beAOrDMoynHkq-Vn.jpg","variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1857853172355579904\/pu\/pl\/ylFvkVvyQ1qypw0U.m3u8?tag=12"},{"bitrate":632000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1857853172355579904\/pu\/vid\/avc1\/320x568\/lG9iKQn3NSAMHdh9.mp4?tag=12"},{"bitrate":950000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1857853172355579904\/pu\/vid\/avc1\/480x852\/3wLJ4W7pyZ0X2v6h.mp4?tag=12"},{"bitrate":2176000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1857853172355579904\/pu\/vid\/avc1\/720x1280\/ngjkFL861AdoesVv.mp4?tag=12"}],"aspect_ratio":[9,16],"original_info":{"focus_rects":[],"height":1280,"width":720},"id":"1857853172355579904"}]}},{"type":"tweet","tweet_id":"1856506767737303450","screen_name":"iamnot_elon","bookmarks":18,"favorites":732,"created_at":"Wed Nov 13 01:18:00 +0000 2024","text":"Do you like my Cybertruck? https:\/\/t.co\/RWzqqT5v2m","lang":"en","quotes":13,"replies":237,"conversation_id":"1856506767737303450","retweets":112,"views":"11200","entities":[],"user_info":{"screen_name":"iamnot_elon","name":"Not Elon Musk","description":"NOT Elon Musk. This is a parody account. Short stories, news, polls and more! @NotSpacewear. Boss of @lindayaxc, dad of @teddy_musk. New acct @xMotivationClub","rest_id":"1652733935284101120","followers_count":169138,"favourites_count":57221,"avatar":"https:\/\/pbs.twimg.com\/profile_images\/1781663127219642369\/WegnLWvB_normal.jpg","verified":true,"friends_count":579,"location":"Subscribe to my newsletter \u27a1\ufe0f"},"media":{"video":[{"media_url_https":"https:\/\/pbs.twimg.com\/ext_tw_video_thumb\/1855721721245966336\/pu\/img\/F_UTfwkFIRe5z-5s.jpg","variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1855721721245966336\/pu\/pl\/5HFs7JwZyKFjI7-5.m3u8?tag=12"},{"bitrate":632000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1855721721245966336\/pu\/vid\/avc1\/320x432\/81j0r8vewxhZ9aZv.mp4?tag=12"},{"bitrate":950000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1855721721245966336\/pu\/vid\/avc1\/480x648\/wMfjF_MBbwx0bPfO.mp4?tag=12"},{"bitrate":2176000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1855721721245966336\/pu\/vid\/avc1\/720x972\/FYh-nYl1ZM0kyjhU.mp4?tag=12"}],"aspect_ratio":[54,73],"original_info":{"focus_rects":[],"height":1168,"width":864},"id":"1855721721245966336"}]}},{"type":"tweet","tweet_id":"1857875176337322347","screen_name":"playarabbit","bookmarks":0,"favorites":4,"created_at":"Sat Nov 16 19:55:34 +0000 2024","text":"Hey y'all, for you're safety & mine don't be financing a #cybertruck & tell you're Wife I told you to do it lol \ud83d\ude06 \ud83d\ude02 \ud83d\ude05 #playarabbit https:\/\/t.co\/rODgQ6Xa07","lang":"en","quotes":0,"replies":2,"conversation_id":"1857875176337322347","retweets":2,"views":"132","entities":{"hashtags":[{"indices":[61,72],"text":"cybertruck"},{"indices":[126,138],"text":"playarabbit"}]},"user_info":{"screen_name":"playarabbit","name":"Playa Rabbit \ud83d\udc07 I Am Rebel in Feb 2025","description":"\ud83d\udcaf Playas Dream Ent.\n Playa Rabbit \ud83d\udc07 https:\/\/t.co\/JiZ6EOaTQz\nI'm So Playa streaming now\n#FortWorth #rapper #playarabbit","rest_id":"5445832","followers_count":78591,"favourites_count":462825,"avatar":"https:\/\/pbs.twimg.com\/profile_images\/782148709568176128\/EKsCBOIw_normal.jpg","verified":true,"friends_count":19638,"location":"Fort Worth, TX"},"media":{"video":[{"media_url_https":"https:\/\/pbs.twimg.com\/ext_tw_video_thumb\/1857869789592453120\/pu\/img\/UONojZcxZIzenRAd.jpg","variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1857869789592453120\/pu\/pl\/YRURYn1Yy1Cl8Llw.m3u8?tag=12"},{"bitrate":256000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1857869789592453120\/pu\/vid\/avc1\/480x270\/D7_k6FkaxIiMPBEN.mp4?tag=12"},{"bitrate":832000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1857869789592453120\/pu\/vid\/avc1\/640x360\/C6GBObbvC7YMQEOu.mp4?tag=12"},{"bitrate":2176000,"content_type":"video\/mp4","url":"https:\/\/video-t-1.twimg.com\/ext_tw_video\/1857869789592453120\/pu\/vid\/avc1\/1280x720\/02kDWupCgFAnOZC4.mp4?tag=12"}],"aspect_ratio":[16,9],"original_info":{"focus_rects":[],"height":1080,"width":1920},"id":"1857869789592453120"}]},"place":{"country":"United States","country_code":"US","name":"Texas","full_name":"Texas, USA","place_type":"admin","more_data_url":null}},{"type":"tweet","tweet_id":"1857873971057930729","screen_name":null,"bookmarks":null,"favorites":null,"created_at":null,"text":null,"lang":null,"quotes":null,"replies":null,"conversation_id":null,"retweets":null,"views":null,"entities":null,"user_info":{"screen_name":null,"name":null,"description":null,"rest_id":null,"followers_count":null,"favourites_count":null,"avatar":null,"verified":null,"friends_count":null,"location":null},"media":[]},{"type":"tweet","tweet_id":"1857167776529490265","screen_name":"teslacarsonly","bookmarks":31,"favorites":783,"created_at":"Thu Nov 14 21:04:37 +0000 2024","text":"\u201cSO MUCH HEART WENT INTO CREATING TESLA CYBERTRUCK.\u201d\n\n\u2014 ELON MUSK https:\/\/t.co\/7FVEy5h5jK","lang":"en","quotes":15,"replies":82,"conversation_id":"1857167776529490265","retweets":149,"views":"15669","entities":[],"user_info":{"screen_name":"teslacarsonly","name":"TESLA CARS ONLY.\u26a1","description":"Photos and videos for Tesla cars. Dm for credit and taking content down. Disclo...
                                                                                                                                                                                                                    
                                                                                                    

Tweet Search - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5213/tweet+explorer+api/6678/tweet+search?query=cybertruck' --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 Tweet Explorer 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

Make a GET request to the API with the search query to get relevant tweets and related data.

The Tweet Explorer API allows you to access relevant tweets using specific search queries.

The API receives a search query and optionals such as cursor and search type, and provides relevant tweets in JSON format.

Real-time trend monitoring and hashtag analysis. Market research through mentions and sentiment analysis. Development of alert applications for specific content on Twitter.

Beside the number of API calls per month allowed, there are no other limitations.

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.

The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.

The API returns detailed information about the age and history of a domain, including years, months and days since its creation, as well as expiration and update dates.

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
3,010ms

Category:


Related APIs