推特帖子数据 API

Twitter帖子数据API通过ID即时获取详细的推文信息,包括用户、媒体、时间戳、参与度和个人资料元数据
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

 

关于API:

全球的新闻和时事可在Twitter上获取。可以使用浏览器和移动设备访问Twitter。我们还通过API为企业、开发者和用户提供程序化访问Twitter数据的服务。

Twitter数据与大多数其他社交网络发布的数据不同,因为它包含用户选择公开广播的信息。通过我们的API平台,用户选择公开的Twitter数据可以轻松访问。

 

该API接收什么以及您的API提供什么(输入/输出)?

使用Twitter帖子数据API,您可以获取帖子、用户信息、推文详情、账户信息、相关推文等。

通过输入用户的Twitter用户名,您可以获取以下信息:

  • 用户ID。
  • 粉丝数量及列表。
  • 关注的用户数量及列表。
  • 账户是否经过验证。
  • 账户是公开还是私密。
  • 个人资料图片的URL。
  • 账户发布的推文数量及列表。
  • 您可以获得推文内容、创建日期、每条推文的点赞和转发数量。

 

该API的最常见使用案例是什么?

该API非常适合想要了解Twitter上名人的内容创作者。

如果您是市场营销机构,您将收集有关用户关注的人信息,以便更好地定位您的营销活动。

 

您的计划是否有限制?

唯一的限制是您每月可以进行的API调用次数。

API 文档

端点


通过传递推特用户名来获取用户信息

获取用户ID、粉丝数量、用户关注的人数、是否经过验证、账户是公共还是私人、个人资料图片URL以及账户上的推文数量



                                                                            
GET https://pr133-testing.zylalabs.com/api/7472/twitter+post+data+api/11983/user+details
                                                                            
                                                                        

用户详情 - 端点功能

对象 描述
username [必需] The Twitter's username we want to query for.
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"creation_date":"Thu Dec 06 03:49:48 +0000 2007","user_id":"10893142","username":"leomessi","name":"レオメッシー","follower_count":6929,"following_count":235,"favourites_count":234,"is_private":false,"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":29,"verified_type":null}
                                                                                                                                                                                                                    
                                                                                                    

用户详情 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7472/twitter+post+data+api/11983/user+details?username=leomessi' --header 'Authorization: Bearer YOUR_API_KEY' 


    

通过查询用户名来获取推文列表。

您将获得推文的创建日期、文本以及转发和收藏的计数。



                                                                            
GET https://pr133-testing.zylalabs.com/api/7472/twitter+post+data+api/11991/tweets+per+user
                                                                            
                                                                        

每位用户的推文数量 - 端点功能

对象 描述
username [必需] The Twitter's username we want to query for.
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"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}]}}]}}],"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

每位用户的推文数量 - 代码片段


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


    

您可以通过用户名搜索从用户那里获取以下列表 



                                                                            
GET https://pr133-testing.zylalabs.com/api/7472/twitter+post+data+api/11997/who+is+the+user+following
                                                                            
                                                                        

用户正在关注谁 - 端点功能

