Twitter X视频跟踪API是一个强大的工具,旨在提取特定Twitter用户分享的视频和GIF内容。通过以用户为中心的端点,它使得使用user进行账户过滤和cursor进行结果平滑导航的参数轻松获取数据。无论是用于跟踪趋势、监控社交媒体活动,还是通过视觉内容增强应用程序,这个API都能提供准确快速的结果。其优化设计确保无缝集成到任何开发工作流程中,适应各种规模的项目。从市场洞察到社交媒体研究和视频内容自动化,Twitter X视频跟踪API是您在Twitter上进行多媒体探索的首选解决方案。
发送带有参数用户(ID或用户名)和可选游标的GET请求以获取共享媒体并管理分页
获取用户视频 - 端点功能
| 对象 | 描述 |
|---|---|
user |
[必需] |
cursor |
可选 |
{"cursor":{"bottom":"DAABCgABGfgPrtJ___QKAAIZ9As7rtcRrggAAwAAAAIAAA","top":"DAABCgABGfgPrtKAJxEKAAIZ9uS8slpg-QgAAwAAAAEAAA"},"data":{"__typename":"TimelineAddEntries","entries":[{"entryId":"tweet-1870934194316271865","sortIndex":"1871262888702771200","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","rest_id":"1870934194316271865","view_count_info":{"count":"14390333","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1870934194316271865","created_at":"Sun Dec 22 20:47:26 +0000 2024","display_text_range":[0,17],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[],"timestamps":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/ahZAqzlP3P","expanded_url":"https://x.com/elonmusk/status/1870934194316271865/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":84,"y":288,"h":68,"w":68}]}},"id_str":"1870934186976014336","indices":[18,41],"media_key":"3_1870934186976014336","media_url_https":"https://pbs.twimg.com/media/GfbkuvzW8AACOHj.jpg","original_info":{"width":946,"height":2048,"focus_rects":[{"x":0,"y":1115,"w":946,"h":530},{"x":0,"y":907,"w":946,"h":946},{"x":0,"y":841,"w":946,"h":1078},{"x":0,"y":156,"w":946,"h":1892},{"x":0,"y":0,"w":946,"h":2048}]},"sizes":{"large":{"w":946,"h":2048}},"type":"photo","url":"https://t.co/ahZAqzlP3P"}]},"favorite_count":55931,"favorited":false,"full_text":"Naughtius Maximus https://t.co/ahZAqzlP3P","is_quote_status":false,"lang":"lt","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":361,"reply_count":4227,"retweet_count":4235,"retweeted":false,"user_id_str":"44196397","bookmarked":false,"bookmark_count":1971},"core":{"user_result":{"result":{"__typename":"User","rest_id":"44196397","is_blue_verified":true,"profile_image_shape":"Circle","affiliates_highlighted_label":{"label":{"url":{"urlType":"DeepLink","url":"https://twitter.com/X"},"badge":{"url":"https://pbs.twimg.com/profile_images/1683899100922511378/5lY42eHs_bigger.jpg"},"userLabelType":"BusinessLabel","userLabelDisplayType":"Badge","description":"X"}},"legacy":{"can_dm":false,"can_media_tag":false,"advertiser_account_service_levels":["smb"],"advertiser_account_type":"promotable_user","analytics_type":"enabled","created_at":"Tue Jun 02 20:12:29 +0000 2009","description":"The people voted for major government reform","entities":{"description":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[]}},"fast_followers_count":0,"favourites_count":104106,"followers_count":208756877,"friends_count":902,"geo_enabled":false,"has_custom_timelines":true,"has_extended_profile":true,"id_str":"44196397","is_translator":false,"location":"","media_count":2996,"name":"Elon Musk","normal_followers_count":208756877,"pinned_tweet_ids_str":["1870886724257386529"],"profile_background_color":"C0DEED","profile_banner_url":"https://pbs.twimg.com/profile_banners/44196397/1726163678","profile_image_url_https":"https://pbs.twimg.com/profile_images/1858316737780781056/kPL61o0F_normal.jpg","profile_interstitial_type":"","profile_link_color":"0084B4","protected":false,"screen_name":"elonmusk","statuses_count":63757,"translator_type_enum":"None","verified":false,"withheld_in_countries":[]},"super_follow_eligible":true,"super_followed_by":false,"super_following":false,"private_super_following":false,"exclusive_tweet_following":false}}},"edit_control":{"__typename":"EditControlInitial","edit_tweet_ids":["1870934194316271865"],"editable_until_msecs":"1734904046000","edits_remaining":"5","is_edit_eligible":true},"unmention_data":{},"quick_promote_eligibility":{"eligibility":"IneligibleNotProfessional"},"conversation_muted":false,"is_translatable":false}},"tweetDisplayType":"Tweet"}}},{"entryId":"tweet-1870894953838109073","sortIndex":"1871262888702771199","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","rest_id":"1870894953838109073","view_count_info":{"count":"45694610","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1870894953838109073","created_at":"Sun Dec 22 18:11:31 +0000 2024","display_text_range":[0,0],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[],"timestamps":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/usoIMccsUn","expanded_url":"https://x.com/elonmusk/status/1870894953838109073/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":311,"y":124,"h":326,"w":326}]}},"id_str":"1870894950088409088","indices":[0,23],"media_key":"3_1870894950088409088","media_url_https":"https://pbs.twimg.com/media/GfbBC3AXgAAcRpi.jpg","original_info":{"width":1024,"height":768,"focus_rects":[{"x":0,"y":0,"w":1024,"h":573},{"x":0,"y":0,"w":768,"h":768},{"x":47,"y":0,"w":674,"h":768},{"x":192,"y":0,"w":384,"h":768},{"x":0,"y":0,"w":1024,"h":768}]},"sizes":{"large":{"w":1024,"h":768}},"type":"photo","url":"https://t.co/usoIMccsUn"}]},"favorite_count":296738,"favorited":false,"full_text":"https://t.co/usoIMccsUn","is_quote_status":false,"lang":"zxx","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":1922,"reply_count":11527,"retweet_count":31510,"retweeted":false,"user_id_str":"44196397","bookmarked":false,"bookmark_count":5308},"core":{"user_result":{"result":{"__typename":"User","rest_id":"44196397","is_blue_verified":true,"profile_image_shape":"Circle","affiliates_highlighted_label":{"label":{"url":{"urlType":"DeepLink","url":"https://twitter.com/X"},"badge":{"url":"https://pbs.twimg.com/profile_images/1683899100922511378/5lY42eHs_bigger.jpg"},"userLabelType":"BusinessLabel","userLabelDisplayType":"Badge","description":"X"}},"legacy":{"can_dm":false,"can_media_tag":false,"advertiser_account_service_levels":["smb"],"advertiser_account_type":"promotable_user","analytics_type":"enabled","created_at":"Tue Jun 02 20:12:29 +0000 2009","description":"The people voted for major government reform","entities":{"description":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[]}},"fast_followers_count":0,"favourites_count":104106,"followers_count":208756877,"friends_count":902,"geo_enabled":false,"has_custom_timelines":true,"has_extended_profile":true,"id_str":"44196397","is_translator":false,"location":"","media_count":2996,"name":"Elon Musk","normal_followers_count":208756877,"pinned_tweet_ids_str":["1870886724257386529"],"profile_background_color":"C0DEED","profile_banner_url":"https://pbs.twimg.com/profile_banners/44196397/1726163678","profile_image_url_https":"https://pbs.twimg.com/profile_images/1858316737780781056/kPL61o0F_normal.jpg","profile_interstitial_type":"","profile_link_color":"0084B4","protected":false,"screen_name":"elonmusk","statuses_count":63757,"translator_type_enum":"None","verified":false,"withheld_in_countries":[]},"super_follow_eligible":true,"super_followed_by":false,"super_following":false,"private_super_following":false,"exclusive_tweet_following":false}}},"edit_control":{"__typename":"EditControlInitial","edit_tweet_ids":["1870894953838109073"],"editable_until_msecs":"1734894691000","edits_remaining":"5","is_edit_eligible":true},"unmention_data":{},"quick_promote_eligibility":{"eligibility":"IneligibleNotProfessional"},"conversation_muted":false,"is_translatable":false}},"tweetDisplayType":"Tweet"}}},{"entryId":"tweet-1870893895724527667","sortIndex":"1871262888702771198","content":{"__typename":"TimelineTimelineItem","content":{"__typename":"TimelineTweet","tweetResult":{"result":{"__typename":"Tweet","rest_id":"1870893895724527667","view_count_info":{"count":"7621295","state":"EnabledWithCount"},"legacy":{"conversation_id_str":"1870893895724527667","created_at":"Sun Dec 22 18:07:18 +0000 2024","display_text_range":[0,150],"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[],"timestamps":[]},"extended_entities":{"media":[{"display_url":"pic.x.com/Js0YMudxTS","expanded_url":"https://x.com/elonmusk/status/1870893895724527667/photo/1","ext_media_availability":{"status":"Available"},"features":{"large":{"faces":[{"x":523,"y":308,"h":80,"w":80},{"x":539,"y":382,"h":72,"w":72},{"x":33,"y":132,"h":130,"w":130},{"x":37,"y":187,"h":124,"w":124},{"x":36,"y":286,"h":125,"w":125},{"x":40,"y":342,"h":119,"w":119},{"x":37,"y":392,"h":121,"w":121},{"x":38,"y":493,"h":121,"w":121},{"x":34,"y":233,"h":132,"w":132},{"x":33,"y":439,"h":134,"w":134}]}},"id_str":"1870893891546726400","indices":[151,174],"media_key":"3_1870893891546726400","media_url_https":"https://pbs.twimg.com/media/GfbAFPoXQAAKeqd.jpg","original_info":{"width":1070,"height":1327,"focus_rects":[{"x":0,"y":0,"w":1070,"h":599},{"x":0,"y":0,"w":1070,"h":1070},{"x":0,"y":0,"w":1070,"h":1220},{"x":0,"y":0,"w":664,"h":1327},{"x":0,"y":0,"w":1070,"h":1327}]},"sizes":{"large":{"w":1070,"h":1327}},"type":"photo","url":"https://t.co/Js0YMudxTS"}]},"favorite_count":81153,"favorited":false,"full_text":"Legacy media is written by the FAR LEFT.\n\nOnly 3% of journalists are Republican!\n\nIt is borderline illegal in newsrooms to be a Republican journalist. https://t.co/Js0YMudxTS","is_quote_status":false,"lang":"en","possibly_sensitive":false,"possibly_sensitive_editable":true,"quote_count":888,"reply_count":5711,"retweet_count":18967,"retweeted":false,"user_id_str":"44196397","bookmarked":false,"bookmark_count":4258},"core":{"user_result":{"result":{"__typename":"User","rest_id":"44196397","is_blue_verified":true,"profile_image_shape":"Circle","affiliates_highlighted_label":{"label":{"url":{"urlType":"DeepLink","url":"https://twitter.com/X"},"badge":{"url":"https://pbs.twimg.com/profile_images/1683899100922511378/5lY42eHs_bigger.jpg"},"userLabelType":"BusinessLabel","userLabelDisplayType":"Badge","description":"X"}},"legacy":{"can_dm":false,"can_media_tag":false,"advertiser_account_service_levels":["smb"],"advertiser_account_type":"promotable_user","analytics_type":"enabled","created_at":"Tue Jun 02 20:12:29 +0000 2009"}}}}}}}}}]},"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/5822/twitter+x+video+tracker+api/7608/get+user+videos?user=44196397' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
Twitter X 视频追踪 API 是一个工具,允许用户检索特定 Twitter 账户分享的视频和 GIF,利用高效的过滤和分页进行实时多媒体追踪
您可以通过使用<code>user</code>参数来过滤结果,以指定您要跟踪的Twitter账户,从而确保您只获取该特定用户的视频和GIF
<code>cursor</code>参数用于分页,使您可以顺畅地浏览API返回的结果,便于访问大量数据
该API适用于各种项目,包括营销洞察社交媒体研究和视频内容自动化,使开发人员能够利用Twitter上的视觉内容增强应用程序
是的,Twitter X 视频跟踪器 API 旨在无缝集成到任何开发工作流程中,适应各种规模的项目并确保高效的数据检索
API 返回多媒体内容,特别是 Twitter 用户分享的视频和 GIF 数据包括元数据如推文 ID 观看次数 创建日期和媒体 URL
响应中的关键字段包括 `entryId` `sortIndex` `rest_id` `view_count_info` 和 `extended_entities` 其中包含媒体详细信息如 URL 和可用状态
响应采用JSON格式结构,其中包含一个用于分页的`cursor`对象和一个`data`对象,后者包含一个条目数组,每个条目代表一个带有相关媒体的推文
主要参数是`user`(指定Twitter账户)和`cursor`(用于分页)用户可以通过提供所需的用户名或用户ID来自定义请求
该端点提供有关共享视频和GIF的信息,包括推文元数据、媒体网址、观看次数和时间戳,允许进行全面的多媒体跟踪
用户可以分析返回的数据来跟踪参与指标识别趋势内容或将视觉媒体集成到应用程序中提升用户体验与动态内容
数据准确性通过直接从Twitter平台获取来保持,确保信息反映实时用户活动和媒体共享
典型的使用案例包括社交媒体监控、趋势分析、内容策划和营销活动,其中视觉内容在互动和传播策略中起着至关重要的作用
服务级别:
100%
响应时间:
561ms
服务级别:
100%
响应时间:
1,653ms
服务级别:
100%
响应时间:
6,199ms
服务级别:
100%
响应时间:
1,904ms
服务级别:
100%
响应时间:
131ms
服务级别:
100%
响应时间:
1,348ms
服务级别:
100%
响应时间:
25ms
服务级别:
100%
响应时间:
1,281ms
服务级别:
100%
响应时间:
509ms
服务级别:
100%
响应时间:
57ms
服务级别:
100%
响应时间:
853ms
服务级别:
100%
响应时间:
5,262ms
服务级别:
100%
响应时间:
55ms
服务级别:
100%
响应时间:
9,221ms
服务级别:
100%
响应时间:
9,572ms
服务级别:
100%
响应时间:
6,987ms
服务级别:
100%
响应时间:
12,860ms
服务级别:
100%
响应时间:
20,002ms
服务级别:
100%
响应时间:
53ms
服务级别:
100%
响应时间:
6,914ms