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://www.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 Oct 15 18:21:38 +0000 2022","user_id":"1581349564430356482","username":"zace____","name":"anil","follower_count":27,"following_count":199,"favourites_count":1366,"is_private":null,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1857354282145587200/7fBz_2Wl_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1581349564430356482/1670813149","description":"","external_url":null,"number_of_tweets":95,"bot":false,"timestamp":1665858098,"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=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://www.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":"1882927361525510253","creation_date":"Fri Jan 24 23:04:00 +0000 2025","text":"I don't carry cash because that wouldn't be on brand.","media_url":null,"video_url":null,"user":{"creation_date":"Thu Mar 10 21:28:58 +0000 2016","user_id":"708041982187155456","username":"Zelle","name":"Zelle","follower_count":53605,"following_count":914,"favourites_count":4895,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Look in your banking app 😉","profile_pic_url":"https://pbs.twimg.com/profile_images/893501055299796992/EIGQb10a_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/708041982187155456/1690493451","description":"A fast, easy way to send and receive money with people you trust. For ❓s with the Zelle mobile app, DM @ZelleSupport or call 844-428-8542","external_url":"https://t.co/XEyCKOzv04","number_of_tweets":3569,"bot":false,"timestamp":1457645338,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":1,"retweet_count":0,"reply_count":1,"quote_count":0,"retweet":false,"views":499,"timestamp":1737759840,"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":"1882927361525510253","retweet_status":null,"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},{"tweet_id":"1882136169938317360","creation_date":"Wed Jan 22 18:40:05 +0000 2025","text":"When they get it, they REALLY get it 💜 https://t.co/TGjymRpdNx","media_url":["https://pbs.twimg.com/media/Gh6w2wVXIAAx7QD.jpg"],"video_url":null,"user":{"creation_date":"Thu Mar 10 21:28:58 +0000 2016","user_id":"708041982187155456","username":"Zelle","name":"Zelle","follower_count":53605,"following_count":914,"favourites_count":4895,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Look in your banking app 😉","profile_pic_url":"https://pbs.twimg.com/profile_images/893501055299796992/EIGQb10a_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/708041982187155456/1690493451","description":"A fast, easy way to send and receive money with people you trust. For ❓s with the Zelle mobile app, DM @ZelleSupport or call 844-428-8542","external_url":"https://t.co/XEyCKOzv04","number_of_tweets":3569,"bot":false,"timestamp":1457645338,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":4,"retweet_count":0,"reply_count":0,"quote_count":0,"retweet":false,"views":1166,"timestamp":1737571205,"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":{"media":[{"display_url":"pic.x.com/TGjymRpdNx","expanded_url":"https://x.com/Zelle/status/1882136169938317360/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]}},"id_str":"1882136149021368320","indices":[39,62],"media_key":"3_1882136149021368320","media_url_https":"https://pbs.twimg.com/media/Gh6w2wVXIAAx7QD.jpg","original_info":{"width":1080,"height":1080,"focus_rects":[{"x":0,"y":319,"w":1080,"h":605},{"x":0,"y":0,"w":1080,"h":1080},{"x":40,"y":0,"w":947,"h":1080},{"x":243,"y":0,"w":540,"h":1080},{"x":0,"y":0,"w":1080,"h":1080}]},"sizes":{"large":{"w":1080,"h":1080}},"type":"photo","url":"https://t.co/TGjymRpdNx"}]},"conversation_id":"1882136169938317360","retweet_status":null,"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},{"tweet_id":"1881356201423691949","creation_date":"Mon Jan 20 15:00:46 +0000 2025","text":"What's on your list? https://t.co/eQVvSCzz1T","media_url":["https://pbs.twimg.com/media/GhvrdZNW8AAMkdu.jpg","https://pbs.twimg.com/media/GhvremiXIAAGwMv.jpg"],"video_url":null,"user":{"creation_date":"Thu Mar 10 21:28:58 +0000 2016","user_id":"708041982187155456","username":"Zelle","name":"Zelle","follower_count":53605,"following_count":914,"favourites_count":4895,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Look in your banking app 😉","profile_pic_url":"https://pbs.twimg.com/profile_images/893501055299796992/EIGQb10a_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/708041982187155456/1690493451","description":"A fast, easy way to send and receive money with people you trust. For ❓s with the Zelle mobile app, DM @ZelleSupport or call 844-428-8542","external_url":"https://t.co/XEyCKOzv04","number_of_tweets":3569,"bot":false,"timestamp":1457645338,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":1,"retweet_count":0,"reply_count":1,"quote_count":0,"retweet":false,"views":771,"timestamp":1737385246,"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":{"media":[{"display_url":"pic.x.com/eQVvSCzz1T","expanded_url":"https://x.com/Zelle/status/1881356201423691949/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]}},"id_str":"1881356159572963328","indices":[21,44],"media_key":"3_1881356159572963328","media_url_https":"https://pbs.twimg.com/media/GhvrdZNW8AAMkdu.jpg","original_info":{"width":1170,"height":1423,"focus_rects":[{"x":0,"y":0,"w":1170,"h":655},{"x":0,"y":0,"w":1170,"h":1170},{"x":0,"y":0,"w":1170,"h":1334},{"x":35,"y":0,"w":712,"h":1423},{"x":0,"y":0,"w":1170,"h":1423}]},"sizes":{"large":{"w":1170,"h":1423}},"type":"photo","url":"https://t.co/eQVvSCzz1T"},{"display_url":"pic.x.com/eQVvSCzz1T","expanded_url":"https://x.com/Zelle/status/1881356201423691949/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":1045,"y":40,"h":68,"w":68},{"x":481,"y":1006,"h":188,"w":188},{"x":134,"y":512,"h":213,"w":213},{"x":168,"y":844,"h":198,"w":198}]}},"id_str":"1881356180330586112","indices":[21,44],"media_key":"3_1881356180330586112","media_url_https":"https://pbs.twimg.com/media/GhvremiXIAAGwMv.jpg","original_info":{"width":1170,"height":1466,"focus_rects":[{"x":0,"y":811,"w":1170,"h":655},{"x":0,"y":296,"w":1170,"h":1170},{"x":0,"y":132,"w":1170,"h":1334},{"x":0,"y":0,"w":733,"h":1466},{"x":0,"y":0,"w":1170,"h":1466}]},"sizes":{"large":{"w":1170,"h":1466}},"type":"photo","url":"https://t.co/eQVvSCzz1T"}]},"conversation_id":"1881356201423691949","retweet_status":null,"quoted_status":null,"bookmark_count":0,"source":null,"community_note":null},{"tweet_id":"1879934190654746626","creation_date":"Thu Jan 16 16:50:13 +0000 2025","text":"New year, same vibes ✨ https://t.co/vDzRy01ViM","media_url":null,"video_url":[{"url":"https://video.twimg.com/amplify_video/1879934147516379137/vid/avc1/320x320/l168N4bu-M3it998.mp4?tag=16","bitrate":432000,"content_type":"video/mp4"},{"url":"https://video.twimg.com/amplify_video/1879934147516379137/vid/avc1/540x540/b2GD5XTQaxhT-FCG.mp4?tag=16","bitrate":832000,"content_type":"video/mp4"},{"url":"https://video.twimg.com/amplify_video/1879934147516379137/vid/avc1/720x720/0H4mTpyZGQW3F3eA.mp4?tag=16","bitrate":1280000,"content_type":"video/mp4"},{"url":"https://video.twimg.com/amplify_video/1879934147516379137/vid/avc1/1080x1080/TPb8RCNt3vmRe_La.mp4?tag=16","bitrate":8768000,"content_type":"video/mp4"}],"user":{"creation_date":"Thu Mar 10 21:28:58 +0000 2016","user_id":"708041982187155456","username":"Zelle","name":"Zelle","follower_count":53605,"following_count":914,"favourites_count":4895,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Look in your banking app 😉","profile_pic_url":"https://pbs.twimg.com/profile_images/893501055299796992/EIGQb10a_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/708041982187155456/1690493451","description":"A fast, easy way to send and receive money with people you trust. For ❓s with the Zelle mobile app, DM @ZelleSupport or call 844-428-8542","external_url":"https://t.co/XEyCKOzv04","number_of_tweets":3569,"bot":false,"timestamp":1457645338,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":null,"verified_type":null},"language":"en","favorite_count":4,"retweet_count":0,"reply_count":1,"quote_count":0,"retweet":false,"views":1126,"timestamp":1737046213,"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":{"media":[{"additional_media_info":{"monetizable":false},"display_url":"pic.x.com/vDzRy01ViM","expanded_url":"https://x.com/Zelle/status/1879934190654746626/video/1","ext_media_availability":{"status":"Available"},"id_str":"1879934147516379137","indices":[23,46],"media_key":"13_1879934147516379137","media_url_https":"https://pbs.twimg.com/media/GhbeKnWXoAAntba.jpg","original_info":{"width":1080,"height":1080,"focus_rects":[]},"sizes":{"large":{"w":1080,"h":1080}},"type":"video","url":"https://t.co/vDzRy01ViM","video_info":{"aspect_ratio":[1,1],"duration_millis":8000,"variants":[{"url":"https://video.twimg.com/amplify_video/1879934147516379137/pl/9dXUnGDReeQmLDzH.m3u8?tag=16","content_type":"application/x-mpegURL"},{"url":"https://video.twimg.com/amplify_video/1879934147516379137/vid/avc1/320x320/l168N4bu-M3it998.mp4?tag=16","content_type":"video/mp4","bitrate":432000},{"url":"https://video.twimg.com/amplify_video/1879934147516379137/vid/avc1/540x540/b2GD5XTQaxhT-FCG.mp4?tag=16","content_type":"video/mp4","bitrate":832000},{"url":"https://video.twimg.com/amplify_video/1879934147516379137/vid/avc1/720x720/0H4mTpyZGQW3F3eA.mp4?tag=16","content_type":"video/mp4","bitrate":1280000},{"url":"https://video.twimg.com/amplify_video/187993414751...
                                                                                                                                                                                                                    
                                                                                                    