对象 描述
user_id [必需] The user_id we want to check for. You can get the user_id from "user details" endpoint.
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"results":[{"creation_date":"Thu May 01 21:52:01 +0000 2008","user_id":"14620190","username":"ATT","name":"AT&T","follower_count":900605,"following_count":293,"favourites_count":75234,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Dallas, TX","profile_pic_url":"https://pbs.twimg.com/profile_images/1416820139857567747/tPlI2eyP_normal.jpg","profile_banner_url":null,"description":"Connecting you to the things you love, all day every day.","external_url":"http://att.com","number_of_tweets":229844,"bot":false,"timestamp":1209678721,"has_nft_avatar":false,"category":{"name":"Telecommunication Company","id":726},"default_profile":false,"default_profile_image":false,"listed_count":5263,"verified_type":null},{"creation_date":"Wed Aug 12 21:55:04 +0000 2009","user_id":"65174274","username":"Fidelity","name":"Fidelity Investments","follower_count":383425,"following_count":134,"favourites_count":40,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Boston, MA","profile_pic_url":"https://pbs.twimg.com/profile_images/1278360830367674368/SfqcgSVD_normal.jpg","profile_banner_url":null,"description":"Welcome to the Fidelity Investments X account. We’re here to answer questions and cover the latest market trends. Disclosures: https://t.co/1kX2r3LJui","external_url":"http://go.fidelity.com/social","number_of_tweets":49401,"bot":false,"timestamp":1250114104,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":3783,"verified_type":null},{"creation_date":"Wed Oct 22 13:59:47 +0000 2014","user_id":"2841146601","username":"LAFC","name":"LAFC","follower_count":321682,"following_count":816,"favourites_count":14576,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Los Angeles, CA","profile_pic_url":"https://pbs.twimg.com/profile_images/1765532048666787841/uEXaV0TC_normal.jpg","profile_banner_url":null,"description":"Los Angeles Football Club. \n🏆 2024 U.S. Open Cup Champions \n🏆 2022 MLS Cup Champions \n🛡️ 2019 & 2022 Supporters’ Shield Champions \nEspañol: @SomosLAFC","external_url":"http://LAFC.com","number_of_tweets":32479,"bot":false,"timestamp":1413986387,"has_nft_avatar":false,"category":{"name":"Professional Sports Team","id":1002},"default_profile":false,"default_profile_image":false,"listed_count":1452,"verified_type":null},{"creation_date":"Fri May 08 20:42:58 +0000 2009","user_id":"38740096","username":"AlexH_Johnson","name":"Alex Johnson","follower_count":25303,"following_count":3551,"favourites_count":24495,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Bozeman, MT","profile_pic_url":"https://pbs.twimg.com/profile_images/1676633861856559106/MqowOL55_normal.jpg","profile_banner_url":null,"description":"Founder, Author, and Chief Question Asker @FintechTakes.","external_url":"https://fintechtakes.com/","number_of_tweets":17685,"bot":false,"timestamp":1241815378,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":375,"verified_type":null},{"creation_date":"Tue Sep 18 13:48:53 +0000 2012","user_id":"831102272","username":"AppleFederalCU","name":"Apple Federal Credit Union","follower_count":3468,"following_count":781,"favourites_count":4967,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Virginia, USA","profile_pic_url":"https://pbs.twimg.com/profile_images/1847274340263358464/wU3NvSa8_normal.jpg","profile_banner_url":null,"description":"Official Apple Federal Credit Union. Federally insured by NCUA. Equal Housing Lender. Northern Virginia Since 1956 || #creditunion #WhyIApple","external_url":"https://www.applefcu.org/","number_of_tweets":4589,"bot":false,"timestamp":1347976133,"has_nft_avatar":false,"category":{"name":"Credit Union","id":194},"default_profile":false,"default_profile_image":false,"listed_count":7,"verified_type":null},{"creation_date":"Mon Aug 13 14:53:15 +0000 2012","user_id":"755285114","username":"ResourceOneCU","name":"Resource One CU","follower_count":113,"following_count":17,"favourites_count":141,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Dallas, TX","profile_pic_url":"https://pbs.twimg.com/profile_images/1580554666848538627/kT5K2AJS_normal.jpg","profile_banner_url":null,"description":"Member Owned | Not-for-Profit\nFederally insured by NCUA | Equal Housing Opportunity Lender","external_url":"https://www.r1cu.org","number_of_tweets":1758,"bot":false,"timestamp":1344869595,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":1,"verified_type":null},{"creation_date":"Fri Sep 26 15:16:58 +0000 2014","user_id":"2785681084","username":"MFBank_NC","name":"M&F Bank","follower_count":637,"following_count":386,"favourites_count":321,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Durham, North Carolina","profile_pic_url":"https://pbs.twimg.com/profile_images/615911493738098688/qw2fzXhf_normal.png","profile_banner_url":null,"description":"An independent bank committed to meeting the financial services needs of the communities we serve. Member FDIC. Equal Housing Lender #empoweringgrowth","external_url":"https://www.mfbonline.com","number_of_tweets":737,"bot":false,"timestamp":1411744618,"has_nft_avatar":false,"category":{"name":"Financial Services","id":192},"default_profile":false,"default_profile_image":false,"listed_count":34,"verified_type":null},{"creation_date":"Wed Jun 23 14:29:33 +0000 2010","user_id":"158754468","username":"gobellbanks","name":"Bell Bank","follower_count":2766,"following_count":905,"favourites_count":8837,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Fargo, ND","profile_pic_url":"https://pbs.twimg.com/profile_images/1783929315253518336/KhJe9FjY_normal.jpg","profile_banner_url":null,"description":"Bell Bank is one of the nation's largest privately owned banks. Member FDIC. Equal Housing Lender. Equal Employment Opportunity Employer.","external_url":"https://linktr.ee/gobellbanks","number_of_tweets":10480,"bot":false,"timestamp":1277303373,"has_nft_avatar":false,"category":{"name":"Financial Services","id":192},"default_profile":false,"default_profile_image":false,"listed_count":68,"verified_type":null},{"creation_date":"Fri Feb 10 21:57:50 +0000 2017","user_id":"830173959572295680","username":"CSB_Indiana","name":"CitizensStateBank-IN","follower_count":374,"following_count":616,"favourites_count":1654,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Indiana, USA","profile_pic_url":"https://pbs.twimg.com/profile_images/1627751119429505067/Fj6gbB4__normal.jpg","profile_banner_url":null,"description":"Committed to helping our clients, co-workers, and communities succeed since 1873.  #BankLocal #CommunityBank NMLS 135463 Member FDIC  \nhttps://t.co/hyZUsuT36t","external_url":"https://linktr.ee/mycsbin","number_of_tweets":3780,"bot":false,"timestamp":1486763870,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":6,"verified_type":null},{"creation_date":"Wed Sep 17 19:25:10 +0000 2014","user_id":"2815466227","username":"choiceonefcu","name":"Choice One Community Credit Union","follower_count":435,"following_count":268,"favourites_count":119,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Plains, PA","profile_pic_url":"https://pbs.twimg.com/profile_images/1855942928624910336/f_joq-fC_normal.jpg","profile_banner_url":null,"description":"Better Rates. Better Service. #YourChoice","external_url":"http://choiceone.org","number_of_tweets":1875,"bot":false,"timestamp":1410981910,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":15,"verified_type":null},{"creation_date":"Fri Jun 29 03:44:14 +0000 2007","user_id":"7144422","username":"lifehacker","name":"Lifehacker","follower_count":3686728,"following_count":222,"favourites_count":847,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1724083125276364800/7zWNMQHo_normal.jpg","profile_banner_url":null,"description":"Do everything better.\n\nWe may earn affiliate commissions from products linked below.","external_url":"http://lifehacker.com","number_of_tweets":120715,"bot":false,"timestamp":1183088654,"has_nft_avatar":false,"category":null,"default_profile":false,"default_profile_image":false,"listed_count":29677,"verified_type":null},{"creation_date":"Tue Jun 11 15:33:42 +0000 2019","user_id":"1138469361944014850","username":"Truist","name":"Truist","follower_count":16367,"following_count":45,"favourites_count":1508,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"Charlotte, NC","profile_pic_url":"https://pbs.twimg.com/profile_images/1542857877404241921/STIw2pQQ_normal.jpg","profile_banner_url":null,"description":"Truist is a purpose-driven financial services company committed to inspiring and building better lives and communities. Truist Bank, Member FDIC.","external_url":"https://www.truist.com/","number_of_tweets":15309,"bot":false,"timestamp":1560267222,"has_nft_avatar":false,"category":null,"default_profile":true,"default_profile_image":false,"listed_count":87,"verified_type":null},{"creation_date":"Mon May 24 19:29:55 +0000 2010","user_id":"147678915","username":"AskUSBank","name":"U.S. Bank","follower_count":13330,"following_count":3,"favourites_count":180,"is_private":false,"is_verified":false,"is_blue_verified":false,"location":"","profile_pic_url":"https://pbs.twimg.com/profile_images/1766216485649686528/gcF0vDUH_normal.jpg","profile_banner_url":null,"description":"We're official reps of U.S. Bank, here to answer your questions Mon-Fri 7am-11pm, Sat-Sun 10am-7pm CT. Member FDIC.","external_url":"http://usbank.com","number_of_tweets":69661,"bot":false}],"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

用户正在关注谁 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7472/twitter+post+data+api/11997/who+is+the+user+following?user_id=44196397' --header 'Authorization: Bearer YOUR_API_KEY' 


    

通过用户ID查询用户的关注者



                                                                            
GET https://pr133-testing.zylalabs.com/api/7472/twitter+post+data+api/12003/user+followers
                                                                            
                                                                        

用户关注者 - 端点功能

对象 描述
user_id [必需] The user_id we want to check for. You can get the user_id from "user details" endpoint.
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"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}],"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

用户关注者 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7472/twitter+post+data+api/12003/user+followers?user_id=44196397' --header 'Authorization: Bearer YOUR_API_KEY' 


    

通过推文ID获取推文的一般信息 

创建日期 点赞 数量 转发次数 谁发了这条推文 推文内容等 



                                                                            
GET https://pr133-testing.zylalabs.com/api/7472/twitter+post+data+api/12008/tweet+details
                                                                            
                                                                        

推文详情 - 端点功能

对象 描述
tweet_id [必需] The tweet id. Check "tweets per user" to get this information.,
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"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}
                                                                                                                                                                                                                    
                                                                                                    

推文详情 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7472/twitter+post+data+api/12008/tweet+details?tweet_id=1930719161841586464' --header 'Authorization: Bearer YOUR_API_KEY' 


    

此端点返回搜索结果


                                                                            
GET https://pr133-testing.zylalabs.com/api/7472/twitter+post+data+api/12011/search+tweets
                                                                            
                                                                        

搜索推文 - 端点功能

对象 描述
query [必需] Topic or word related to your search
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        {"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}]}}}]}}],"_note":"Response truncated for documentation purposes"}
                                                                                                                                                                                                                    
                                                                                                    

搜索推文 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/7472/twitter+post+data+api/12011/search+tweets?query=nike' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 推特帖子数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

推特帖子数据 API FAQs

每个端点返回特定的推特数据。例如 GET 用户详情端点提供用户 ID 关注者数量和个人资料图片 URL 而 GET 每用户推文端点则返回推文创建日期文本以及转发和点赞等互动指标

关键字段包括用户ID、粉丝数、用户详情的推文数量,以及推文的推文ID、创建日期、文本、点赞数和转发数 这些字段有助于识别用户和分析推文表现

响应数据以JSON格式结构化 每个端点返回一个包含相关字段的主对象 例如 GET用户详细信息端点返回一个对象中的用户属性 而GET每用户推文端点返回一个推文对象的数组

参数因端点而异 对于获取用户详情 需要Twitter用户名 对于获取用户的推文 也需要用户名 这些参数允许用户自定义请求以检索特定数据

每个端点提供不同的信息 GET 用户详情提供用户个人资料数据 GET 用户的推文返回推文列表 GET 用户关注谁显示用户所关注的账户 GET 用户粉丝列出用户的粉丝

用户可以分析返回的数据以深入了解用户参与度和行为例如通过检查粉丝数量和推文指标营销人员可以量身定制活动而内容创作者可以识别趋势和热门话题

典型的用例包括市场调研、影响者分析和社交媒体监测。机构可以根据用户的关注情况来定位活动,而内容创作者则可以通过推文表现来跟踪参与度和受众兴趣

数据准确性通过直接从Twitter的公共API获取信息来维持,这反映了实时的用户生成内容 定期更新确保数据对访问的用户保持最新和相关

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。

价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]


此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。

定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。

有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]

价格由月度或年度订阅决定,具体取决于所选计划。

API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。

Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。

要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。

要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。

要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。

"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。

是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。

您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。

7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。

当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。

付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。


相关 API


您可能还喜欢