Get Twitter Data API

Look for Tweets details, accounts details, related Tweets, and more with this API.

 

About the API:

The news and current events of the globe are available on Twitter. Both the browser and a mobile device may be used to access Twitter. We also provide programmatic access to Twitter data via our API for companies, developers, and users.

Twitter data is different from data released by the majority of other social networks since it contains information that users choose to broadcast publicly. Through our API platform, the public Twitter data that users have chosen to make available to the public is easily accessible.

 

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

Using the GetTwitter API, you may get posts, user information, tweet details, account information, related Tweets, and more.

By entering a user’s Twitter username, you can obtain the following information:

  • User’s ID.
  • Number and list of followers.
  • Number and list of users they follow.
  • If the account is verified.
  • If the account is public or private.
  • The URL of the profile image.
  • The number of tweets the account has and a list of them.
  • You can get the content of tweets, creation date, number of likes and retweets of each one.

 

What are the most common uses cases of this API?

This API is ideal for those content creators that want to know more about personalities on Twitter. 

Also if you are a market agency you will collect information about who a user follows to target better your campaigns. 

 

Are there any limitations with your plans?

The only limitation is the number of API calls you can make per month. 

API Documentation

Endpoints


Retrieve the user's info by passing the Twitter username. 

Get information like user id, followers count, how many people is the user following, if it's verified, if the account is public or private, the profile picture URL, and the number of tweets on the account. 



                                                                            
GET https://zylalabs.com/api/5/get+twitter+data+api/10/user+details
                                                                            
                                                                        

User Details - Endpoint Features

Object Description
username [Required] The Twitter's username we want to query for.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"creation_date":"Sat Jun 17 08:38:44 +0000 2023","user_id":"1669987840007213056","username":"Cryptoshi747","name":"Cryptoshi","follower_count":41,"following_count":404,"favourites_count":412,"is_private":null,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1794140002277863425/yfra8T8n_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1669987840007213056/1689690973","description":"$Bitcoin $Ethereum $BNB","external_url":null,"number_of_tweets":718,"bot":false,"timestamp":1686991124,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null}
                                                                                                                                                                                                                    
                                                                                                    

User Details - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/10/user+details?username=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Retrieve a list of tweets by querying by username.

You will get the creation date of the tweet, the text, and retweets and favorites count of the tweet. 



                                                                            
GET https://zylalabs.com/api/5/get+twitter+data+api/11/tweets+per+user
                                                                            
                                                                        

Tweets per User - Endpoint Features