Tweets per User - CODE SNIPPETS


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


    

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



                                                                            
GET https://www.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":"Following for user id = 44196397 not found"}
                                                                                                                                                                                                                    
                                                                                                    

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=44196397' --header 'Authorization: Bearer YOUR_API_KEY' 


    

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



                                                                            
GET https://www.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

       
                                                                                                        
                                                                                                                                                                                                                            {"detail":"Followers for user id = 44196397 not found"}
                                                                                                                                                                                                                    
                                                                                                    

User Followers - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/13/user+followers?user_id=44196397' --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://www.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":"1875870540772307042","creation_date":"Sun Jan 05 11:42:43 +0000 2025","text":"New vid : Like & Comment \"1\". 5 will win a mini allocation to my meme coin likely worth 5 figures (Must like/follow/share) \n\nIt's 2025. Markets are charging back to life. I think these coins will massively over perform.\n\nhttps://t.co/p5hBk1A5Qv","media_url":null,"video_url":null,"user":{"creation_date":"Fri Mar 27 09:31:26 +0000 2020","user_id":"1243470638477697024","username":"ZssBecker","name":"Alex Becker 🍊🏆🥇","follower_count":1217381,"following_count":46,"favourites_count":11412,"is_private":null,"is_verified":false,"is_blue_verified":true,"location":"Texas","profile_pic_url":"https://pbs.twimg.com/profile_images/1550828422762577922/S3-NhpCA_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1243470638477697024/1732860449","description":"Hyros. Neo Tokyo. Life stuff on https://t.co/lcpQ4QMUFn | 2024 Holds n Partners https://t.co/PEDIyoSP6q. 70% of my post are satire/shit posts.","external_url":"https://www.instagram.com/4am.becker/","number_of_tweets":21466,"bot":false,"timestamp":1585301486,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":10424,"verified_type":null},"language":"en","favorite_count":8782,"retweet_count":4668,"reply_count":6896,"quote_count":139,"retweet":false,"views":259882,"timestamp":1736077363,"video_view_count":null,"in_reply_to_status_id":null,"quoted_status_id":null,"binding_values":[{"key":"player_url","value":{"string_value":"https://www.youtube.com/embed/eBxDLWgmy0Y","type":"STRING"}},{"key":"player_image_large","value":{"image_value":{"height":320,"width":569,"url":"https://pbs.twimg.com/card_img/1875870061950353408/fNSCS5Ia?format=jpg&name=800x320_1"},"type":"IMAGE"}},{"key":"player_image","value":{"image_value":{"height":158,"width":280,"url":"https://pbs.twimg.com/card_img/1875870061950353408/fNSCS5Ia?format=jpg&name=280x280"},"type":"IMAGE"}},{"key":"app_star_rating","value":{"string_value":"4.67781","type":"STRING"}},{"key":"description","value":{"string_value":"The biggest potential alt coin move in history is starting. You need to move LITERALLY right now if you want to catch the first wave. Twitter = @ zssbecker, ...","type":"STRING"}},{"key":"player_width","value":{"string_value":"1280","type":"STRING"}},{"key":"domain","value":{"string_value":"www.youtube.com","type":"STRING"}},{"key":"app_is_free","value":{"string_value":"true","type":"STRING"}},{"key":"site","value":{"scribe_key":"publisher_id","type":"USER","user_value":{"id_str":"10228272","path":[]}}},{"key":"player_image_original","value":{"image_value":{"height":720,"width":1280,"url":"https://pbs.twimg.com/card_img/1875870061950353408/fNSCS5Ia?format=jpg&name=orig"},"type":"IMAGE"}},{"key":"app_num_ratings","value":{"string_value":"39,670,588","type":"STRING"}},{"key":"app_price_amount","value":{"string_value":"0.0","type":"STRING"}},{"key":"player_height","value":{"string_value":"720","type":"STRING"}},{"key":"vanity_url","value":{"scribe_key":"vanity_url","string_value":"youtube.com","type":"STRING"}},{"key":"app_name","value":{"string_value":"YouTube: Watch, Listen, Stream","type":"STRING"}},{"key":"player_image_small","value":{"image_value":{"height":81,"width":144,"url":"https://pbs.twimg.com/card_img/1875870061950353408/fNSCS5Ia?format=jpg&name=144x144"},"type":"IMAGE"}},{"key":"title","value":{"string_value":"13 Crypto Coins That Will 15x Early 2025 (URGENT AF)","type":"STRING"}},{"key":"app_price_currency","value":{"string_value":"USD","type":"STRING"}},{"key":"card_url","value":{"scribe_key":"card_url","string_value":"https://t.co/p5hBk1A5Qv","type":"STRING"}},{"key":"player_image_color","value":{"image_color_value":{"palette":[{"rgb":{"blue":5,"green":5,"red":19},"percentage":37.62},{"rgb":{"blue":90,"green":132,"red":204},"percentage":25.75},{"rgb":{"blue":255,"green":255,"red":255},"percentage":12.14},{"rgb":{"blue":6,"green":10,"red":87},"percentage":10.03},{"rgb":{"blue":1,"green":1,"red":249},"percentage":4.54}]},"type":"IMAGE_COLOR"}},{"key":"player_image_x_large","value":{"image_value":{"height":720,"width":1280,"url":"https://pbs.twimg.com/card_img/1875870061950353408/fNSCS5Ia?format=png&name=2048x2048_2_exp"},"type":"IMAGE"}}],"expanded_url":"https://youtu.be/eBxDLWgmy0Y","retweet_tweet_id":null,"extended_entities":null,"conversation_id":"1875870540772307042","retweet_status":null,"quoted_status":null,"bookmark_count":409,"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=1930719161841586464' --header 'Authorization: Bearer YOUR_API_KEY' 


    

