Business API文档

跳转到: 导航, 搜索
 
(未显示6个用户的127个中间版本)
第1行: 第1行:
== 商业API文档 ==
+
== 更详细的接口列表,请查看:[http://openapi.sc.weibo.com/ 微博数据API] ==
=== 原始数据 ===
+
*[[c/2/friendships/followers/all/ids|friendships/followers/all/ids]] 获取用户的全量粉丝ID列表(不受5000条限制)
+
*[[c/2/users/behavior_trend|users/behavior_trend]] 获取用户行为数据每日变化趋势
+
*[[c/2/friendships/followers/trend_count|friendships/followers/trend_count]] 获取30天用户粉丝的变化趋势数据
+
  
=== 分析数据 ===
+
== 商业数据API ==
*[[c/2/friendships/followers/tags|friendships/followers/tags]] 获取用户的全部粉丝的前几个微博语义标签
+
*[[c/2/friendships/followers/gender_count|friendships/followers/gender_count]] 获取用户粉丝的性别细分数据
+
*[[c/2/friendships/followers/location_count|friendships/followers/location_count]] 获取用户粉丝的地区细分数据
+
*[[c/2/friendships/followers/age_group_count|friendships/followers/age_group_count]] 获取用户粉丝的年龄段细分数据
+
*[[c/2/short_url/active_list|short_url/active_list]] 获取短链的被点击数、被转发数、被评论数等数据的TOP50短链列表
+
*[[c/2/friendships/followers/active_list|friendships/followers/active_list]] 获取用户活跃或忠诚粉丝TOP20列表
+
*[[c/2/statuses/active_list|statuses/active_list]] 获取当前用户的近7天内的被评论、被转发、被曝光的TOP10微博列表
+
*[[c/2/users/influence|users/influence]] 获取当前用户的近15天的各种影响力数据(包括活跃度、传播力、覆盖度、影响力)
+
*[[c/2/statuses/exposure|statuses/exposure]] 获取某条微博的曝光量(实际被看到的次数)
+
*[[c/2/friendships/followers/active_time|friendships/followers/active_time]] 获取当前用户的粉丝在线或发微博时段比例分布
+
*[[c/2/friendships/followers/login_statistics|friendships/followers/login_statistics]] 获取当前用户粉丝登录分布统计
+
*[[c/2/friendships/friends/connections|friendships/friends/connections]] 获取当前用户与指定用户取得联系之间经过的关系链
+
  
=== 营销运营 ===
+
=== 搜索最近数据(收费) ===      
<!--*[[2/direct_messages/send|direct_messages/send]] 发送一条私信-->
+
*[[c/2/search/statuses/limited|search/statuses/limited]] 搜索含某关键词的微博 [[c/2/search/statuses/limited-en|En]]
*[[c/2/notification/receive_list|notification/receive_list]] 获取当前用户收到的最新通知列表
+
*[[c/2/search/statuses/limited|search/statuses/limited]] 搜索含某关键词的微博
+
*[[c/2/search/hotword/mention_count|search/hotword/mention_count]] 搜索热词提及数
+
*[[c/2/direct_messages|direct_messages]] 获取当前用户收到的最新私信列表(有帐号限制,只能获取授权帐号的私信列表)
+
  
 +
 +
=== 检索历史全量数据(收费) ===
 +
*[[c/2/search/statuses/historical/create|search/statuses/historical/create]] 创建检索历史数据任务 [[c/2/search/statuses/historical/create-en|En]]
 +
*[[c/2/search/statuses/historical/check|search/statuses/historical/check]] 查看检索历史数据任务的执行状态 [[c/2/search/statuses/historical/check-en|En]]
 +
*[[c/2/search/statuses/historical/download|search/statuses/historical/download]] 下载任务执行后的结果数据 [[c/2/search/statuses/historical/download-en|En]]
 +
 +
 +
=== 微博内容数据(收费) ===
 +
*[[c/2/statuses/repost_timeline/all|statuses/repost_timeline/all]] 返回一条微博的全部转发微博列表 [[c/2/statuses/repost_timeline/all-en|En]]
 +
*[[c/2/statuses/mentions/other|statuses/mentions/other]] 获取@某人的微博 [[c/2/statuses/mentions/other-en|En]]
 +
*[[c/2/statuses/user_timeline_batch|statuses/user_timeline_batch]] 批量获取用户个人微博列表 [[c/2/statuses/user_timeline_batch-en|En]]
 +
*[[c/2/statuses/user_timeline/other|statuses/user_timeline/other]] 获取其他用户微博列表 [[c/2/statuses/user_timeline/other-en|En]]
 +
*[[c/2/place/user_timeline/other|place/user_timeline/other]] 获取某个用户的位置动态 [[c/2/place/user_timeline/other-en|En]]
 +
*[[c/2/comments/show/all|comments/show/all]] 返回一条微博的全部评论列表 [[c/2/comments/show/all-en|En]]
 +
*[[c/2/comments/by_me/other|comments/by_me/other]] 获取某个用户发出的评论列表 [[c/2/comments/by_me/other-en|En]]
 +
*[[c/2/comments/to_me/other|comments/to_me/other]] 获取某个用户收到的评论列表 [[c/2/comments/to_me/other-en|En]]
 +
*[[c/2/comments/timeline/other|comments/timeline/other]] 获取某个用户发出和收到的评论列表 [[c/2/comments/timeline/other-en|En]]
 +
*[[c/2/comments/mentions/other|comments/mentions/other]] 获取@某人的评论 [[c/2/comments/mentions/other-en|En]]
 +
*[[c/2/attitudes/show/biz|attitudes/show/biz]] 根据微博id获取点赞列表 [[c/2/attitudes/show/biz-en|En]]
 +
 +
 +
===评论信息读取接口===
 +
*[[c/2/comments/show_batch/biz/new|comments/show_batch/biz/new]] 批量获取评论内容 [[c/2/comments/show_batch/biz-en|En]]
 +
 +
 +
===微博信息读取接口===
 +
*[[c/2/statuses/show_batch/biz/new|statuses/show_batch/biz/new]] 根据微博ID批量获取微博信息 [[c/2/statuses/show_batch/biz-en|En]]
 +
*[[c/2/statuses/count/biz/new|statuses/count/biz/new]] 批量获取指定微博的转发数评论数喜欢数 [[c/2/statuses/count/biz-en|En]]
 +
 +
 +
===位置服务-地点读取接口 (收费)===
 +
*[[c/2/place/pois/users/biz|place/pois/users/biz]] 获取在某个地点签到的人的列表 [[c/2/place/pois/users/biz-en|En]]
 +
 +
 +
===位置服务-动态读取接口 (收费)===
 +
*[[c/2/place/poi_timeline/biz|place/poi_timeline/biz]] 获取某个位置地点的动态 [[c/2/place/poi_timeline/biz-en|En]]
 +
 +
=== 微博用户数据 ===
 +
*[[c/2/users/show_batch/other|users/show_batch/other]] 批量获取用户信息 [[c/2/users/show_batch/other-en|En]]
 +
*[[c/2/tags/tags_batch/other|tags/tags_batch/other]] 批量获取用户标签 [[c/2/tags/tags_batch/other-en|En]]
 +
*[[c/2/users/counts_batch/other|users/counts_batch/other]] 批量获取用户的粉丝数、关注数、微博数 [[c/2/users/counts_batch/other-en|En]]
 +
 +
 +
<!--=== 微博关系数据(深度合作免费开放、不支持付费开放) ===
 +
*[[c/2/friendships/followers/other_all|friendships/followers/other_all]] 获取用户的粉丝列表 [[c/2/friendships/followers/other_all-en|En]]
 +
*[[c/2/friendships/friends/other_all|friendships/friends/other_all]] 获取用户的关注人列表 [[c/2/friendships/friends/other_all-en|En]]-->
 +
 +
 +
<!--== 广告API ==
 +
=== 微博精选API ===
 +
*[[c/2/proxy/aim/campaign/create|proxy/aim/campaign/create]] 创建一个广告计划
 +
*[[c/2/proxy/aim/account/campaign_list|proxy/aim/account/campaign_list]] 查询账户下的计划列表,用于发起后续操作
 +
*[[c/2/proxy/aim/campaign/info|proxy/aim/campaign/info]] 查询计划的详细信息
 +
*[[c/2/proxy/aim/campaign/stop|proxy/aim/campaign/stop]] 通过指定广告计划ID,终止广告计划。终止后不可再做操作
 +
*[[c/2/proxy/aim/campaign/pause|proxy/aim/campaign/pause]] 通过指定广告计划ID,暂停广告计划。暂停后可通过启动计划来恢复
 +
*[[c/2/proxy/aim/campaign/start|proxy/aim/campaign/start]] 通过指定广告计划ID,启动广告计划
 +
*[[c/2/proxy/aim/campaign/remove|proxy/aim/campaign/remove]] 通过指定广告计划ID,删除广告计划。删除后计划不再可见
 +
*[[c/2/proxy/aim/campaign/modify|proxy/aim/campaign/modify]] 通过指定广告计划ID,修改广告计划
 +
*[[c/2/proxy/aim/campaign/effect|proxy/aim/campaign/effect]] 查询指定广告计划ID在指定日期的效果数据
 +
*[[c/2/proxy/aim/campaign/effect_batch|proxy/aim/campaign/effect_batch]] 批量查询指定广告计划ID在指定日期的效果数据
 +
*[[c/2/proxy/aim/campaign/consume|proxy/aim/campaign/consume]] 查询指定广告计划ID在指定日期的实时消耗数据
 +
*[[c/2/proxy/aim/campaign/consume_batch|proxy/aim/campaign/consume_batch]] 批量查询指定广告计划ID在指定日期的实时消耗数据
 +
*[[c/2/proxy/aim/account/balance|proxy/aim/account/balance]] 查询当前账户余额和当天消耗额
 +
 +
 +
=== 微任务API ===
 +
*[[c/2/proxy/wrw/user/userlist|proxy/wrw/user/userlist]] 获取资源方帐号信息列表
 +
*[[c/2/proxy/wrw/user/userusable|proxy/wrw/user/userusable]] 查询资源方微博帐号某时刻是否可接订单
 +
*[[c/2/proxy/wrw/order/taskadd|proxy/wrw/order/taskadd]] 需求方创建任务
 +
*[[c/2/proxy/wrw/order/list|proxy/wrw/order/list]] 查询需求方订单列表
 +
*[[c/2/proxy/wrw/order/cost|proxy/wrw/order/cost]] 查询需求方支出列表
 +
*[[c/2/proxy/wrw/order/effect|proxy/wrw/order/effect]] 查询订单执行效果
 +
*[[c/2/proxy/wrw/user/info|proxy/wrw/user/info]] 批量获取指定资源方帐号的信息
 +
*[[c/2/proxy/wrw/dict/class|proxy/wrw/dict/class]] 获取资源方帐号分类列表
 +
-->
 +
 +
==通用API==
 +
===微博内容读取接口===
 +
*[[c/2/statuses/friends_timeline/biz|statuses/friends_timeline/biz]] 获取当前登录用户及其所关注用户的微博 [[c/2/statuses/friends_timeline/biz-en|En]]
 +
*[[c/2/statuses/user_timeline/biz|statuses/user_timeline/biz]] 获取当前登录用户发布的微博 [[c/2/statuses/user_timeline/biz-en|En]]
 +
*[[c/2/statuses/repost_timeline/biz|statuses/repost_timeline/biz]] 获取当前登录用户发布的一条原创微博的转发微博 [[c/2/statuses/repost_timeline/biz-en|En]]
 +
*[[c/2/statuses/mentions/biz|statuses/mentions/biz]] 获取@当前登录用户的微博 [[c/2/statuses/mentions/biz-en|En]]
 +
 +
 +
 +
===微博写入接口===
 +
*[[c/2/statuses/repost/biz|statuses/repost/biz]] 转发一条微博信息 [[c/2/statuses/repost/biz-en|En]]
 +
*[[c/2/statuses/destroy/biz|statuses/destroy/biz]] 删除微博信息 [[c/2/statuses/destroy/biz-en|En]]
 +
*[[c/2/statuses/update/biz|statuses/update/biz]] 发布一条微博信息 [[c/2/statuses/update/biz-en|En]]
 +
*[[c/2/statuses/upload/biz|statuses/upload/biz]] 上传图片并发布一条微博 [[c/2/statuses/upload/biz-en|En]]
 +
*[[c/2/statuses/upload_url_text/biz|statuses/upload_url_text/biz]] 发布一条微博同时指定上传的图片或图片url [[c/2/statuses/upload_url_text/biz-en|En]]
 +
*[[c/2/statuses/filter/create/biz|statuses/filter/create/biz]] 屏蔽某条微博 [[c/2/statuses/filter/create/biz-en|En]]
 +
*[[c/2/statuses/mentions/shield/biz|statuses/mentions/shield/biz]] 屏蔽某个@我的微博及后续由其转发引起的@提及 [[c/2/statuses/mentions/shield/biz-en|En]]
 +
*[[c/2/statuses/upload_pic/biz|statuses/upload_pic/biz]] 上传图片,返回图片picid,urls(3个url) [[c/2/statuses/upload_pic/biz-en|En]]
 +
 +
 +
===评论内容读取接口===
 +
*[[c/2/comments/show/biz|comments/show/biz]] 获取当前登录用户发布的微博下的评论列表 [[c/2/comments/show/biz-en|En]]
 +
*[[c/2/comments/by_me/biz|comments/by_me/biz]] 获取当前登录用户发出的评论列表 [[c/2/comments/by_me/biz-en|En]]
 +
*[[c/2/comments/to_me/biz|comments/to_me/biz]] 获取当前登录用户收到的评论列表 [[c/2/comments/to_me/biz-en|En]]
 +
*[[c/2/comments/timeline/biz|comments/timeline/biz]] 获取当前登录用户发出及收到的评论列表 [[c/2/comments/timeline/biz-en|En]]
 +
*[[c/2/comments/mentions/biz|comments/mentions/biz]] 获取@当前登录用户的评论 [[c/2/comments/mentions/biz-en|En]]
 +
 +
 +
===评论写入接口===
 +
*[[c/2/comments/create/biz|comments/create/biz]] 评论一条微博 [[c/2/comments/create/biz-en|En]]
 +
*[[c/2/comments/destroy/biz|comments/destroy/biz]] 删除一条评论 [[c/2/comments/destroy/biz-en|En]]
 +
*[[c/2/comments/reply/biz|comments/reply/biz]] 回复一条评论 [[c/2/comments/reply/biz-en|En]]
 +
 +
 +
===用户读取接口===
 +
*[[c/2/users/show/biz|users/show/biz]] 获取当前登录用户信息 [[c/2/users/show/biz-en|En]]
 +
*[[c/2/tags/biz|tags/biz]] 获取当前登录用户的标签 [[c/2/tags/biz-en|En]]
 +
 +
 +
===表态列表读取接口===
 +
*[[c/2/attitudes/to_me/biz|attitudes/to_me/biz]] 获取当前登录用户收到的表态列表 [[c/2/attitudes/to_me/biz-en|En]]
 +
*[[c/2/attitudes/exists/biz|attitudes/exists/biz]] 批量获取当前用户对微博是否表态过 [[c/2/attitudes/exists/biz-en|En]]
 +
 +
 +
===表态写入接口===
 +
*[[c/2/attitudes/create/biz|attitudes/create/biz]] 发布一条表态 [[c/2/attitudes/create/biz-en|En]]
 +
*[[c/2/attitudes/destroy/biz|attitudes/destroy/biz]] 删除一条表态 [[c/2/attitudes/destroy/biz-en|En]]
 +
*[[c/2/likes/update/biz|likes/update/biz]] 喜欢某个对象 [[c/2/likes/update/biz-en|En]]
 +
 +
 +
===微博id转换接口===
 +
*[[c/2/statuses/queryid/biz|statuses/queryid/biz]] 通过微博(评论、私信)MID获取其ID [[c/2/statuses/queryid/biz-en|En]]
 +
*[[c/2/statuses/querymid/biz|statuses/querymid/biz]] 通过微博(评论、私信)ID获取其MID [[c/2/statuses/querymid/biz-en|En]]
 +
 +
 +
===短链接口===
 +
*[[c/2/short_url/shorten/biz|short_url/shorten/biz]]将一个或多个长链接转换成短链接[[c/2/short_url/shorten/biz-en|En]]
 +
*[[c/2/short_url/expand/biz|short_url/expand/biz]]将一个或多个短链接还原成原始的长链接[[c/2/short_url/expand/biz-en|En]]
 +
 +
 +
 +
===关系读取接口===
 +
*[[c/2/friendships/friends/biz|friendships/friends/biz]] 获取当前登录用户的关注列表 [[c/2/friendships/friends/biz-en|En]]
 +
*[[c/2/friendships/followers/biz|friendships/followers/biz]] 获取当前登录用户的粉丝列表 [[c/2/friendships/followers/biz-en|En]]
 +
*[[c/2/friendships/show/biz|friendships/show/biz]] 获取两个用户之间的详细关注关系情况 [[c/2/friendships/show/biz-en|En]]
 +
 +
 +
<!--===关系写入接口===
 +
*[[c/2/friendships/create/biz|friendships/create/biz]] 关注某用户 [[c/2/friendships/create/biz-en|En]]
 +
*[[c/2/friendships/destroy/biz|friendships/destroy/biz]] 取消关注某用户 [[c/2/friendships/destroy/biz-en|En]]
 +
*[[c/2/friendships/followers/destroy/biz|friendships/followers/destroy/biz]] 移除当前登录用户的粉丝 [[c/2/friendships/followers/destroy/biz-en|En]]
 +
*[[c/2/friendships/remark/update/biz|friendships/remark/update/biz]] 更新关注人备注 [[c/2/friendships/remark/update/biz-en|En]-->
 +
 +
===搜索用户接口===
 +
*[[c/2/search/suggestions/users/biz|search/suggestions/users/biz]] 搜用户搜索建议 [[c/2/search/suggestions/users/biz-en|En]]
 +
 +
 +
===位置服务-动态读取接口===
 +
*[[c/2/place/user_timeline/biz|place/user_timeline/biz]] 获取当前登录用户的位置动态 [[c/2/place/user_timeline/biz-en|En]]
 +
*[[c/2/place/users/checkins/biz|place/users/checkins/biz]] 获取当前登录用户签到过的地点列表 [[c/2/place/users/checkins/biz-en|En]]
 +
 +
 +
===位置服务-地点读取接口===
 +
*[[c/2/place/pois/show/biz|place/pois/show/biz]] 获取地点详情 [[c/2/place/pois/show/biz-en|En]]
 +
 +
 +
<!--===粉服接口-发送客服消息===
 +
*[[c/2/messages/reply/biz|messages/reply/biz]] 向用户回复私信消息接口 [[c/2/messages/reply/biz-en|En]]
 +
 +
 +
===广告API-广告统计数据接口===
 +
*[[c/2/proxy/ads/analysis/effect_count|proxy/ads/analysis/effect_count]] 批量获取推广微博的效果分析数据
 +
*[[c/2/users/behavior_trend/biz|users/behavior_trend/biz]] 获取他人用户行为数据每日变化趋势
 +
*[[c/2/users/page_visit|users/page_visit]] 获取用户页面最近90天每天的PV、UV、平均访问时长数据-->
 +
 +
== AI数据采集、标注等定制服务:[https://www.datatang.com/ 数据堂] ==
  
 
<br/><br/>
 
<br/><br/>
{{languages|API文档_V2}}
 

2023年7月14日 (五) 16:52的最后版本

目录

更详细的接口列表,请查看:微博数据API

商业数据API

搜索最近数据(收费)


检索历史全量数据(收费)


微博内容数据(收费)


评论信息读取接口


微博信息读取接口


位置服务-地点读取接口 (收费)


位置服务-动态读取接口 (收费)

微博用户数据



通用API

微博内容读取接口


微博写入接口


评论内容读取接口


评论写入接口


用户读取接口


表态列表读取接口


表态写入接口


微博id转换接口


短链接口


关系读取接口


搜索用户接口


位置服务-动态读取接口


位置服务-地点读取接口


AI数据采集、标注等定制服务:数据堂



文档更新时间: 2023-07-14