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":"Wed Sep 16 10:23:17 +0000 2020","user_id":"1306176778042515457","username":"Cryptodexs","name":"Dexs","follower_count":75,"following_count":417,"favourites_count":1212,"is_private":null,"is_verified":false,"is_blue_verified":true,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1864321350690586624/ZbXzdn4r_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1306176778042515457/1731940158","description":"Defi enjoyer\nSocialfi enthusiast","external_url":null,"number_of_tweets":195,"bot":false,"timestamp":1600251797,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":2,"verified_type":null}
                                                                                                                                                                                                                    
                                                                                                    

User Details - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/10/user+details?username=leomessi' --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.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"results":[{"tweet_id":"1870337021358788959","creation_date":"Sat Dec 21 05:14:29 +0000 2024","text":"RT @0xfrankli: 一直认为ai + crypto是大未来 可能是后面至少1-2个周期的主叙事 但是可能需要ai的进一步发展 现在的ai meme 基本都是meme 产品 纯垃圾  所以现在是完全还没开始的状态 周一跟 @tzhen 吃饭 听到目前tee的进展 和 @…","media_url":null,"video_url":null,"user":{"creation_date":"Fri Jan 30 06:13:35 +0000 2009","user_id":"19756749","username":"tzhen","name":"There.Is.No.Alternative⚡🤖","follower_count":11329,"following_count":2727,"favourites_count":23214,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"Decentralized","profile_pic_url":"https://pbs.twimg.com/profile_images/1732157189924487168/NsbLiA3q_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/19756749/1600138860","description":"Millions of 🤖 live for milli-seconds to make the market turing complete, who will be the last human standing? \n\nI live till I decentralize.\nPi-Rate $HIP ⚓🏴‍☠️","external_url":"https://t.co/fUGKgdoQPf","number_of_tweets":5115,"bot":false,"timestamp":1233296015,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"zh","favorite_count":0,"retweet_count":1,"reply_count":0,"quote_count":0,"retweet":true,"views":null,"timestamp":1734758069,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":null,"retweet_tweet_id":"1869653441301356870","extended_entities":null,"conversation_id":"1870337021358788959","retweet_status":{"tweet_id":"1869653441301356870","creation_date":"Thu Dec 19 07:58:11 +0000 2024","text":"一直认为ai + crypto是大未来 可能是后面至少1-2个周期的主叙事 但是可能需要ai的进一步发展 现在的ai meme 基本都是meme 产品 纯垃圾  所以现在是完全还没开始的状态 周一跟 @tzhen 吃饭 听到目前tee的进展 和 @flashbots_x 现在的进展 对ai crypto期待更大了些 希望这个周期至少看到苗头","media_url":null,"video_url":null,"user":{"creation_date":"Sat Aug 11 15:27:36 +0000 2012","user_id":"751440680","username":"0xfrankli","name":"Parallverse.eth d/ACC","follower_count":789,"following_count":2620,"favourites_count":349,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"ShangHai","profile_pic_url":"https://pbs.twimg.com/profile_images/1692408352028905472/Qq7LiWzB_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/751440680/1588095106","description":"Runing Jdac capital focus on crypto investment. CS major from UoM. Full time crypto since 2017, Crypto Native,LP of dragonfly, pantera, alliancedao etc. Estp","external_url":"https://t.co/4dKlrnxHnG","number_of_tweets":1137,"bot":false,"timestamp":1344698856,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"zh","favorite_count":3,"retweet_count":1,"reply_count":2,"quote_count":0,"retweet":false,"views":488,"timestamp":1734595091,"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":"1869653441301356870","retweet_status":null,"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},{"tweet_id":"1870290716162961458","creation_date":"Sat Dec 21 02:10:29 +0000 2024","text":"RT @NTmoney: The CEO of a venture backed Ethereum competitor that raised $400M+ stepped down just 3 years in.\n\nThere's a lot wrong with tha…","media_url":null,"video_url":null,"user":{"creation_date":"Fri Jan 30 06:13:35 +0000 2009","user_id":"19756749","username":"tzhen","name":"There.Is.No.Alternative⚡🤖","follower_count":11329,"following_count":2727,"favourites_count":23214,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"Decentralized","profile_pic_url":"https://pbs.twimg.com/profile_images/1732157189924487168/NsbLiA3q_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/19756749/1600138860","description":"Millions of 🤖 live for milli-seconds to make the market turing complete, who will be the last human standing? \n\nI live till I decentralize.\nPi-Rate $HIP ⚓🏴‍☠️","external_url":"https://t.co/fUGKgdoQPf","number_of_tweets":5115,"bot":false,"timestamp":1233296015,"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":60,"reply_count":0,"quote_count":0,"retweet":true,"views":null,"timestamp":1734747029,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":null,"retweet_tweet_id":"1870234117541183603","extended_entities":null,"conversation_id":"1870290716162961458","retweet_status":{"tweet_id":"1870234117541183603","creation_date":"Fri Dec 20 22:25:35 +0000 2024","text":"The CEO of a venture backed Ethereum competitor that raised $400M+ stepped down just 3 years in.\n\nThere's a lot wrong with that sentence. \n\nFirst, blockchains do not have CEOs. The whole point is to decentralize power. \n\nSecond, a $400M raise for a zero-sum project that rides a","media_url":null,"video_url":null,"user":{"creation_date":"Mon Mar 30 01:48:23 +0000 2009","user_id":"27557141","username":"NTmoney","name":"Nick Tomaino","follower_count":62113,"following_count":1001,"favourites_count":28623,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1621269343672877056/Qzm_uALg_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/27557141/1355886947","description":"@1confirmation. low extraversion, high conviction","external_url":"https://t.co/SDDPTQiCXr","number_of_tweets":10216,"bot":false,"timestamp":1238377703,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":1159,"retweet_count":60,"reply_count":92,"quote_count":11,"retweet":false,"views":212904,"timestamp":1734733535,"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":"1870234117541183603","retweet_status":null,"quoted_status":null,"bookmark_count":196,"source":null,"community_note":null},"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},{"tweet_id":"1870238457907351910","creation_date":"Fri Dec 20 22:42:50 +0000 2024","text":"RT @bgmshana: Life is short, PvP is stupid.\n\nIn the TEE world, people COLLABORATIVELY build on each other. We share ideas, ship research wo…","media_url":null,"video_url":null,"user":{"creation_date":"Fri Jan 30 06:13:35 +0000 2009","user_id":"19756749","username":"tzhen","name":"There.Is.No.Alternative⚡🤖","follower_count":11329,"following_count":2727,"favourites_count":23214,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"Decentralized","profile_pic_url":"https://pbs.twimg.com/profile_images/1732157189924487168/NsbLiA3q_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/19756749/1600138860","description":"Millions of 🤖 live for milli-seconds to make the market turing complete, who will be the last human standing? \n\nI live till I decentralize.\nPi-Rate $HIP ⚓🏴‍☠️","external_url":"https://t.co/fUGKgdoQPf","number_of_tweets":5115,"bot":false,"timestamp":1233296015,"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":2,"reply_count":0,"quote_count":0,"retweet":true,"views":null,"timestamp":1734734570,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":"1869960912523931905","binding_values":null,"expanded_url":null,"retweet_tweet_id":"1870219726070395236","extended_entities":null,"conversation_id":"1870238457907351910","retweet_status":{"tweet_id":"1870219726070395236","creation_date":"Fri Dec 20 21:28:24 +0000 2024","text":"Life is short, PvP is stupid.\n\nIn the TEE world, people COLLABORATIVELY build on each other. We share ideas, ship research works, toolings, infra, building open source hardware, and eventually move towards the cryptographic computer.\n\nCountless examples. Just check how","media_url":null,"video_url":null,"user":{"creation_date":"Fri Jan 18 06:07:15 +0000 2013","user_id":"1100165066","username":"bgmshana","name":"Hang | h4x3rotab.eth ₱ 🍵💊","follower_count":1744,"following_count":990,"favourites_count":5803,"is_private":false,"is_verified":false,"is_blue_verified":true,"location":"San Francisco, CA","profile_pic_url":"https://pbs.twimg.com/profile_images/1270226642086985729/NKrDhyHw_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1100165066/1591680607","description":"Co-founder @PhalaNetwork; offchain maxi / build on #ethereum / #TEE Pilled / #DecentralizeEverything","external_url":"https://t.co/9awuRsCTtC","number_of_tweets":3062,"bot":false,"timestamp":1358489235,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":15,"retweet_count":2,"reply_count":1,"quote_count":0,"retweet":false,"views":1693,"timestamp":1734730104,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":"1869960912523931905","binding_values":null,"expanded_url":null,"retweet_tweet_id":null,"extended_entities":null,"conversation_id":"1870219726070...
                                                                                                                                                                                                                    
                                                                                                    

