{"rest_id":"44196397","affiliates_highlighted_label":{"label":{"url":{"url":"https://twitter.com/X","urlType":"DeepLink"},"badge":{"url":"https://pbs.twimg.com/profile_images/1683899100922511378/5lY42eHs_bigger.jpg"},"description":"X","userLabelType":"BusinessLabel","userLabelDisplayType":"Badge"}},"has_graduated_access":true,"is_blue_verified":true,"legacy":{"following":false,"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":157921,"followers_count":222779843,"friends_count":1167,"has_custom_timelines":true,"is_translator":false,"listed_count":163648,"location":"","media_count":3974,"name":"Elon Musk","normal_followers_count":222779843,"pinned_tweet_ids_str":["1946759974522356064"],"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":81868,"translator_type":"none","verified":false,"want_retweets":false,"withheld_in_countries":[]},"parody_commentary_fan_label":"None","profile_image_shape":"Circle","professional":{"rest_id":"1679729435447275522","professional_type":"Creator","category":[]},"tipjar_settings":{"is_enabled":false},"super_follow_eligible":true,"verification":{"verified":false},"legacy_extended_profile":{},"is_profile_translatable":false,"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":"676"},"user_seed_tweet_count":0,"premium_gifting_eligible":false,"business_account":{},"creator_subscriptions_count":222}
curl --location --request GET 'https://zylalabs.com/api/8680/twitter+account+data+fetch+api/15198/account+data?username=elonmusk' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Twitter账户数据获取 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
领先企业的信赖之选
Twitter账户数据获取API旨在为需要获取准确和最新Twitter账户数据的用户提供服务。通过简单地提供用户名,该API返回关于该账户的广泛结构化信息。它非常适合社交监测整合、在线声誉分析、影响者搜索引擎、身份验证或数字行为研究。
该API提供关键数据,例如用户名、全名、简介、个人资料照片、账户创建日期、位置、外部链接、粉丝数量、发布的推文数量、验证状态(包括传统和“企业认证”)、账户类型(个人或专业)以及其他有用指标,例如被添加到列表的次数或被推荐推文的数量。它还识别用户是否属于某个验证的组织,或是否启用了高级功能,例如自定义时间线或活跃订阅。
该API返回有关Twitter帐户的详细信息,包括用户名,全名,个人简介,个人照片,帐户创建日期,位置信息,外部链接,粉丝数量,推文数量,验证状态,帐户类型以及参与度指标,例如列表加入和热门推文
响应中的关键字段包括“用户名”“全名”“个人简介”“个人照片”“粉丝数”“推文数”“验证状态”和“账户类型”每个字段提供了有关账户身份和活动的具体见解
响应数据以JSON格式结构化,每个键表示Twitter账户的特定属性。这使得解析和集成到应用程序中变得简单,能够让开发者高效地访问相关信息
API提供用户人口统计信息(地点,账户类型),参与指标(粉丝,推文)和验证细节(传统和商业验证)这些全面的数据支持各种分析和监控需求
用户可以通过在API调用中指定所需的用户名来定制他们的请求。目前,API不支持额外的参数来过滤或修改响应,专注于指定账户的数据
典型的使用案例包括社交媒体监测、影响者识别、在线声誉管理、身份验证和数字行为分析. 数据帮助企业和研究人员理解用户在Twitter上的参与和影响
通过直接从Twitter平台获取信息来维护数据的准确性,确保检索到的细节反映账户的最新状态 Twitter的定期更新有助于维护提供数据的完整性
如果API返回部分或空结果,可能表示指定的用户名不存在或是私密的。用户应该验证用户名的正确性,并考虑在他们的应用程序中优雅地处理此类情况,可能通过提供用户反馈