Twitter API

Access complete Twitter data: user information by ID, list of followers, and detailed compilation of published tweets.

The Twitter API provides a comprehensive solution for accessing, analyzing, and managing public profile and content information on the platform. It is designed for users who require structured, up-to-date data directly from Twitter for multiple purposes: brand monitoring, trend analysis, influencer tracking, report generation, and custom application creation.

With this API, it is possible to obtain user data by ID, which ensures accuracy and avoids common ambiguities when searching by name. You can access detailed information such as name, biography, location, account creation date, verification, profile picture, and key metrics (followers, following, tweets, lists).

The API is designed with flexibility and scalability in mind: it adapts to both small personal analysis projects and enterprise systems that require large volumes of information. By centralizing the collection of user, follower, and tweet data into a single service, it eliminates the need for multiple separate integrations.

In short, the Twitter API offers comprehensive, up-to-date, and easy-to-integrate data for those who need to convert public information from Twitter into actionable knowledge, with maximum accuracy and efficiency.

Documentación de la API

Endpoints


Get complete user information, including profile, followers, posts, multimedia, verifications, subscriptions, interaction statistics, and professional details.



                                                                            
GET https://zylalabs.com/api/9795/twitter+api/18296/user+information
                                                                            
                                                                        

User Information - Características del Endpoint