This endpoint return search results

 


                                                                            
GET https://www.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":"1875952205251141944","creation_date":"Sun Jan 05 17:07:13 +0000 2025","text":"@epikduckcoin @ZssBecker BTW, my private Alpha Group is now live! \n \nJust getting ready to announce some exciting news about the projects I am most bullish on. Going forward, all of my calls will be posted there. \n \nFirst 3,000 members allowed to join for free ⤵️\n\nhttps://t.co/NCJCiVC9JX","media_url":[],"video_url":null,"user":{"creation_date":"Mon Nov 21 22:41:08 +0000 2022","user_id":"1594823009793179649","username":"ZcsBxvkrs","name":"Alcxs Bvckiers 🏆🍊🥇","follower_count":22886,"following_count":0,"favourites_count":0,"is_private":null,"is_verified":false,"is_blue_verified":true,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1875910540301918208/6vtXINZE_normal.jpg","profile_banner_url":null,"description":"Mauri esquina lanche bar e restô","external_url":null,"number_of_tweets":15,"bot":false,"timestamp":1669070468,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":"Business"},"language":"en","favorite_count":699,"retweet_count":0,"reply_count":7,"quote_count":0,"retweet":false,"views":3,"timestamp":1736096833,"video_view_count":null,"in_reply_to_status_id":"1875729113425563730","quoted_status_id":null,"binding_values":[{"key":"app_star_rating","value":{"string_value":"4.04566","type":"STRING"}},{"key":"thumbnail_image","value":{"image_value":{"height":144,"width":144,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=jpg&name=144x144_2"},"type":"IMAGE"}},{"key":"description","value":{"string_value":"You can view and join @BeckersPortal right away.","type":"STRING"}},{"key":"domain","value":{"string_value":"t.me","type":"STRING"}},{"key":"app_is_free","value":{"string_value":"true","type":"STRING"}},{"key":"thumbnail_image_large","value":{"image_value":{"height":320,"width":320,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=jpg&name=420x420_2"},"type":"IMAGE"}},{"key":"thumbnail_image_original","value":{"image_value":{"height":320,"width":320,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=jpg&name=orig"},"type":"IMAGE"}},{"key":"site","value":{"scribe_key":"publisher_id","type":"USER","user_value":{"id_str":"1689053928","path":[]}}},{"key":"thumbnail_image_small","value":{"image_value":{"height":100,"width":100,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=jpg&name=100x100_2"},"type":"IMAGE"}},{"key":"app_num_ratings","value":{"string_value":"215,879","type":"STRING"}},{"key":"app_price_amount","value":{"string_value":"0.0","type":"STRING"}},{"key":"thumbnail_image_x_large","value":{"image_value":{"height":320,"width":320,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=png&name=2048x2048_2_exp"},"type":"IMAGE"}},{"key":"vanity_url","value":{"scribe_key":"vanity_url","string_value":"t.me","type":"STRING"}},{"key":"app_name","value":{"string_value":"Telegram Messenger","type":"STRING"}},{"key":"thumbnail_image_color","value":{"image_color_value":{"palette":[{"rgb":{"blue":88,"green":255,"red":244},"percentage":37.02},{"rgb":{"blue":250,"green":186,"red":113},"percentage":14.48},{"rgb":{"blue":245,"green":86,"red":105},"percentage":12.49},{"rgb":{"blue":133,"green":27,"red":102},"percentage":9.7},{"rgb":{"blue":145,"green":231,"red":249},"percentage":3.2}]},"type":"IMAGE_COLOR"}},{"key":"title","value":{"string_value":"Becker's Portal","type":"STRING"}},{"key":"app_price_currency","value":{"string_value":"USD","type":"STRING"}},{"key":"card_url","value":{"scribe_key":"card_url","string_value":"https://t.co/NCJCiVC9JX","type":"STRING"}}],"expanded_url":"https://t.me/BeckersPortal","retweet_tweet_id":null,"extended_entities":null,"conversation_id":"1875690156134674816","retweet_status":null,"quoted_status":null,"bookmark_count":699,"source":"Twitter Web App","community_note":null},{"tweet_id":"1875951340058447917","creation_date":"Sun Jan 05 17:03:47 +0000 2025","text":"@titocrypto09 @ZssBecker BTW, my private Alpha Group is now live! \n \nJust getting ready to announce some exciting news about the projects I am most bullish on. Going forward, all of my calls will be posted there. \n \nFirst 3,000 members allowed to join for free ⤵️\n\nhttps://t.co/NCJCiVC9JX","media_url":[],"video_url":null,"user":{"creation_date":"Mon Nov 21 22:41:08 +0000 2022","user_id":"1594823009793179649","username":"ZcsBxvkrs","name":"Alcxs Bvckiers 🏆🍊🥇","follower_count":22886,"following_count":0,"favourites_count":0,"is_private":null,"is_verified":false,"is_blue_verified":true,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1875910540301918208/6vtXINZE_normal.jpg","profile_banner_url":null,"description":"Mauri esquina lanche bar e restô","external_url":null,"number_of_tweets":15,"bot":false,"timestamp":1669070468,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":0,"verified_type":"Business"},"language":"en","favorite_count":771,"retweet_count":0,"reply_count":13,"quote_count":0,"retweet":false,"views":7,"timestamp":1736096627,"video_view_count":null,"in_reply_to_status_id":"1875896703712448742","quoted_status_id":null,"binding_values":[{"key":"app_star_rating","value":{"string_value":"4.04566","type":"STRING"}},{"key":"thumbnail_image","value":{"image_value":{"height":144,"width":144,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=jpg&name=144x144_2"},"type":"IMAGE"}},{"key":"description","value":{"string_value":"You can view and join @BeckersPortal right away.","type":"STRING"}},{"key":"domain","value":{"string_value":"t.me","type":"STRING"}},{"key":"app_is_free","value":{"string_value":"true","type":"STRING"}},{"key":"thumbnail_image_large","value":{"image_value":{"height":320,"width":320,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=jpg&name=420x420_2"},"type":"IMAGE"}},{"key":"thumbnail_image_original","value":{"image_value":{"height":320,"width":320,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=jpg&name=orig"},"type":"IMAGE"}},{"key":"site","value":{"scribe_key":"publisher_id","type":"USER","user_value":{"id_str":"1689053928","path":[]}}},{"key":"thumbnail_image_small","value":{"image_value":{"height":100,"width":100,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=jpg&name=100x100_2"},"type":"IMAGE"}},{"key":"app_num_ratings","value":{"string_value":"215,879","type":"STRING"}},{"key":"app_price_amount","value":{"string_value":"0.0","type":"STRING"}},{"key":"thumbnail_image_x_large","value":{"image_value":{"height":320,"width":320,"url":"https://pbs.twimg.com/card_img/1873827282126602240/LgpdAVdy?format=png&name=2048x2048_2_exp"},"type":"IMAGE"}},{"key":"vanity_url","value":{"scribe_key":"vanity_url","string_value":"t.me","type":"STRING"}},{"key":"app_name","value":{"string_value":"Telegram Messenger","type":"STRING"}},{"key":"thumbnail_image_color","value":{"image_color_value":{"palette":[{"rgb":{"blue":88,"green":255,"red":244},"percentage":37.02},{"rgb":{"blue":250,"green":186,"red":113},"percentage":14.48},{"rgb":{"blue":245,"green":86,"red":105},"percentage":12.49},{"rgb":{"blue":133,"green":27,"red":102},"percentage":9.7},{"rgb":{"blue":145,"green":231,"red":249},"percentage":3.2}]},"type":"IMAGE_COLOR"}},{"key":"title","value":{"string_value":"Becker's Portal","type":"STRING"}},{"key":"app_price_currency","value":{"string_value":"USD","type":"STRING"}},{"key":"card_url","value":{"scribe_key":"card_url","string_value":"https://t.co/NCJCiVC9JX","type":"STRING"}}],"expanded_url":"https://t.me/BeckersPortal","retweet_tweet_id":null,"extended_entities":null,"conversation_id":"1875870540772307042","retweet_status":null,"quoted_status":null,"bookmark_count":771,"source":"Twitter Web App","community_note":null},{"tweet_id":"1875656197132660875","creation_date":"Sat Jan 04 21:31:00 +0000 2025","text":"@DestraNetwork https://t.co/l8R8XlwGtZ","media_url":["https://pbs.twimg.com/media/GgerXktXYAAUuo_.jpg"],"video_url":null,"user":{"creation_date":"Fri Mar 27 09:31:26 +0000 2020","user_id":"1243470638477697024","username":"ZssBecker","name":"Alex Becker 🍊🏆🥇","follower_count":1217486,"following_count":46,"favourites_count":11412,"is_private":null,"is_verified":false,"is_blue_verified":true,"location":"Texas","profile_pic_url":"https://pbs.twimg.com/profile_images/1550828422762577922/S3-NhpCA_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/1243470638477697024/1732860449","description":"Hyros. Neo Tokyo. Life stuff on https://t.co/lcpQ4QMUFn | 2024 Holds n Partners https://t.co/PEDIyoSP6q. 70% of my post are satire/shit posts.","external_url":"https://www.instagram.com/4am.becker/","number_of_tweets":21466,"bot":false,"timestamp":1585301486,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":10423,"verified_type":"Business"},"language":"qme","favorite_count":534,"retweet_count":66,"reply_count":101,"quote_count":2,"retweet":false,"views":22174,"timestamp":1736026260,"video_view_count":null,"in_reply_to_status_id":"1875640483063484443","quoted_status_id":null,"binding_values":null,"expanded_url":"https://x.com/ZssBecker/status/1875656197132660875/photo/1","retweet_tweet_id":null,"extended_entities":{"media":[{"display_url":"pic.x.com/l8R8XlwGtZ","expanded_url":"https://x.com/ZssBecker/status/1875656197132660875/photo/1","id_str":"1875656191302393856","indices":[15,38],"media_key":"3_1875656191302393856","media_url_https":"https://pbs.twimg.com/media/GgerXktXYAAUuo_.jpg","type":"photo","url":"https://t.co/l8R8XlwGtZ","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":37,"y":277,"h":82,"w":82}]},"medium":{"faces":[{"x":37,"y":277,"h":82,"w":82}]},"small":{"faces":[{"x":23,"y":174,"h":51...
                                                                                                                                                                                                                    
                                                                                                    