Object Description
username [Required] The Twitter's username we want to query for.
limit [Required] The number of results. Max 100
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"results":[{"tweet_id":"1848464331559641287","creation_date":"Mon Oct 21 20:40:14 +0000 2024","text":"RT @based16z: It's not another memecoin meta but most people are still programmed to play it the same","media_url":null,"video_url":null,"user":{"creation_date":"Tue Nov 27 04:41:51 +0000 2012","user_id":"973261472","username":"blknoiz06","name":"Ansem 🐂🀄️","follower_count":529553,"following_count":7362,"favourites_count":114488,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"nyc 🌒","profile_pic_url":"https://pbs.twimg.com/profile_images/1847482699805597696/ZhvERGEx_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/973261472/1650108406","description":"coldest nigga breathing | @BullpenFi | telegram @blknoiz06 | ig @blknoiz_06 | all other clone accounts are scams","external_url":"https://t.co/thXEkv2B4s","number_of_tweets":218261,"bot":false,"timestamp":1353991311,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":0,"retweet_count":18,"reply_count":0,"quote_count":0,"retweet":true,"views":null,"timestamp":1729543214,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":null,"retweet_tweet_id":"1848460436511117809","extended_entities":null,"conversation_id":"1848464331559641287","retweet_status":{"tweet_id":"1848460436511117809","creation_date":"Mon Oct 21 20:24:45 +0000 2024","text":"It's not another memecoin meta but most people are still programmed to play it the same","media_url":null,"video_url":null,"user":{"creation_date":"Fri Oct 08 18:24:25 +0000 2021","user_id":"1446541960181858315","username":"based16z","name":"based16z","follower_count":56346,"following_count":214,"favourites_count":107576,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"orderbook","profile_pic_url":"https://pbs.twimg.com/profile_images/1797820768396402688/stXcDcyP_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1446541960181858315/1690100782","description":"I see Twitter as more of an Art Project","external_url":null,"number_of_tweets":18436,"bot":false,"timestamp":1633717465,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":163,"retweet_count":18,"reply_count":53,"quote_count":3,"retweet":false,"views":7724,"timestamp":1729542285,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":null,"retweet_tweet_id":null,"extended_entities":null,"conversation_id":"1848460436511117809","retweet_status":null,"quoted_status":null,"bookmark_count":2,"source":null,"community_note":null},"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},{"tweet_id":"1848463415771099421","creation_date":"Mon Oct 21 20:36:35 +0000 2024","text":"RT @hollowearthterf: Men love to pretend that a man being single at 35+ is a signal of being high value and playing the field, when in actu…","media_url":null,"video_url":null,"user":{"creation_date":"Tue Nov 27 04:41:51 +0000 2012","user_id":"973261472","username":"blknoiz06","name":"Ansem 🐂🀄️","follower_count":529553,"following_count":7362,"favourites_count":114488,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"nyc 🌒","profile_pic_url":"https://pbs.twimg.com/profile_images/1847482699805597696/ZhvERGEx_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/973261472/1650108406","description":"coldest nigga breathing | @BullpenFi | telegram @blknoiz06 | ig @blknoiz_06 | all other clone accounts are scams","external_url":"https://t.co/thXEkv2B4s","number_of_tweets":218261,"bot":false,"timestamp":1353991311,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":0,"retweet_count":26,"reply_count":0,"quote_count":0,"retweet":true,"views":null,"timestamp":1729542995,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":null,"retweet_tweet_id":"1848458533190136306","extended_entities":null,"conversation_id":"1848463415771099421","retweet_status":{"tweet_id":"1848458533190136306","creation_date":"Mon Oct 21 20:17:11 +0000 2024","text":"Men love to pretend that a man being single at 35+ is a signal of being high value and playing the field, when in actuality it’s a signal that that man is not able to access the type of woman he would like to marry so instead opts for one night stands and situationships with","media_url":null,"video_url":null,"user":{"creation_date":"Fri Dec 16 01:23:03 +0000 2022","user_id":"1603561263015026689","username":"hollowearthterf","name":"RFH🦎👁‍🗨🪐🌘 ⬛️ (Doctor)","follower_count":47818,"following_count":1070,"favourites_count":133948,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"Atlantis","profile_pic_url":"https://pbs.twimg.com/profile_images/1744881420747624449/AnaHyWtp_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1603561263015026689/1671236059","description":"Artemis Cultist. Loosh Harvester. Peattard. At eternal war with Rome. Infinite love is the only truth everything else is illusion!!!!!🏴󠁧󠁢󠁥󠁮󠁧󠁿🇩🇪🇺🇸","external_url":"https://t.co/aQz5OQcdeg","number_of_tweets":46445,"bot":false,"timestamp":1671153783,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":379,"retweet_count":26,"reply_count":31,"quote_count":3,"retweet":false,"views":11781,"timestamp":1729541831,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":null,"retweet_tweet_id":null,"extended_entities":null,"conversation_id":"1848458533190136306","retweet_status":null,"quoted_status":null,"bookmark_count":49,"source":null,"community_note":null},"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},{"tweet_id":"1848462110931751022","creation_date":"Mon Oct 21 20:31:24 +0000 2024","text":"RT @OGshoots: memecoin supercycle:\n\n5k-100k the trench warriors\n\n100k-500k the streets are bidding\n\n500k-2M CT is hearing things\n\n2M-10M Li…","media_url":null,"video_url":null,"user":{"creation_date":"Tue Nov 27 04:41:51 +0000 2012","user_id":"973261472","username":"blknoiz06","name":"Ansem 🐂🀄️","follower_count":529553,"following_count":7362,"favourites_count":114488,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"nyc 🌒","profile_pic_url":"https://pbs.twimg.com/profile_images/1847482699805597696/ZhvERGEx_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/973261472/1650108406","description":"coldest nigga breathing | @BullpenFi | telegram @blknoiz06 | ig @blknoiz_06 | all other clone accounts are scams","external_url":"https://t.co/thXEkv2B4s","number_of_tweets":218261,"bot":false,"timestamp":1353991311,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":0,"retweet_count":14,"reply_count":0,"quote_count":0,"retweet":true,"views":null,"timestamp":1729542684,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":null,"retweet_tweet_id":"1848461024795476320","extended_entities":null,"conversation_id":"1848462110931751022","retweet_status":{"tweet_id":"1848461024795476320","creation_date":"Mon Oct 21 20:27:05 +0000 2024","text":"memecoin supercycle:\n\n5k-100k the trench warriors\n\n100k-500k the streets are bidding\n\n500k-2M CT is hearing things\n\n2M-10M Lil Baby’s are copping 1%\n\n10M-50M bids from GOD","media_url":null,"video_url":null,"user":{"creation_date":"Sun Mar 03 16:39:35 +0000 2013","user_id":"1239298848","username":"OGshoots","name":"O G","follower_count":17259,"following_count":3961,"favourites_count":88003,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1830696006167732224/YeQxZINI_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1239298848/1729197007","description":"memecoin and video guy @probablynothing","external_url":null,"number_of_tweets":29743,"bot":false,"timestamp":1362328775,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":110,"retweet_count":14,"reply_count":44,"quote_count":2,"retweet":false,"views":8024,"timestamp":1729542425,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":null,"retweet_tweet_id":null,"extended_entities":null,"conversation_id":"1848461024795476320","retweet_status":null,"quoted_status":null,"bookmark_count":8,"source":null,"community_note":null},"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},{"tweet_id":"1848456819943084460","creation_date":"Mon Oct 21 20:10:23 +0000 2024","text":"RT @goodalexander: something maybe people don't understand is how it all fits together\n\nThe government does QE with fake money. mechanicall…","media_url":null,"video_url":null,"user":{"creation_date":"Tue Nov 27 04:41:51 +0000 2012","user_id":"973261472","username":"blknoiz06","name":"Ansem 🐂🀄️","follower_count":529553,"following_count":7362,"favourites_count":114488,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"nyc 🌒","profile_pic_url":"https://pbs.twimg.com/profile_images/1847482699805597696/ZhvERGEx_normal.jpg","profile_banne...
                                                                                                                                                                                                                    
                                                                                                    

Tweets per User - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/11/tweets+per+user?username=Required&limit=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

You can get the following list from a user by searching by username. 



                                                                            
GET https://zylalabs.com/api/5/get+twitter+data+api/12/who+is+the+user+following
                                                                            
                                                                        

Who is the user following - Endpoint Features

Object Description
user_id [Required] The user_id we want to check for. You can get the user_id from "user details" endpoint.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"detail":[{"loc":["query","user_id"],"msg":"string does not match regex \"^[0-9]+$\"","type":"value_error.str.regex","ctx":{"pattern":"^[0-9]+$"}}]}
                                                                                                                                                                                                                    
                                                                                                    

Who is the user following - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/12/who+is+the+user+following?user_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Retrieve the followers a user has by querying by user ID. 



                                                                            
GET https://zylalabs.com/api/5/get+twitter+data+api/13/user+followers
                                                                            
                                                                        

User Followers - Endpoint Features

Object Description
user_id [Required] The user_id we want to check for. You can get the user_id from "user details" endpoint.
limit [Optional] The number of results. Max 100
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"results":[{"creation_date":"Sun Dec 06 23:33:02 +0000 2009","user_id":"95092020","username":"jordanbpeterson","name":"Dr Jordan B Peterson","follower_count":5488448,"following_count":1662,"favourites_count":159,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1407056014776614923/TKBC60e1_normal.jpg","profile_banner_url":null,"description":"Best-Selling Author | Clinical Psychologist | #1 Education Podcast | Enroll to @petersonacademy now:","external_url":"http://petersonacademy.com","number_of_tweets":50430,"bot":false,"timestamp":1260142382,"has_nft_avatar":false,"category":{"name":"Education","id":144},"default_profile":false,"default_profile_image":false,"listed_count":14447,"verified_type":null},{"creation_date":"Mon May 11 21:18:33 +0000 2009","user_id":"39344374","username":"DonaldJTrumpJr","name":"Donald Trump Jr.","follower_count":12046439,"following_count":2022,"favourites_count":35065,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Florida, USA","profile_pic_url":"https://pbs.twimg.com/profile_images/766652495858896897/LjrJJB9a_normal.jpg","profile_banner_url":null,"description":"","external_url":"https://linktr.ee/donaldjtrumpjr","number_of_tweets":49489,"bot":false,"timestamp":1242076713,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":21770,"verified_type":null},{"creation_date":"Sat Jan 03 19:24:16 +0000 2009","user_id":"18584875","username":"hodgetwins","name":"Hodgetwins","follower_count":2822417,"following_count":2963,"favourites_count":14128,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"United States","profile_pic_url":"https://pbs.twimg.com/profile_images/1526065785659002880/uIvydi_U_normal.jpg","profile_banner_url":null,"description":"Merch & Giveaways at: https://t.co/kxb8qjGCDW  —— PODCAST: @thetwinspod","external_url":"http://officialhodgetwins.com","number_of_tweets":37465,"bot":false,"timestamp":1231010656,"has_nft_avatar":false,"category":{"name":"Social Media Influencer","id":934},"default_profile":false,"default_profile_image":false,"listed_count":3955,"verified_type":null},{"creation_date":"Mon Feb 15 16:05:21 +0000 2016","user_id":"4914384040","username":"TheBabylonBee","name":"The Babylon Bee","follower_count":3964763,"following_count":10,"favourites_count":1659,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"United States","profile_pic_url":"https://pbs.twimg.com/profile_images/1400100770624720898/-HC7kL5x_normal.jpg","profile_banner_url":null,"description":"Fake news you can trust.","external_url":"http://linktr.ee/babylonbee","number_of_tweets":28049,"bot":false,"timestamp":1455552321,"has_nft_avatar":false,"category":{"name":"Media & News Company","id":580},"default_profile":false,"default_profile_image":false,"listed_count":7340,"verified_type":null},{"creation_date":"Tue Dec 16 17:20:24 +0000 2008","user_id":"18166778","username":"Jim_Jordan","name":"Rep. Jim Jordan","follower_count":5321699,"following_count":3703,"favourites_count":5376,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Washington, D.C. ","profile_pic_url":"https://pbs.twimg.com/profile_images/596012379231617025/TtrAXbnA_normal.jpg","profile_banner_url":null,"description":"Proudly serving Ohio's beautiful Fourth District. Chairman @JudiciaryGOP, @Weaponization. Fighting to #DoWhatWeSaid","external_url":"http://jordan.house.gov/","number_of_tweets":14297,"bot":false,"timestamp":1229448024,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":11355,"verified_type":null},{"creation_date":"Sat Jan 01 17:50:03 +0000 2011","user_id":"232901331","username":"dbongino","name":"Dan Bongino","follower_count":5618984,"following_count":1989,"favourites_count":67782,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Planet “Banned By YouTube” ","profile_pic_url":"https://pbs.twimg.com/profile_images/1484871034104958980/tA9vFFnu_normal.jpg","profile_banner_url":null,"description":"Public Enemy #1","external_url":"http://www.bongino.com","number_of_tweets":46154,"bot":false,"timestamp":1293904203,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":10195,"verified_type":null},{"creation_date":"Sat Dec 03 03:06:19 +0000 2011","user_id":"427089628","username":"lexfridman","name":"Lex Fridman","follower_count":3681715,"following_count":189,"favourites_count":7785,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Austin and Boston","profile_pic_url":"https://pbs.twimg.com/profile_images/956331551435960322/OaqR8pAB_normal.jpg","profile_banner_url":null,"description":"Host of Lex Fridman Podcast.\nInterested in robots and humans.","external_url":"https://lexfridman.com/podcast","number_of_tweets":3425,"bot":false,"timestamp":1322881579,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":10629,"verified_type":null},{"creation_date":"Tue Dec 03 01:14:36 +0000 2019","user_id":"1201670995435646976","username":"laurenboebert","name":"Lauren Boebert","follower_count":3715998,"following_count":1417,"favourites_count":6316,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Colorado, USA","profile_pic_url":"https://pbs.twimg.com/profile_images/1498803395578236934/vGGuE9-k_normal.jpg","profile_banner_url":null,"description":"Lauren Boebert for Congress: Congresswoman & candidate for CO-04. Professional RINO Hunter. Raising my boys to be MEN before liberals teach them to be women!","external_url":"https://secure.winred.com/lauren-boebert-for-congress/tw23","number_of_tweets":9761,"bot":false,"timestamp":1575335676,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":5733,"verified_type":null},{"creation_date":"Sun Nov 22 22:32:41 +0000 2009","user_id":"91882544","username":"DineshDSouza","name":"Dinesh D'Souza","follower_count":4239420,"following_count":7950,"favourites_count":11258,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"United States","profile_pic_url":"https://pbs.twimg.com/profile_images/890967538292711424/8puyFbiI_normal.jpg","profile_banner_url":null,"description":"Author, Filmmaker, Host of the Dinesh D’Souza Podcast. Follow me on Locals: https://t.co/UDFY7UCJDc","external_url":"http://dinesh.locals.com","number_of_tweets":143610,"bot":false,"timestamp":1258929161,"has_nft_avatar":false,"category":{"name":"Media Personality","id":933},"default_profile":false,"default_profile_image":false,"listed_count":9926,"verified_type":null},{"creation_date":"Wed Dec 30 18:57:01 +0000 2020","user_id":"1344356576786866176","username":"RepMTG","name":"Rep. Marjorie Taylor Greene🇺🇸","follower_count":3633385,"following_count":504,"favourites_count":3034,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Rome, GA","profile_pic_url":"https://pbs.twimg.com/profile_images/1694851591608627200/hYLDFj9G_normal.jpg","profile_banner_url":null,"description":"Christian, Mother, American, Business Owner, and Congresswoman representing Georgia’s 14th District","external_url":"http://Greene.House.gov","number_of_tweets":7120,"bot":false,"timestamp":1609354621,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":6788,"verified_type":null},{"creation_date":"Tue Dec 09 16:40:22 +0000 2008","user_id":"17995040","username":"benshapiro","name":"Ben Shapiro","follower_count":6936641,"following_count":381,"favourites_count":52,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1791135695567740928/nrRmsfkZ_normal.jpg","profile_banner_url":null,"description":"Daily Wire co-founder, host of @benshapiroshow, #1 NYT bestselling author, America’s #1 ex-rapper","external_url":"https://bit.ly/3M5qqMv","number_of_tweets":199532,"bot":false,"timestamp":1228840822,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":17720,"verified_type":null},{"creation_date":"Thu Apr 23 21:53:30 +0000 2009","user_id":"34743251","username":"SpaceX","name":"SpaceX","follower_count":35382655,"following_count":122,"favourites_count":491,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Earth","profile_pic_url":"https://pbs.twimg.com/profile_images/1697749409851985920/HbrI04tM_normal.jpg","profile_banner_url":null,"description":"SpaceX designs, manufactures and launches the world’s most advanced rockets and spacecraft","external_url":"http://spacex.com","number_of_tweets":8920,"bot":false,"timestamp":1240523610,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":42671,"verified_type":null},{"creation_date":"Mon Apr 20 18:21:04 +0000 2009","user_id":"33608041","username":"ksorbs","name":"Kevin Sorbo","follower_count":2122305,"following_count":482,"favourites_count":9287,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Florida, USA","profile_pic_url":"https://pbs.twimg.com/profile_images/973666854995599361/A_xzZ5Qv_normal.jpg","profile_banner_url":null,"description":"Actor, director, producer, author.","external_url":"https://linktr.ee/ksorbs","number_of_tweets":20598,"bot":false,"timestamp":1240251664,"has_nft_avatar":false,"category":{"name":"Actor","id":948},"default_profile":false,"default_profile_image":false,"listed_count":3940,"verified_type":null},{"creation_date":"Mon Dec 06 19:00:41 +0000 2021","user_id":"1467931973616386052","username":"ThisIsKyleR","name":"Kyle Rittenhouse","follower_count":1240746,"following_count":646,"favourites_count":1439,"is_private":false,"is_verif...
                                                                                                                                                                                                                    
                                                                                                    

User Followers - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/13/user+followers?user_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Retrieve general information about a Tweet by Tweet ID. 

Creation date. Likes. Retweets. Who made the tweet. The tweet text and more. 



                                                                            
GET https://zylalabs.com/api/5/get+twitter+data+api/14/tweet+details
                                                                            
                                                                        

Tweet Details - Endpoint Features

Object Description
tweet_id [Required] The tweet id. Check "tweets per user" to get this information.,
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"tweet_id":"1665731413117640705","creation_date":"Mon Jun 05 14:44:51 +0000 2023","text":"🚀Output: \n\n🔍 Get a list of top 100 companies in a specific industry. 📈💼 Access valuable data: NAICS code, state location, revenue volume, and years on the market. 📍💰 Level up your business insights! #API #ZylaLabs #SICCodes #IndustryData https://t.co/KEXDzdgDdq","media_url":["https://pbs.twimg.com/media/Fx3dTRnWYAEGiR2.jpg"],"video_url":null,"user":{"creation_date":"Tue Nov 30 11:39:43 +0000 2021","user_id":"1465646684847972354","username":"Zyla_Labs","name":"Zyla API Hub","follower_count":18566,"following_count":725,"favourites_count":26,"is_private":null,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1599805723801706497/vGjXLZpL_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1465646684847972354/1695760822","description":"🌐 Find, Connect and Manage APIs\nAll with a single account, single API key, and single SDK. \nTest our APIs with our 7-day Free Trial.","external_url":"https://www.zylalabs.com","number_of_tweets":1702,"bot":false,"timestamp":1638272383,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":17,"verified_type":null},"language":"en","favorite_count":0,"retweet_count":0,"reply_count":0,"quote_count":0,"retweet":false,"views":45,"timestamp":1685976291,"video_view_count":null,"in_reply_to_status_id":"1665731411326763008","quoted_status_id":null,"binding_values":null,"expanded_url":"https://twitter.com/Zyla_Labs/status/1665731413117640705/photo/1","retweet_tweet_id":null,"extended_entities":{"media":[{"display_url":"pic.x.com/kexdzdgddq","expanded_url":"https://twitter.com/Zyla_Labs/status/1665731413117640705/photo/1","id_str":"1665730760412651521","indices":[238,261],"media_key":"3_1665730760412651521","media_url_https":"https://pbs.twimg.com/media/Fx3dTRnWYAEGiR2.jpg","type":"photo","url":"https://t.co/KEXDzdgDdq","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]},"medium":{"faces":[]},"small":{"faces":[]},"orig":{"faces":[]}},"sizes":{"large":{"h":1080,"w":1080,"resize":"fit"},"medium":{"h":1080,"w":1080,"resize":"fit"},"small":{"h":680,"w":680,"resize":"fit"},"thumb":{"h":150,"w":150,"resize":"crop"}},"original_info":{"height":1080,"width":1080,"focus_rects":[{"x":0,"y":103,"w":1080,"h":605},{"x":0,"y":0,"w":1080,"h":1080},{"x":133,"y":0,"w":947,"h":1080},{"x":405,"y":0,"w":540,"h":1080},{"x":0,"y":0,"w":1080,"h":1080}]},"media_results":{"result":{"media_key":"3_1665730760412651521"}}}]},"conversation_id":"1665731407220555778","retweet_status":null,"quoted_status":null,"bookmark_count":0,"source":"Twitter Web App","community_note":null}
                                                                                                                                                                                                                    
                                                                                                    

Tweet Details - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/14/tweet+details?tweet_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This endpoint return search results

 


                                                                            
GET https://zylalabs.com/api/5/get+twitter+data+api/4808/search+tweets
                                                                            
                                                                        

Search Tweets - Endpoint Features

Object Description
query [Required] Topic or word related to your search
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"results":[],"continuation_token":"DAACCgACGaohY4FAJxAKAAMZqiFjgT_Y8AgABAAAAAILAAUAAAAcRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUFBPQgABgAAAAAIAAcAAAAAAAA"}
                                                                                                                                                                                                                    
                                                                                                    

Search Tweets - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/4808/search+tweets?query=Required' --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 Get Twitter Data API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise

Starts at
$ 10,000/Year


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

Customer favorite features

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

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

Category:


Related APIs