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":"1842093311361691691","screen_name":"LukeBarnett","bookmarks":2757,"favorites":179802,"created_at":"Fri Oct 04 06:44:04 +0000 2024","text":"Literally every time I see a cybertruck. https:\/\/t.co\/6gN41qkDuV","lang":"en","quotes":359,"replies":284,"conversation_id":"1842093311361691691","retweets":18784,"views":"3724947","entities":{"hashtags":[],"media":[{"display_url":"pic.x.com\/6gN41qkDuV","expanded_url":"https:\/\/x.com\/LukeBarnett\/status\/1842093311361691691\/photo\/1","id_str":"1842093307800817664","indices":[41,64],"media_key":"3_1842093307800817664","media_url_https":"https:\/\/pbs.twimg.com\/media\/GZBuGoaXkAAWubu.jpg","type":"photo","url":"https:\/\/t.co\/6gN41qkDuV","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":372,"y":36,"h":112,"w":112}]},"medium":{"faces":[{"x":372,"y":36,"h":112,"w":112}]},"small":{"faces":[{"x":372,"y":36,"h":112,"w":112}]},"orig":{"faces":[{"x":372,"y":36,"h":112,"w":112}]}},"sizes":{"large":{"h":344,"w":594,"resize":"fit"},"medium":{"h":344,"w":594,"resize":"fit"},"small":{"h":344,"w":594,"resize":"fit"},"thumb":{"h":150,"w":150,"resize":"crop"}},"original_info":{"height":344,"width":594,"focus_rects":[{"x":0,"y":11,"w":594,"h":333},{"x":110,"y":0,"w":344,"h":344},{"x":131,"y":0,"w":302,"h":344},{"x":196,"y":0,"w":172,"h":344},{"x":0,"y":0,"w":594,"h":344}]},"allow_download_status":{"allow_download":true},"media_results":{"result":{"media_key":"3_1842093307800817664"}}}],"symbols":[],"timestamps":[],"urls":[],"user_mentions":[]},"user_info":{"screen_name":"LukeBarnett","name":"\u029f\u1d1c\u1d0b\u1d07 \u0299\u1d00\u0280\u0274\u1d07\u1d1b\u1d1b \ud83d\ude9b\ud83d\udc7b","description":"THE CROSSING OVER EXPRESS. Producer of YOUR LUCKY DAY. Writer and co-star of FAITH BA$ED. Other stuff (FOR ALL MANKIND, NCIS:LA, FEAR INC, etc).","rest_id":"384471964","followers_count":15428,"favourites_count":49180,"avatar":"https:\/\/pbs.twimg.com\/profile_images\/1642525633292169217\/SeO3Mo3M_normal.jpg","verified":false,"friends_count":2636,"location":"Los Angeles, CA"},"media":{"photo":[{"media_url_https":"https:\/\/pbs.twimg.com\/media\/GZBuGoaXkAAWubu.jpg","id":"1842093307800817664","sizes":{"h":344,"w":594}}]}},{"type":"tweet","tweet_id":"1797425577978454457","screen_name":"JBehindtheWheel","bookmarks":512,"favorites":8500,"created_at":"Mon Jun 03 00:30:26 +0000 2024","text":"Went to a #Cybertruck meet where they had an \u201coff road\u201d course. Got tried of hearing everyone say how good these trucks were as they did little fish tails in the corners.\nI brought out my stock Crown Vic and shows them what\u2019s what. https:\/\/t.co\/9vs5ifwc0V","lang":"en","quotes":154,"replies":246,"conversation_id":"1797425577978454457","retweets":688,"views":"558751","entities":{"hashtags":[{"indices":[10,21],"text":"Cybertruck"}],"media":[{"display_url":"pic.x.com\/9vs5ifwc0V","expanded_url":"https:\/\/x.com\/JBehindtheWheel\/status\/1797425577978454457\/video\/1","id_str":"1797425504363986944","indices":[232,255],"media_key":"7_1797425504363986944","media_url_https":"https:\/\/pbs.twimg.com\/ext_tw_video_thumb\/1797425504363986944\/pu\/img\/7vbSN31TcaohsYPs.jpg","type":"video","url":"https:\/\/t.co\/9vs5ifwc0V","additional_media_info":{"monetizable":false},"ext_media_availability":{"status":"Available"},"sizes":{"large":{"h":1280,"w":720,"resize":"fit"},"medium":{"h":1200,"w":675,"resize":"fit"},"small":{"h":680,"w":383,"resize":"fit"},"thumb":{"h":150,"w":150,"resize":"crop"}},"original_info":{"height":1280,"width":720,"focus_rects":[]},"allow_download_status":{"allow_download":true},"video_info":{"aspect_ratio":[9,16],"duration_millis":26560,"variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video.twimg.com\/ext_tw_video\/1797425504363986944\/pu\/pl\/XsNgxaeZmb7yhWgz.m3u8?tag=12&v=cfc"},{"bitrate":632000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/ext_tw_video\/1797425504363986944\/pu\/vid\/avc1\/320x568\/ttM3GHjXjkxtqztG.mp4?tag=12"},{"bitrate":950000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/ext_tw_video\/1797425504363986944\/pu\/vid\/avc1\/480x852\/DvCjVjw3mIg3H__v.mp4?tag=12"},{"bitrate":2176000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/ext_tw_video\/1797425504363986944\/pu\/vid\/avc1\/720x1280\/GlvM8sdo5l-XIkIZ.mp4?tag=12"}]},"media_results":{"result":{"media_key":"7_1797425504363986944"}}},{"display_url":"pic.x.com\/9vs5ifwc0V","expanded_url":"https:\/\/x.com\/JBehindtheWheel\/status\/1797425577978454457\/video\/1","id_str":"1797425504363933696","indices":[232,255],"media_key":"3_1797425504363933696","media_url_https":"https:\/\/pbs.twimg.com\/media\/GPG8-RnW8AAtje0.jpg","type":"photo","url":"https:\/\/t.co\/9vs5ifwc0V","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]},"medium":{"faces":[]},"small":{"faces":[]},"orig":{"faces":[]}},"sizes":{"large":{"h":2048,"w":1536,"resize":"fit"},"medium":{"h":1200,"w":900,"resize":"fit"},"small":{"h":680,"w":510,"resize":"fit"},"thumb":{"h":150,"w":150,"resize":"crop"}},"original_info":{"height":2048,"width":1536,"focus_rects":[{"x":0,"y":440,"w":1536,"h":860},{"x":0,"y":102,"w":1536,"h":1536},{"x":0,"y":0,"w":1536,"h":1751},{"x":0,"y":0,"w":1024,"h":2048},{"x":0,"y":0,"w":1536,"h":2048}]},"media_results":{"result":{"media_key":"3_1797425504363933696"}}},{"display_url":"pic.x.com\/9vs5ifwc0V","expanded_url":"https:\/\/x.com\/JBehindtheWheel\/status\/1797425577978454457\/video\/1","id_str":"1797425504359759873","indices":[232,255],"media_key":"3_1797425504359759873","media_url_https":"https:\/\/pbs.twimg.com\/media\/GPG8-RmXQAEfTck.jpg","type":"photo","url":"https:\/\/t.co\/9vs5ifwc0V","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]},"medium":{"faces":[]},"small":{"faces":[]},"orig":{"faces":[]}},"sizes":{"large":{"h":1536,"w":2048,"resize":"fit"},"medium":{"h":900,"w":1200,"resize":"fit"},"small":{"h":510,"w":680,"resize":"fit"},"thumb":{"h":150,"w":150,"resize":"crop"}},"original_info":{"height":1536,"width":2048,"focus_rects":[{"x":0,"y":389,"w":2048,"h":1147},{"x":102,"y":0,"w":1536,"h":1536},{"x":197,"y":0,"w":1347,"h":1536},{"x":486,"y":0,"w":768,"h":1536},{"x":0,"y":0,"w":2048,"h":1536}]},"media_results":{"result":{"media_key":"3_1797425504359759873"}}}],"symbols":[],"timestamps":[],"urls":[],"user_mentions":[]},"user_info":{"screen_name":"JBehindtheWheel","name":"Jesus R. Garcia","description":"Writer at-large. Automotive Journalist. Digital Artist. Project Car-Collector. Auto Columnist for The Houston Chronicle. President of TX Motor Press Association","rest_id":"1921269979","followers_count":768,"favourites_count":30652,"avatar":"https:\/\/pbs.twimg.com\/profile_images\/1498848296646938627\/U1bP4SGc_normal.jpg","verified":false,"friends_count":465,"location":"South Texas"},"media":{"video":[{"media_url_https":"https:\/\/pbs.twimg.com\/ext_tw_video_thumb\/1797425504363986944\/pu\/img\/7vbSN31TcaohsYPs.jpg","variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video.twimg.com\/ext_tw_video\/1797425504363986944\/pu\/pl\/XsNgxaeZmb7yhWgz.m3u8?tag=12&v=cfc"},{"bitrate":632000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/ext_tw_video\/1797425504363986944\/pu\/vid\/avc1\/320x568\/ttM3GHjXjkxtqztG.mp4?tag=12"},{"bitrate":950000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/ext_tw_video\/1797425504363986944\/pu\/vid\/avc1\/480x852\/DvCjVjw3mIg3H__v.mp4?tag=12"},{"bitrate":2176000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/ext_tw_video\/1797425504363986944\/pu\/vid\/avc1\/720x1280\/GlvM8sdo5l-XIkIZ.mp4?tag=12"}],"aspect_ratio":[9,16],"original_info":{"height":1280,"width":720,"focus_rects":[]},"id":"1797425504363986944"}],"photo":[{"media_url_https":"https:\/\/pbs.twimg.com\/media\/GPG8-RnW8AAtje0.jpg","id":"1797425504363933696","sizes":{"h":1200,"w":900}},{"media_url_https":"https:\/\/pbs.twimg.com\/media\/GPG8-RmXQAEfTck.jpg","id":"1797425504359759873","sizes":{"h":900,"w":1200}}]}},{"type":"tweet","tweet_id":"1792160434734223547","screen_name":"BlackLabelAdvsr","bookmarks":1011,"favorites":19364,"created_at":"Sun May 19 11:48:39 +0000 2024","text":"Some want a $80k Cybertruck. \n\nI want a $16k Toyota utility truck that the U.S. government has banned.  \n\nWe are not the same. https:\/\/t.co\/h7wxPN8caZ","lang":"en","quotes":165,"replies":572,"conversation_id":"1792160434734223547","retweets":1763,"views":"1217339","entities":{"hashtags":[],"media":[{"display_url":"pic.x.com\/h7wxPN8caZ","expanded_url":"https:\/\/x.com\/BlackLabelAdvsr\/status\/1792160434734223547\/video\/1","id_str":"1792160368418009088","indices":[127,150],"media_key":"13_1792160368418009088","media_url_https":"https:\/\/pbs.twimg.com\/amplify_video_thumb\/1792160368418009088\/img\/X_ku9m4QD00Y3sw0.jpg","type":"video","url":"https:\/\/t.co\/h7wxPN8caZ","additional_media_info":{"monetizable":false},"ext_media_availability":{"status":"Available"},"sizes":{"large":{"h":1280,"w":720,"resize":"fit"},"medium":{"h":1200,"w":675,"resize":"fit"},"small":{"h":680,"w":383,"resize":"fit"},"thumb":{"h":150,"w":150,"resize":"crop"}},"original_info":{"height":1280,"width":720,"focus_rects":[]},"allow_download_status":{"allow_download":true},"video_info":{"aspect_ratio":[9,16],"duration_millis":37289,"variants":[{"content_type":"application\/x-mpegURL","url":"https:\/\/video.twimg.com\/amplify_video\/1792160368418009088\/pl\/QXvK9x5YZjvZPwWF.m3u8?tag=14&v=cfc"},{"bitrate":632000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/amplify_video\/1792160368418009088\/vid\/avc1\/320x568\/FnV5XT72tMoNP_lZ.mp4?tag=14"},{"bitrate":950000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/amplify_video\/1792160368418009088\/vid\/avc1\/480x852\/a6viwoo0OGinEqQJ.mp4?tag=14"},{"bitrate":2176000,"content_type":"video\/mp4","url":"https:\/\/video.twimg.com\/amplify_video\/1792160368418009088...
                                                                                                                                                                                                                    
                                                                                                    

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, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response 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]

 Service Level
100%
 Response Time
4,195ms

Category:


Related APIs