Search Tweets - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5/get+twitter+data+api/4808/search+tweets?query=nike' --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 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 commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

🚀 Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • 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

Get Twitter Data API FAQs

Each endpoint returns specific Twitter data. For example, the GET User Details endpoint provides user ID, follower count, and profile image URL, while the GET Tweets per User endpoint returns tweet creation dates, text, and engagement metrics like retweets and likes.

Key fields include user_id, follower_count, number_of_tweets for user details, and tweet_id, creation_date, text, likes, and retweets for tweets. These fields help identify users and analyze tweet performance.

Response data is structured in JSON format. Each endpoint returns a main object containing relevant fields. For instance, the GET User Details endpoint returns user attributes in a single object, while the GET Tweets per User endpoint returns an array of tweet objects.

Parameters vary by endpoint. For GET User Details, you need the Twitter username. For GET Tweets per User, the username is also required. These parameters allow users to customize their requests to retrieve specific data.

Each endpoint provides distinct information. GET User Details offers user profile data, GET Tweets per User returns a list of tweets, GET Who is the user following shows accounts a user follows, and GET User Followers lists a user's followers.

Users can analyze the returned data to gain insights into user engagement and behavior. For example, by examining follower counts and tweet metrics, marketers can tailor campaigns, while content creators can identify trends and popular topics.

Typical use cases include market research, influencer analysis, and social media monitoring. Agencies can target campaigns based on user followings, while content creators can track engagement and audience interests through tweet performance.

Data accuracy is maintained by sourcing information directly from Twitter's public API, which reflects real-time user-generated content. Regular updates ensure that the data remains current and relevant for users accessing it.

General FAQs

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 1,000 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 1,000 requests per month, this header will display 1,000.

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 3,600, it means 3,600 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 give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

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 free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


Related APIs