Objeto Descripción
username [Requerido] Enter a username
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"result":{"data":{"user":{"result":{"__typename":"User","id":"VXNlcjoxNTU2NTkyMTM=","rest_id":"155659213","affiliates_highlighted_label":{},"avatar":{"image_url":"https://pbs.twimg.com/profile_images/1940344470290989057/1OUP8RgK_normal.jpg"},"core":{"created_at":"Mon Jun 14 19:09:20 +0000 2010","name":"Cristiano Ronaldo","screen_name":"Cristiano"},"dm_permissions":{"can_dm":false},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"default_profile":false,"default_profile_image":false,"description":"Welcome to the official account of Cristiano Ronaldo.","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"cristianoronaldo.com","expanded_url":"https://www.cristianoronaldo.com/","url":"https://t.co/Pc19xaN1Sp","indices":[0,23]}]}},"fast_followers_count":0,"favourites_count":63,"followers_count":115709965,"friends_count":76,"has_custom_timelines":false,"is_translator":false,"listed_count":85008,"media_count":2401,"normal_followers_count":115709965,"pinned_tweet_ids_str":[],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/155659213/1751449147","profile_interstitial_type":"","statuses_count":4333,"translator_type":"regular","url":"https://t.co/Pc19xaN1Sp","want_retweets":false,"withheld_in_countries":[]},"location":{"location":""},"media_permissions":{"can_media_tag":true},"parody_commentary_fan_label":"None","profile_image_shape":"Circle","privacy":{"protected":false},"relationship_perspectives":{"following":false},"tipjar_settings":{},"verification":{"verified":false},"legacy_extended_profile":{"birthdate":{"day":5,"month":2,"year":1985,"visibility":"Public","year_visibility":"Public"}},"is_profile_translatable":false,"has_hidden_subscriptions_on_profile":false,"verification_info":{"is_identity_verified":false,"reason":{"description":{"text":"This account is verified. Learn more","entities":[{"from_index":26,"to_index":36,"ref":{"url":"https://help.twitter.com/managing-your-account/about-twitter-verified-accounts","url_type":"ExternalUrl"}}]},"verified_since_msec":"1276611237262"}},"highlights_info":{"can_highlight_tweets":true,"highlighted_tweets":"0"},"user_seed_tweet_count":0,"premium_gifting_eligible":false,"business_account":{},"creator_subscriptions_count":0}}}}}
                                                                                                                                                                                                                    
                                                                                                    

User Information - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/9795/twitter+api/18296/user+information?username=cristiano' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get detailed information on multiple users, including profiles, followers, posts, multimedia, verifications, subscriptions, interaction statistics, and professional data.



                                                                            
GET https://zylalabs.com/api/9795/twitter+api/18377/users+data+by+id
                                                                            
                                                                        

Users data by ID - Características del Endpoint

Objeto Descripción
username [Requerido] Indicate the user IDs
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"user":{"result":{"__typename":"User","id":"VXNlcjo0NDE5NjM5Nw==","rest_id":"44196397","affiliates_highlighted_label":{"label":{"url":{"url":"https://twitter.com/X","urlType":"DeepLink"},"badge":{"url":"https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"},"description":"X","userLabelType":"BusinessLabel","userLabelDisplayType":"Badge"}},"has_graduated_access":true,"is_blue_verified":true,"profile_image_shape":"Circle","legacy":{"can_dm":false,"can_media_tag":false,"created_at":"Tue Jun 02 20:12:29 +0000 2009","default_profile":false,"default_profile_image":false,"description":"","entities":{"description":{"urls":[]}},"fast_followers_count":0,"favourites_count":166106,"followers_count":224782226,"friends_count":1185,"has_custom_timelines":true,"is_translator":false,"listed_count":163831,"location":"","media_count":4101,"name":"Elon Musk","normal_followers_count":224782226,"pinned_tweet_ids_str":[],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/44196397/1739948056","profile_image_url_https":"https://pbs.twimg.com/profile_images/1936002956333080576/kqqe2iWO_normal.jpg","profile_interstitial_type":"","screen_name":"elonmusk","statuses_count":84387,"translator_type":"none","verified":false,"want_retweets":false,"withheld_in_countries":[]},"professional":{"rest_id":"1679729435447275522","professional_type":"Creator","category":[]},"tipjar_settings":{"is_enabled":false},"super_follow_eligible":true,"smart_blocked_by":false,"smart_blocking":false,"legacy_extended_profile":{},"is_profile_translatable":false,"has_hidden_likes_on_profile":true,"has_hidden_subscriptions_on_profile":true,"verification_info":{"is_identity_verified":false,"reason":{"description":{"text":"This account is verified because it's an affiliate of @X on X. Learn more","entities":[{"from_index":54,"to_index":56,"ref":{"url":"https://twitter.com/X","url_type":"ExternalUrl"}},{"from_index":63,"to_index":73,"ref":{"url":"https://help.twitter.com/en/rules-and-policies/profile-labels","url_type":"ExternalUrl"}}]},"verified_since_msec":"-156836000000000","override_verified_year":-3000}},"highlights_info":{"can_highlight_tweets":true,"highlighted_tweets":"717"},"user_seed_tweet_count":0,"business_account":{},"creator_subscriptions_count":223}}}
                                                                                                                                                                                                                    
                                                                                                    

Users data by ID - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/9795/twitter+api/18377/users+data+by+id?username=elonmusk' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get detailed information about followers, including IDs, names, bios, verified accounts, follower metrics, links, profile pictures, and additional settings.



                                                                            
GET https://zylalabs.com/api/9795/twitter+api/18403/followers
                                                                            
                                                                        

Followers - Características del Endpoint

Objeto Descripción
user_id [Requerido] Indicates a user id
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":[{"__typename":"User","id":"VXNlcjo5NTA5MjAyMA==","rest_id":"95092020","affiliates_highlighted_label":{},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"following":false,"can_dm":true,"can_media_tag":false,"created_at":"Sun Dec 06 23:33:02 +0000 2009","default_profile":false,"default_profile_image":false,"description":"Best-Selling Author | Clinical Psychologist | #1 Education Podcast | Co-founder of @petersonacademy | Order my new book \"We Who Wrestle With God\" here:","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"jordanbpeterson.com/books","expanded_url":"http://jordanbpeterson.com/books","url":"https://t.co/KgUEvmxeQD","indices":[0,23]}]}},"fast_followers_count":0,"favourites_count":227,"followers_count":6122233,"friends_count":1660,"has_custom_timelines":true,"is_translator":false,"listed_count":14914,"location":"","media_count":7369,"name":"Dr Jordan B Peterson","normal_followers_count":6122233,"pinned_tweet_ids_str":["1949912864271323255"],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/95092020/1744917990","profile_image_url_https":"https://pbs.twimg.com/profile_images/1407056014776614923/TKBC60e1_normal.jpg","profile_interstitial_type":"","screen_name":"jordanbpeterson","statuses_count":51582,"translator_type":"none","url":"https://t.co/KgUEvmxeQD","verified":false,"want_retweets":false,"withheld_in_countries":[]},"parody_commentary_fan_label":"None","profile_image_shape":"Circle","professional":{"rest_id":"1680046132699840514","professional_type":"Creator","category":[{"id":144,"name":"Education","icon_name":"IconBriefcaseStroke"}]},"tipjar_settings":{"is_enabled":true},"super_follow_eligible":true},{"__typename":"User","id":"VXNlcjozOTM0NDM3NA==","rest_id":"39344374","affiliates_highlighted_label":{},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"following":false,"can_dm":false,"can_media_tag":true,"created_at":"Mon May 11 21:18:33 +0000 2009","default_profile":false,"default_profile_image":false,"description":"Co-Founder @worldlibertyfi","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"linktr.ee/donaldjtrumpjr","expanded_url":"https://linktr.ee/donaldjtrumpjr","url":"https://t.co/ni5HwFvEjX","indices":[0,23]}]}},"fast_followers_count":0,"favourites_count":38535,"followers_count":15346923,"friends_count":2275,"has_custom_timelines":true,"is_translator":false,"listed_count":24852,"location":"Florida, USA","media_count":3396,"name":"Donald Trump Jr.","normal_followers_count":15346923,"pinned_tweet_ids_str":["1959966790353653946"],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/39344374/1674355501","profile_image_url_https":"https://pbs.twimg.com/profile_images/766652495858896897/LjrJJB9a_normal.jpg","profile_interstitial_type":"","screen_name":"DonaldJTrumpJr","statuses_count":51707,"translator_type":"none","url":"https://t.co/ni5HwFvEjX","verified":false,"want_retweets":false,"withheld_in_countries":[]},"parody_commentary_fan_label":"None","profile_image_shape":"Circle","tipjar_settings":{}},{"__typename":"User","id":"VXNlcjoxODU4NDg3NQ==","rest_id":"18584875","affiliates_highlighted_label":{},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"following":false,"can_dm":true,"can_media_tag":true,"created_at":"Sat Jan 03 19:24:16 +0000 2009","default_profile":false,"default_profile_image":false,"description":"Merch & Giveaways at: https://t.co/kxb8qjGCDW  —— PODCAST: @thetwinspod","entities":{"description":{"urls":[{"display_url":"officialhodgetwins.com","expanded_url":"http://officialhodgetwins.com","url":"https://t.co/kxb8qjGCDW","indices":[22,45]}]},"url":{"urls":[{"display_url":"officialhodgetwins.com","expanded_url":"https://officialhodgetwins.com","url":"https://t.co/ybNwIM3aIe","indices":[0,23]}]}},"fast_followers_count":0,"favourites_count":14440,"followers_count":3390786,"friends_count":3591,"has_custom_timelines":false,"is_translator":false,"listed_count":4520,"location":"United States","media_count":3649,"name":"Hodgetwins","normal_followers_count":3390786,"pinned_tweet_ids_str":["1959662145068831140"],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/18584875/1720914411","profile_image_url_https":"https://pbs.twimg.com/profile_images/1928553264880164864/v6RIyEXP_normal.jpg","profile_interstitial_type":"","screen_name":"hodgetwins","statuses_count":59304,"translator_type":"none","url":"https://t.co/ybNwIM3aIe","verified":false,"want_retweets":false,"withheld_in_countries":[]},"parody_commentary_fan_label":"None","profile_image_shape":"Circle","professional":{"rest_id":"1487870054645391361","professional_type":"Creator","category":[{"id":934,"name":"Social Media Influencer","icon_name":"IconBriefcaseStroke"}]},"tipjar_settings":{"is_enabled":true,"bitcoin_handle":"bc1qv0u682l7yxxjm95w0xxmpe2vnwsl8fc9urk5k8","ethereum_handle":"0x36a6C64401FEd5A0bc1E4AB63005ade1d5a919F6"},"super_follow_eligible":true},{"__typename":"User","id":"VXNlcjo0OTE0Mzg0MDQw","rest_id":"4914384040","affiliates_highlighted_label":{},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"following":false,"can_dm":false,"can_media_tag":true,"created_at":"Mon Feb 15 16:05:21 +0000 2016","default_profile":false,"default_profile_image":false,"description":"Fake news you can trust 🐝","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"linktr.ee/babylonbee","expanded_url":"https://linktr.ee/babylonbee","url":"https://t.co/0PhJZklwkT","indices":[0,23]}]}},"fast_followers_count":0,"favourites_count":1858,"followers_count":4979606,"friends_count":10,"has_custom_timelines":false,"is_translator":false,"listed_count":8353,"location":"United States","media_count":15882,"name":"The Babylon Bee","normal_followers_count":4979606,"pinned_tweet_ids_str":["1957908099416969361"],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/4914384040/1755629983","profile_image_url_https":"https://pbs.twimg.com/profile_images/1400100770624720898/-HC7kL5x_normal.jpg","profile_interstitial_type":"","screen_name":"TheBabylonBee","statuses_count":33029,"translator_type":"none","url":"https://t.co/0PhJZklwkT","verified":false,"verified_type":"Business","want_retweets":false,"withheld_in_countries":[]},"parody_commentary_fan_label":"None","profile_image_shape":"Square","professional":{"rest_id":"1649577634316304385","professional_type":"Business","category":[{"id":580,"name":"Media & News Company","icon_name":"IconBriefcaseStroke"}]},"tipjar_settings":{},"super_follow_eligible":true},{"__typename":"User","id":"VXNlcjoxODE2Njc3OA==","rest_id":"18166778","affiliates_highlighted_label":{"label":{"url":{"url":"https://twitter.com/HouseGOP","urlType":"DeepLink"},"badge":{"url":"https://pbs.twimg.com/profile_images/1877085039948668928/f4AibqzY_bigger.jpg"},"description":"House Republicans","userLabelType":"BusinessLabel","userLabelDisplayType":"Badge"}},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"following":false,"can_dm":false,"can_media_tag":true,"created_at":"Tue Dec 16 17:20:24 +0000 2008","default_profile":false,"default_profile_image":false,"description":"Proudly serving Ohio's beautiful Fourth District. Chairman @JudiciaryGOP. Fighting to #DoWhatWeSaid","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"linktr.ee/chairmanjimjor…","expanded_url":"https://linktr.ee/chairmanjimjordan","url":"https://t.co/nCZphybp79","indices":[0,23]}]}},"fast_followers_count":0,"favourites_count":5370,"followers_count":6474820,"friends_count":3657,"has_custom_timelines":true,"is_translator":false,"listed_count":11723,"location":"Washington, D.C. ","media_count":2081,"name":"Rep. Jim Jordan","normal_followers_count":6474820,"pinned_tweet_ids_str":["1958604018949005587"],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/18166778/1406042839","profile_image_url_https":"https://pbs.twimg.com/profile_images/596012379231617025/TtrAXbnA_normal.jpg","profile_interstitial_type":"","screen_name":"Jim_Jordan","statuses_count":15859,"translator_type":"none","url":"https://t.co/nCZphybp79","verified":false,"verified_type":"Government","want_retweets":false,"withheld_in_countries":[]},"parody_commentary_fan_label":"None","profile_image_shape":"Circle","tipjar_settings":{}},{"__typename":"User","id":"VXNlcjoyMzI5MDEzMzE=","rest_id":"232901331","affiliates_highlighted_label":{},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"following":false,"can_dm":false,"can_media_tag":true,"created_at":"Sat Jan 01 17:50:03 +0000 2011","default_profile":false,"default_profile_image":false,"description":"","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"bongino.com","expanded_url":"http://www.bongino.com","url":"https://t.co/h3Y3otPk07","indices":[0,23]}]}},"fast_followers_count":0,"favourites_count":70096,"followers_count":7093020,"friends_count":2305,"has_custom_timelines":true,"is_translator":false,"listed_count":11416,"location":"","media_count":1817,"name":"Dan Bongino","normal_followers_count":7093020,"pinned_tweet_ids_str":[],"possibly_sensitive":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/232901331/1742295117","profile_image_url_https":"https://pbs.twimg.com/profile_images/1901949643828625408/cIoDpRVb_normal.jpg","profile_interstitial_type":"","screen_name":"dbongino","statuses_count":50147,"translator_type":"none","url":"https://t.co/h3Y3otPk07","verified":false,"want_retweets":false,"withheld_in_countries":[]},"parody_commentary_fan_label":"None","profile_image_shape":"Circle","tipjar_settings":{}},{"__typename":"User","id":"VXNlcjo0MjcwODk2Mjg=","rest_id":"427089628","affiliates_highlighted_label":{},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"following":false,"can_dm":false,"can_media_tag":false,"created_at":"Sat Dec 03 03:06:19 +0000 2011","default_profile":false,"default_pr...
                                                                                                                                                                                                                    
                                                                                                    

Followers - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/9795/twitter+api/18403/followers?user_id=44196397' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Provides complete details of a specific tweet, including counts, attached media, hashtags, metadata, availability, and relevant interaction attributes.



                                                                            
GET https://zylalabs.com/api/9795/twitter+api/18404/user+tweets
                                                                            
                                                                        

User Tweets - Características del Endpoint

Objeto Descripción
user_id [Requerido] Indicates user ID
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"data":[{"bookmark_count":2061,"bookmarked":false,"created_at":"Mon Aug 25 20:01:39 +0000 2025","conversation_id_str":"1960070086229918070","display_text_range":[0,252],"entities":{"hashtags":[],"media":[{"display_url":"pic.x.com/y7kb3B4YvU","expanded_url":"https://x.com/taylorswift13/status/1960070086229918070/photo/1","id_str":"1960070074905014273","indices":[253,276],"media_key":"3_1960070074905014273","media_url_https":"https://pbs.twimg.com/media/GzORWSWWMAE3RsS.jpg","type":"photo","url":"https://t.co/y7kb3B4YvU","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":1544,"y":1688,"h":192,"w":192}]},"medium":{"faces":[{"x":904,"y":989,"h":112,"w":112}]},"small":{"faces":[{"x":512,"y":560,"h":63,"w":63}]},"orig":{"faces":[{"x":3088,"y":3376,"h":384,"w":384}]}},"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":4096,"width":4096,"focus_rects":[{"x":0,"y":798,"w":4096,"h":2294},{"x":0,"y":0,"w":4096,"h":4096},{"x":149,"y":0,"w":3593,"h":4096},{"x":921,"y":0,"w":2048,"h":4096},{"x":0,"y":0,"w":4096,"h":4096}]},"media_results":{"result":{"media_key":"3_1960070074905014273"}}},{"display_url":"pic.x.com/y7kb3B4YvU","expanded_url":"https://x.com/taylorswift13/status/1960070086229918070/photo/1","id_str":"1960070074930216960","indices":[253,276],"media_key":"3_1960070074930216960","media_url_https":"https://pbs.twimg.com/media/GzORWScWwAA5mx2.jpg","type":"photo","url":"https://t.co/y7kb3B4YvU","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]},"medium":{"faces":[]},"small":{"faces":[]},"orig":{"faces":[]}},"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":3000,"width":3000,"focus_rects":[{"x":0,"y":585,"w":3000,"h":1680},{"x":0,"y":0,"w":3000,"h":3000},{"x":109,"y":0,"w":2632,"h":3000},{"x":675,"y":0,"w":1500,"h":3000},{"x":0,"y":0,"w":3000,"h":3000}]},"media_results":{"result":{"media_key":"3_1960070074930216960"}}},{"display_url":"pic.x.com/y7kb3B4YvU","expanded_url":"https://x.com/taylorswift13/status/1960070086229918070/photo/1","id_str":"1960070074909257728","indices":[253,276],"media_key":"3_1960070074909257728","media_url_https":"https://pbs.twimg.com/media/GzORWSXW8AAiftg.jpg","type":"photo","url":"https://t.co/y7kb3B4YvU","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":1551,"y":1705,"h":151,"w":151}]},"medium":{"faces":[{"x":909,"y":999,"h":88,"w":88}]},"small":{"faces":[{"x":515,"y":566,"h":50,"w":50}]},"orig":{"faces":[{"x":2955,"y":3248,"h":289,"w":289}]}},"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":3900,"width":3900,"focus_rects":[{"x":0,"y":1716,"w":3900,"h":2184},{"x":0,"y":0,"w":3900,"h":3900},{"x":0,"y":0,"w":3421,"h":3900},{"x":0,"y":0,"w":1950,"h":3900},{"x":0,"y":0,"w":3900,"h":3900}]},"media_results":{"result":{"media_key":"3_1960070074909257728"}}}],"symbols":[],"timestamps":[],"urls":[{"display_url":"store.taylorswift.com","expanded_url":"http://store.taylorswift.com","url":"https://t.co/WdrCmvMfo8","indices":[138,161]}],"user_mentions":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/y7kb3B4YvU","expanded_url":"https://x.com/taylorswift13/status/1960070086229918070/photo/1","id_str":"1960070074905014273","indices":[253,276],"media_key":"3_1960070074905014273","media_url_https":"https://pbs.twimg.com/media/GzORWSWWMAE3RsS.jpg","type":"photo","url":"https://t.co/y7kb3B4YvU","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":1544,"y":1688,"h":192,"w":192}]},"medium":{"faces":[{"x":904,"y":989,"h":112,"w":112}]},"small":{"faces":[{"x":512,"y":560,"h":63,"w":63}]},"orig":{"faces":[{"x":3088,"y":3376,"h":384,"w":384}]}},"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":4096,"width":4096,"focus_rects":[{"x":0,"y":798,"w":4096,"h":2294},{"x":0,"y":0,"w":4096,"h":4096},{"x":149,"y":0,"w":3593,"h":4096},{"x":921,"y":0,"w":2048,"h":4096},{"x":0,"y":0,"w":4096,"h":4096}]},"media_results":{"result":{"media_key":"3_1960070074905014273"}}},{"display_url":"pic.x.com/y7kb3B4YvU","expanded_url":"https://x.com/taylorswift13/status/1960070086229918070/photo/1","id_str":"1960070074930216960","indices":[253,276],"media_key":"3_1960070074930216960","media_url_https":"https://pbs.twimg.com/media/GzORWScWwAA5mx2.jpg","type":"photo","url":"https://t.co/y7kb3B4YvU","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[]},"medium":{"faces":[]},"small":{"faces":[]},"orig":{"faces":[]}},"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":3000,"width":3000,"focus_rects":[{"x":0,"y":585,"w":3000,"h":1680},{"x":0,"y":0,"w":3000,"h":3000},{"x":109,"y":0,"w":2632,"h":3000},{"x":675,"y":0,"w":1500,"h":3000},{"x":0,"y":0,"w":3000,"h":3000}]},"media_results":{"result":{"media_key":"3_1960070074930216960"}}},{"display_url":"pic.x.com/y7kb3B4YvU","expanded_url":"https://x.com/taylorswift13/status/1960070086229918070/photo/1","id_str":"1960070074909257728","indices":[253,276],"media_key":"3_1960070074909257728","media_url_https":"https://pbs.twimg.com/media/GzORWSXW8AAiftg.jpg","type":"photo","url":"https://t.co/y7kb3B4YvU","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":1551,"y":1705,"h":151,"w":151}]},"medium":{"faces":[{"x":909,"y":999,"h":88,"w":88}]},"small":{"faces":[{"x":515,"y":566,"h":50,"w":50}]},"orig":{"faces":[{"x":2955,"y":3248,"h":289,"w":289}]}},"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":3900,"width":3900,"focus_rects":[{"x":0,"y":1716,"w":3900,"h":2184},{"x":0,"y":0,"w":3900,"h":3900},{"x":0,"y":0,"w":3421,"h":3900},{"x":0,"y":0,"w":1950,"h":3900},{"x":0,"y":0,"w":3900,"h":3900}]},"media_results":{"result":{"media_key":"3_1960070074909257728"}}}]},"favorite_count":111792,"favorited":false,"full_text":"The Life of a Showgirl: The Tiny Bubbles in Champagne Vinyl Collection is available now on my site for 48 hours while supplies last ❤️‍🔥\n\nhttps://t.co/WdrCmvMfo8\n\nAlbum Producers: Max Martin, Shellback and Taylor Swift\n📸: Mert Alas &amp; Marcus Piggott https://t.co/y7kb3B4YvU","is_quote_status":false,"lang":"en","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":7362,"reply_count":3116,"retweet_count":23536,"retweeted":false,"user_id_str":"17919972","id_str":"1960070086229918070","view_count":2886892,"source":"<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>"},{"bookmark_count":6125,"bookmarked":false,"created_at":"Thu Aug 21 18:00:40 +0000 2025","conversation_id_str":"1958590089732264402","display_text_range":[0,249],"entities":{"hashtags":[],"media":[{"display_url":"pic.x.com/ExVQpnEyOk","expanded_url":"https://x.com/taylorswift13/status/1958590089732264402/photo/1","id_str":"1958590078021771264","indices":[250,273],"media_key":"3_1958590078021771264","media_url_https":"https://pbs.twimg.com/media/Gy5PTIUXoAArdx9.jpg","type":"photo","url":"https://t.co/ExVQpnEyOk","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":870,"y":926,"h":76,"w":76},{"x":632,"y":1016,"h":96,"w":96},{"x":1002,"y":946,"h":136,"w":136}]},"medium":{"faces":[{"x":509,"y":542,"h":44,"w":44},{"x":370,"y":595,"h":56,"w":56},{"x":587,"y":554,"h":79,"w":79}]},"small":{"faces":[{"x":288,"y":307,"h":25,"w":25},{"x":209,"y":337,"h":31,"w":31},{"x":332,"y":314,"h":45,"w":45}]},"orig":{"faces":[{"x":1740,"y":1852,"h":152,"w":152},{"x":1264,"y":2032,"h":192,"w":192},{"x":2004,"y":1892,"h":272,"w":272}]}},"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":4096,"width":4096,"focus_rects":[{"x":0,"y":1003,"w":4096,"h":2294},{"x":0,"y":0,"w":4096,"h":4096},{"x":0,"y":0,"w":3593,"h":4096},{"x":0,"y":0,"w":2048,"h":4096},{"x":0,"y":0,"w":4096,"h":4096}]},"media_results":{"result":{"media_key":"3_1958590078021771264"}}},{"display_url":"pic.x.com/ExVQpnEyOk","expanded_url":"https://x.com/taylorswift13/status/1958590089732264402/photo/1","id_str":"1958590078017507328","indices":[250,273],"media_key":"3_1958590078017507328","media_url_https":"https://pbs.twimg.com/media/Gy5PTITWkAAmFx8.jpg","type":"photo","url":"https://t.co/ExVQpnEyOk","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":629,"y":1013,"h":99,"w":99},{"x":1741,"y":1043,"h":123,"w":123},{"x":1003,"y":943,"h":133,"w":133}]},"medium":{"faces":[{"x":368,"y":594,"h":58,"w":58},{"x":1020,"y":611,"h":72,"w":72},{"x":588,"y":552,"h":78,"w":78}]},"small":{"faces":[{"x":208,"y":336,"h":33,"w":33},{"x":578,"y":346,"h":41,"w":41},{"x":333,"y":313,"h":44,"w":44}]},"orig":{"faces":[{"x":922,"y":1485,"h":146,"w":146},{"x":2551,"y":1529,"h":181,"w":181},{"x":1470,"y":1382,"h":196,"w":196}]}},"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":3000,"width":3000,"focus_rects":[{"x":0,"y":735,"w":3000,"h":1680},{"x":0,"y":0,"w":3000,"h":3000},{"x":0,"y":0,...
                                                                                                                                                                                                                    
                                                                                                    

User Tweets - CÓDIGOS DE EJEMPLO


curl --location --request GET 'https://zylalabs.com/api/9795/twitter+api/18404/user+tweets?user_id=17919972' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Twitter API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Twitter API FAQs

Each endpoint returns specific data types: the User Information endpoint provides user profiles and interaction statistics; the Users data by ID endpoint offers detailed user profiles for multiple users; the Followers endpoint details follower metrics and profiles; and the User Tweets endpoint includes tweet details, media, and interaction attributes.

Key fields vary by endpoint: User Information includes name, biography, location, and metrics; Users data by ID adds multiple user profiles; Followers features IDs, names, bios, and follower metrics; User Tweets includes tweet content, media, hashtags, and interaction counts.

Response data is structured in JSON format, with each endpoint returning a specific object. For example, User Information returns a user object with nested fields for profile details, while User Tweets returns an array of tweet objects, each containing metadata and interaction attributes.

Each endpoint supports various parameters. For example, the User Information endpoint may accept user IDs, while the Followers endpoint can filter by verification status. Users can customize requests by specifying parameters like user IDs or tweet IDs to retrieve targeted data.

Typical use cases include brand monitoring, trend analysis, influencer tracking, and report generation. For instance, businesses can analyze follower demographics to tailor marketing strategies or track tweet engagement to assess campaign effectiveness.

Data accuracy is maintained through direct access to Twitter's public data, ensuring real-time updates. The API's design minimizes ambiguities by allowing users to retrieve information using unique identifiers like user IDs, enhancing reliability.

Users can leverage the returned data for insights and analytics. For example, by analyzing follower metrics, businesses can identify key influencers, while tweet details can inform content strategies. Data can be visualized or integrated into applications for enhanced decision-making.

Users should implement error handling to manage partial or empty results. For instance, if a user ID returns no data, the API response will indicate this, allowing users to adjust their queries or notify users of missing information.

The User Information endpoint provides comprehensive data including the user's name, biography, location, account creation date, verification status, profile picture, and key metrics such as follower count, following count, tweet count, and lists.

Users can customize requests to the Followers endpoint by specifying parameters such as user IDs, verification status, and pagination options to filter and manage the volume of follower data returned.

The User Tweets response includes fields such as tweet content, media attachments, hashtags, metadata (like creation date), availability status, and interaction attributes such as retweet and like counts.

The Twitter API covers global data from public Twitter profiles, allowing access to user information and tweets from various regions and categories, including personal accounts, brands, and public figures.

The Users data by ID endpoint accepts user IDs as parameters, allowing users to retrieve detailed profiles for one or multiple users. It can also include optional fields to specify which data attributes to return.

The Followers endpoint returns a structured JSON object containing an array of follower objects. Each object includes fields like ID, name, bio, verification status, and profile picture, organized for easy access and analysis.

Data accuracy is ensured through direct access to Twitter's live public data, with continuous updates and validation against Twitter's own systems, minimizing discrepancies and enhancing reliability.

When retrieving user tweets, expect a consistent structure with each tweet object containing fields for content, media, hashtags, and interaction metrics. Patterns may include timestamps for when tweets were posted and engagement statistics.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.


APIs Relacionadas