Tweets per User - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/11/tweets+per+user?username=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

       
                                                                                                        
                                                                                                                                                                                                                            ...
                                                                                                                                                                                                                    
                                                                                                    

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.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"results":[{"creation_date":"Sat Apr 29 17:21:41 +0000 2023","user_id":"1652362332859760640","username":"phigglebottomi","name":"october","follower_count":9,"following_count":598,"favourites_count":4218,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1869033385156313088/__Soazb4_normal.jpg","profile_banner_url":null,"description":"","external_url":null,"number_of_tweets":5,"bot":false,"timestamp":1682788901,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Fri Dec 11 05:26:54 +0000 2020","user_id":"1337267548207898625","username":"barcelonismo__1","name":"Barcelonismo","follower_count":79,"following_count":180,"favourites_count":248,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Guadalajara, Jalisco","profile_pic_url":"https://pbs.twimg.com/profile_images/1869155599243419648/KY2QwmEK_normal.jpg","profile_banner_url":null,"description":"@FCBarcelona @Chivas","external_url":null,"number_of_tweets":223,"bot":false,"timestamp":1607664414,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Fri Nov 22 10:47:25 +0000 2024","user_id":"1859911491404648448","username":"kimberl291974","name":"kimberly","follower_count":6,"following_count":40,"favourites_count":0,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1861376276495507456/Xp8ywH5n_normal.jpg","profile_banner_url":null,"description":"Patience is not just about waiting; it’s about how you wait.","external_url":null,"number_of_tweets":1,"bot":false,"timestamp":1732272445,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Mon Aug 12 08:06:39 +0000 2024","user_id":"1822907509927038976","username":"onlyeatapplz","name":"Shin Igami","follower_count":0,"following_count":140,"favourites_count":162,"is_private":true,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1822910705810472960/bABrByiy_normal.jpg","profile_banner_url":null,"description":"\"(?), do you know?\"","external_url":null,"number_of_tweets":3,"bot":false,"timestamp":1723449999,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Fri Dec 15 19:02:51 +0000 2023","user_id":"1735737075268222976","username":"voidsitoooo1222","name":"voidsi te papea y te jode","follower_count":1947,"following_count":2233,"favourites_count":42903,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"barrio padre que me vio crecer","profile_pic_url":"https://pbs.twimg.com/profile_images/1868884509053124608/ASimOPXS_normal.jpg","profile_banner_url":null,"description":"bostero, metalero y baitero/ respaldo: @voidsideozBv/ candado: @curivoidsito","external_url":"https://open.spotify.com/playlist/4ptN57q911qsE236wwXbOX?si=e2c7f06290f74224","number_of_tweets":20735,"bot":false,"timestamp":1702666971,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":2,"verified_type":null},{"creation_date":"Thu Aug 29 17:34:15 +0000 2024","user_id":"1829210799065157632","username":"EQVLE","name":"EQVLE","follower_count":43,"following_count":1189,"favourites_count":7090,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Argentina 🇦🇷","profile_pic_url":"https://pbs.twimg.com/profile_images/1869827608612913152/jMqVAzFc_normal.jpg","profile_banner_url":null,"description":"Feliz navidad putos de mierda","external_url":"https://www.tiktok.com/@e_q_v_l_e","number_of_tweets":1840,"bot":false,"timestamp":1724952855,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Sun Oct 27 17:47:53 +0000 2024","user_id":"1850595185774006272","username":"pepesa91218","name":"Pepesa","follower_count":63,"following_count":322,"favourites_count":33,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Argentina","profile_pic_url":"https://pbs.twimg.com/profile_images/1857892887490449409/WmjaDXhJ_normal.jpg","profile_banner_url":null,"description":"hola soy pepesa (dep @pepesa16)","external_url":null,"number_of_tweets":633,"bot":false,"timestamp":1730051273,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Mon Apr 11 05:17:17 +0000 2016","user_id":"719393864306597888","username":"mthsxyzz","name":"mathias","follower_count":133,"following_count":826,"favourites_count":110237,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"19 ","profile_pic_url":"https://pbs.twimg.com/profile_images/1821336291377549312/rdiMs4f7_normal.jpg","profile_banner_url":null,"description":"Ni fu, ni fa","external_url":null,"number_of_tweets":9367,"bot":false,"timestamp":1460351837,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Wed Aug 12 22:00:07 +0000 2020","user_id":"1293668595474587648","username":"aleiyv","name":"Alexdoooooooo!!!","follower_count":132,"following_count":955,"favourites_count":87156,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Sexo","profile_pic_url":"https://pbs.twimg.com/profile_images/1571908449096581120/8eArYSc1_normal.jpg","profile_banner_url":null,"description":"Just a guy that do RT and like for everyone\nAlexdoo#5426","external_url":null,"number_of_tweets":50368,"bot":false,"timestamp":1597269607,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":1,"verified_type":null},{"creation_date":"Wed Sep 18 22:54:33 +0000 2024","user_id":"1836539105494122496","username":"joaqn06","name":"joaqn06","follower_count":18,"following_count":740,"favourites_count":27945,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1861465680261902336/5BGV3xJo_normal.jpg","profile_banner_url":null,"description":"@arsenal @fcbarcelona","external_url":null,"number_of_tweets":51,"bot":false,"timestamp":1726700073,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Wed Oct 11 18:05:39 +0000 2023","user_id":"1712167522546442240","username":"Bravocoole","name":"Coole","follower_count":73,"following_count":1360,"favourites_count":33451,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":" June 1","profile_pic_url":"https://pbs.twimg.com/profile_images/1850956171823157248/rk7OX3E2_normal.jpg","profile_banner_url":null,"description":"","external_url":"http://x.com","number_of_tweets":5690,"bot":false,"timestamp":1697047539,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Tue Aug 18 21:31:28 +0000 2015","user_id":"3319287787","username":"sirale43123","name":"senki","follower_count":11,"following_count":3396,"favourites_count":150454,"is_private":true,"is_verified":false,"is_blue_verified":false,"location":"Argentina","profile_pic_url":"https://pbs.twimg.com/profile_images/1665011650703892480/S-Cs5IBj_normal.jpg","profile_banner_url":null,"description":"","external_url":null,"number_of_tweets":20732,"bot":false,"timestamp":1439933488,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Sat Dec 02 21:53:09 +0000 2023","user_id":"1731068955677126656","username":"NicolasD4C","name":"NicolasD4C","follower_count":477,"following_count":4041,"favourites_count":76597,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Shinonome love train","profile_pic_url":"https://pbs.twimg.com/profile_images/1837344596600193024/uftieeHb_normal.jpg","profile_banner_url":null,"description":"Amo Nichijou como amo a mi madre. Dojyaaaa~~n | cuenta secundaria: @NicolasTusk","external_url":"https://myanimelist.net/profile/Nicolasescobar","number_of_tweets":55538,"bot":false,"timestamp":1701553989,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":3,"verified_type":null},{"creation_date":"Wed Apr 08 04:38:13 +0000 2020","user_id":"1247745435109736449","username":"thomeso04040","name":"pklpklkl","follower_count":17,"following_count":977,"favourites_count":70588,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1839112892290826240/GIAsPi3y_normal.jpg","profile_banner_url":null,"description":"soy un don nadie","external_url":null,"number_of_tweets":293,"bot":false,"timestamp":1586320693,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},{"creation_date":"Sun Dec 19 20:21:35 +0000 2021","user_id":"1472663378544009217","username":"Tyzzleep","name":".ۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗۗTyzz","follower_count":47,"following_count":505,"favourites_count":164309,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1864552786349690880/CWerBwMv_normal.jpg","profile_banner_url":null,"description":"plaga","external_url":null,"number_of_tweets":2611,"bot":false,"timestamp":1639945295,"has_nft_avatar":false,"category":null,"default_profile":true,"de...
                                                                                                                                                                                                                    
                                                                                                    

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":"1355759832876244995","creation_date":"Sun Jan 31 06:08:27 +0000 2021","text":"おいせまいり","media_url":null,"video_url":null,"user":{"creation_date":"Thu Dec 06 03:49:48 +0000 2007","user_id":"10893142","username":"leomessi","name":"レオメッシー","follower_count":7348,"following_count":237,"favourites_count":235,"is_private":null,"is_verified":false,"is_blue_verified":false,"location":"Kyoto","profile_pic_url":"https://pbs.twimg.com/profile_images/68583146/comiket_07_normal.jpg","profile_banner_url":null,"description":"んもうTwitterはこれに統一しよう!\nということで帰ったきましたただいまー","external_url":null,"number_of_tweets":8191,"bot":false,"timestamp":1196912988,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":32,"verified_type":null},"language":"ja","favorite_count":195,"retweet_count":53,"reply_count":293,"quote_count":154,"retweet":false,"views":0,"timestamp":1612073307,"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":"1355759832876244995","retweet_status":null,"quoted_status":null,"bookmark_count":62,"source":"Twitter for iPhone","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":[{"tweet_id":"1604552030541996034","creation_date":"Sun Dec 18 18:59:49 +0000 2022","text":"Felicidades Hermano 👏🏽 #leomessi https://t.co/5XClpQf15y","media_url":["https://pbs.twimg.com/media/FkSDkD3XgAMyAJ9.jpg"],"video_url":null,"user":{"creation_date":"Tue Jun 22 20:59:27 +0000 2010","user_id":"158487331","username":"neymarjr","name":"Neymar Jr","follower_count":63907873,"following_count":603,"favourites_count":1413,"is_private":null,"is_verified":false,"is_blue_verified":true,"location":"Paris, France","profile_pic_url":"https://pbs.twimg.com/profile_images/1806700180651057152/3yLNNhWF_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/158487331/1734120652","description":"Filho de Deus, Pai, Feliz e Ousado !","external_url":"https://linktr.ee/neymarjr","number_of_tweets":42551,"bot":false,"timestamp":1277240367,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":46444,"verified_type":null},"language":"es","favorite_count":2497833,"retweet_count":267943,"reply_count":23265,"quote_count":18407,"retweet":false,"views":58980252,"timestamp":1671389989,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":"https://x.com/neymarjr/status/1604552030541996034/photo/1","retweet_tweet_id":null,"extended_entities":{"media":[{"display_url":"pic.x.com/5XClpQf15y","expanded_url":"https://x.com/neymarjr/status/1604552030541996034/photo/1","id_str":"1604552022786801667","indices":[33,56],"media_key":"3_1604552022786801667","media_url_https":"https://pbs.twimg.com/media/FkSDkD3XgAMyAJ9.jpg","type":"photo","url":"https://t.co/5XClpQf15y","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":644,"y":1186,"h":238,"w":238},{"x":1178,"y":670,"h":314,"w":314},{"x":764,"y":378,"h":456,"w":456}]},"medium":{"faces":[{"x":377,"y":694,"h":139,"w":139},{"x":690,"y":392,"h":183,"w":183},{"x":447,"y":221,"h":267,"w":267}]},"small":{"faces":[{"x":213,"y":393,"h":79,"w":79},{"x":391,"y":222,"h":104,"w":104},{"x":253,"y":125,"h":151,"w":151}]},"orig":{"faces":[{"x":644,"y":1186,"h":238,"w":238},{"x":1178,"y":670,"h":314,"w":314},{"x":764,"y":378,"h":456,"w":456}]}},"sizes":{"large":{"h":2048,"w":2048,"resize":"fit"},"medium":{"h":1200,"w":1200,"resize":"fit"},"small":{"h":680,"w":680,"resize":"fit"},"thumb":{"h":150,"w":150,"resize":"crop"}},"original_info":{"height":2048,"width":2048,"focus_rects":[{"x":0,"y":92,"w":2048,"h":1147},{"x":0,"y":0,"w":2048,"h":2048},{"x":74,"y":0,"w":1796,"h":2048},{"x":460,"y":0,"w":1024,"h":2048},{"x":0,"y":0,"w":2048,"h":2048}]}}]},"conversation_id":"1604552030541996034","retweet_status":null,"quoted_status":null,"bookmark_count":7768,"source":"Twitter for iPhone","community_note":null},{"tweet_id":"1869828894414778742","creation_date":"Thu Dec 19 19:35:22 +0000 2024","text":"#leomessi https://t.co/fbh5XWzJ3c","media_url":["https://pbs.twimg.com/ext_tw_video_thumb/1869828660338753536/pu/img/hZJLNj4W8SyRCAkR.jpg"],"video_url":[{"content_type":"application/x-mpegURL","url":"https://video.twimg.com/ext_tw_video/1869828660338753536/pu/pl/CYf-LGpwZ-aFtx38.m3u8?tag=12"},{"bitrate":632000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1869828660338753536/pu/vid/avc1/320x568/0gJNeEqXRYuXiSv1.mp4?tag=12"},{"bitrate":950000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1869828660338753536/pu/vid/avc1/480x852/hw_NiKqq0F1hHNlU.mp4?tag=12"},{"bitrate":2176000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1869828660338753536/pu/vid/avc1/720x1280/yBIjapFNR9WMY8B6.mp4?tag=12"}],"user":{"creation_date":"Mon Jul 31 15:49:13 +0000 2023","user_id":"1686041227907493888","username":"thismrsst","name":"maysss","follower_count":44,"following_count":41,"favourites_count":1813,"is_private":null,"is_verified":false,"is_blue_verified":false,"location":"derinlerde","profile_pic_url":"https://pbs.twimg.com/profile_images/1869727976218099712/sDgW-0V8_normal.jpg","profile_banner_url":null,"description":"💛❤️✨","external_url":null,"number_of_tweets":408,"bot":false,"timestamp":1690818553,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":null},"language":"qme","favorite_count":1,"retweet_count":0,"reply_count":0,"quote_count":0,"retweet":false,"views":21,"timestamp":1734636922,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":"https://x.com/thismrsst/status/1869828894414778742/video/1","retweet_tweet_id":null,"extended_entities":{"media":[{"display_url":"pic.x.com/fbh5XWzJ3c","expanded_url":"https://x.com/thismrsst/status/1869828894414778742/video/1","id_str":"1869828660338753536","indices":[10,33],"media_key":"7_1869828660338753536","media_url_https":"https://pbs.twimg.com/ext_tw_video_thumb/1869828660338753536/pu/img/hZJLNj4W8SyRCAkR.jpg","type":"video","url":"https://t.co/fbh5XWzJ3c","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":[]},"video_info":{"aspect_ratio":[9,16],"duration_millis":32480,"variants":[{"content_type":"application/x-mpegURL","url":"https://video.twimg.com/ext_tw_video/1869828660338753536/pu/pl/CYf-LGpwZ-aFtx38.m3u8?tag=12"},{"bitrate":632000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1869828660338753536/pu/vid/avc1/320x568/0gJNeEqXRYuXiSv1.mp4?tag=12"},{"bitrate":950000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1869828660338753536/pu/vid/avc1/480x852/hw_NiKqq0F1hHNlU.mp4?tag=12"},{"bitrate":2176000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1869828660338753536/pu/vid/avc1/720x1280/yBIjapFNR9WMY8B6.mp4?tag=12"}]}}]},"conversation_id":"1869828894414778742","retweet_status":null,"quoted_status":null,"bookmark_count":0,"source":"Twitter for Android","community_note":null},{"tweet_id":"1869299107292164327","creation_date":"Wed Dec 18 08:30:11 +0000 2024","text":"Take a bow, Peter dury 🥰\nhttps://t.co/odqyU1dsM3","media_url":["https://pbs.twimg.com/ext_tw_video_thumb/1646482505879416832/pu/img/Iy_e8mVrxsHNuDsT.jpg"],"video_url":[{"content_type":"application/x-mpegURL","url":"https://video.twimg.com/ext_tw_video/1646482505879416832/pu/pl/-3Do6O7Er9wbL486.m3u8?tag=12&v=52a"},{"bitrate":632000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1646482505879416832/pu/vid/320x568/jFmUD1BQOx-b3Lc1.mp4?tag=12"},{"bitrate":950000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1646482505879416832/pu/vid/480x852/Hh-aB2ztKJmBdnLI.mp4?tag=12"},{"bitrate":2176000,"content_type":"video/mp4","url":"https://video.twimg.com/ext_tw_video/1646482505879416832/pu/vid/720x1280/I1NHv76HvIt1vmfE.mp4?tag=12"}],"user":{"creation_date":"Sat Jan 31 21:11:42 +0000 2015","user_id":"3008451609","username":"leomessi1937","name":"Kamil","follower_count":432,"following_count":955,"favourites_count":49968,"is_private":null,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1869294498318061568/5DVI76sr_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/3008451609/1704743920","description":"la hinchada roja 🔴⚪️@wacofficiel @fcbarcelona","external_url":null,"number_of_tweets":30116,"bot":false,"timestamp":1422738702,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":1,"verified_type":null},"language":"en","favorite_count":4,"retweet_count":0,"reply_count":0,"quote_count":0,"retweet":false,"views":84,"timestamp":1734510611,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":null,"expanded_url":"https://x.com/AndyMaina_/status/1648197162340319232/video/1","retweet_tweet_id":null,"extended_entities":{"media":[{"display_url":"pic.x.com/odqyU1dsM3","expanded_url":"https://x.com/AndyMaina_/status/1648197162340319232/video/1","id_str":"1646482505879416832","indices":[25,48],"media_key":"7_1646482505879416832","media_url_https":"https://pbs.twimg.com/ext_tw_video_thumb/1646482505879416832/pu/img/Iy_e8mVrxsHNuDsT.jpg","source_status_id_str":"1648197162340319232","source_user_id_str":"2991667491","type":"video","url":"https://t.co/odqyU1dsM3","additional_media_info":{"monetizable":false,"source_user":{"user_results":{"result":{"__typename":"User","id":"VXNlcjoyOTkxNjY3NDkx","rest_id":"2991667491","affiliates_highlighted_label":{},"has_graduated_access":true,"is_blue_verified":false,"profile_image_shape":"Circle","legacy":{"can_dm":true,"can_media_tag":false,"created_at":"Thu Jan 22 08:40:01 +0000 2015","default_profile":false,"default_profile_image":false,"description":"","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"x.com/search?q=(from…","expanded_url":"https://x.com/search?q=(from%3Aandymaina_)%20min_retweets%3A100%20-filter%3Areplies&t=pzVTbTj4VLqzNS","url":"https://t.co/ZPsdjYcZcO","indices":[0,23]}]}},"fast_followers_count":0,"favourites_count":3213,"followers_count":24903,"friends_count":3921,"has_custom_timelines":true,"is_translator":false,"listed_count":34,"location":"Rosario, Santa Fe","media_count":25179,"name":"ᵥₗₐDᵢₘᵢᵣ Bᵢₙ ₗₐDₑₙ","normal_followers_count":24903,"pinned_tweet_ids_str":["1869805552425152618"],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/2991667491/1729055362","profile_image_url_https":"https://pbs.twimg.com/profile_images/1866430296897507328/kDhsjsa__normal.jpg","profile_interstitial_type":"","screen_name":"AndyMaina_","statuses_count":336771,"translator_type":"non...
                                                                                                                                                                                                                    
                                                                                                    

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
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

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

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, 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]

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

Category:


Related APIs