读取接口statuses/public_timeline 获取最新的公共微博statuses/friends_timeline 获取当前登录用户及其所关注用户的最新微博 statuses/home_timeline 获取当前登录用户及其所关注用户的最新微博 statuses/user_timeline 获取用户发布的微博 *statuses/timeline_batch 批量获取指定的一批用户的timeline statuses/repost_timeline 返回一条原创微博的最新转发微博 statuses/repost_by_me 返回用户转发的最新微博 statuses/mentions 获取@当前用户的最新微博 statuses/show 根据ID获取单条微博信息 *statuses/show_batch 批量获取微博信息 statuses/querymid 通过id获取mid statuses/queryid 通过mid获取id statuses/hot/repost_daily 按天返回热门转发榜 statuses/hot/repost_weekly 按周返回热门转发榜 statuses/hot/comments_daily 按天返回热门评论榜 statuses/hot/comments_weekly 按周返回热门评论榜 写入接口 statuses/repost 转发一条微博信息 statuses/destroy 删除微博信息 statuses/update 发布一条微博信息 statuses/upload 上传图片并发布一条微博 statuses/upload_url_text 发布一条微博同时指定上传的图片或图片url emotions 获取官方表情 读取接口 comments/show 获取某条微博的评论列表 comments/by_me 我发出的评论列表 comments/to_me 我收到的评论列表 comments/timeline 获取用户发送及收到的评论列表 comments/mentions 获取@到我的评论 comments/show_batch 批量获取评论内容 写入接口 comments/create 评论一条微博 comments/destroy 删除一条评论 comments/destroy_batch 批量删除评论 comments/reply 回复一条微博 读取接口 users/show 获取用户信息 users/domain_show 通过个性域名获取用户信息 *users/show_batch 批量获取用户信息 关注读取接口 friendships/friends 获取用户的关注列表 friendships/friends/in_common 获取共同关注人列表 friendships/friends/bilateral 获取双向关注列表 friendships/friends/bilateral/ids 获取双向关注UID列表 friendships/friends/ids 获取用户关注对象UID列表 *friendships/friends/remark_batch 批量获取关注人备注 粉丝读取接口 friendships/followers 获取用户粉丝列表 friendships/followers/ids 获取用户粉丝UID列表 friendships/followers/active 获取用户优质粉丝列表 关系链读取接口 friendships/friends_chain/followers 获取我的关注人中关注了指定用户 关系状态读取接口 friendships/show 获取两个用户关系的详细情况 写入接口 friendships/create 关注某用户 *friendships/create_batch 批量关注用户 friendships/destroy 取消关注某用户 friendships/remark/update 更新关注人备注 读取接口 direct_messages 获取当前用户最新私信列表 direct_messages/sent 获取当前用户发送的最新私信列表 direct_messages/user_list 获取私信往来用户列表 direct_messages/conversation 获取与指定用户的往来私信列表 direct_messages/show_batch 批量获取私信内容 写入接口 direct_messages/new 发送一条私信 direct_messages/destroy 删除一条私信 direct_messages/destroy_batch 批量删除私信 写入接口 notice/app/send 发送一条新的或已有的第三方应用通知 读取接口 account/profile/basic 获取用户基本信息 account/profile/education 获取教育信息 *account/profile/education_batch 批量获取教育信息 account/profile/career 获取职业信息 *account/profile/career_batch 批量获取职业信息 account/get_privacy 获取隐私设置信息 account/profile/school_list 获取所有学校列表 account/rate_limit_status 获取当前用户API访问频率限制 account/get_uid OAuth授权之后获取用户UID(作用相当于旧版接口的 account/verify_credentials) 写入接口 account/profile/basic_update 更新用户基本信息 account/profile/edu_update 更新用户教育信息 account/profile/edu_destroy 删除用户教育信息 account/profile/car_update 更新用户职业信息 account/profile/car_destroy 删除用户职业信息 account/avatar/upload 上传头像 account/update_privacy 更新隐私设置 读取接口 favorites 获取当前用户的收藏列表 favorites/show 获取单条收藏信息 favorites/by_tags 获取当前用户某个标签下的收藏列表 favorites/tags 当前登录用户的收藏标签列表 写入接口 favorites/create 添加收藏 favorites/destroy 删除收藏 favorites/destroy_batch 批量删除收藏 favorites/tags/update 更新收藏标签 favorites/tags/update_batch 更新当前用户所有收藏下的指定标签 favorites/tags/destroy_batch 删除当前用户所有收藏下的指定标签 读取接口 trends 获取某人话题 trends/is_follow 是否关注某话题 trends/hourly 返回最近一小时内的热门话题 trends/daily 返回最近一天内的热门话题 trends/weekly 返回最近一周内的热门话题 写入接口 trends/follow 关注某话题 trends/destroy 取消关注的某一个话题 读取接口 tags 返回指定用户的标签列表 tags/tags_batch 批量获取用户标签 tags/suggestions 返回系统推荐的标签列表 写入接口 tags/create 添加用户标签 tags/destroy 删除用户标签 tags/destroy_batch 批量删除用户标签 读取接口 register/verify_nickname 验证昵称是否可用 搜索联想接口 search/suggestions/users 搜用户搜索建议 search/suggestions/statuses 搜微博搜索建议 search/suggestions/schools 搜学校搜索建议 search/suggestions/companies 搜公司搜索建议 search/suggestions/apps 搜应用搜索建议 search/suggestions/at_users @联想搜索 search/suggestions/integrate 综合联想搜索 搜索内容接口 search/statuses 微博搜索 search/geo/statuses 搜索指定范围内的微博 搜索用户接口 search/users 搜索用户 读取接口 suggestions/users/hot 获取系统推荐用户 suggestions/users/may_interested 获取用户可能感兴趣的人 suggestions/users/by_status 根据微博内容推荐用户 suggestions/favorites/hot 热门收藏 写入接口 suggestions/users/not_interested 不感兴趣的人 读取接口 remind/unread_count 获取当前用户未读消息数 转换接口 short_url/shorten 长链转短链 short_url/expand 短链转长链 统计接口 short_url/clicks 获取短链接的总点击数 坐标转换接口 location/geo/ip_to_geo 根据IP地址返回地理信息坐标 location/geo/address_to_geo 根据实际地址返回地理信息坐标 location/geo/geo_to_address 根据地理信息坐标返回实际地址 location/geo/gps_to_offset 根据GPS坐标获取偏移后的坐标 location/geo/is_domestic 判断地理信息坐标是否是国内坐标 OAuth 2.0接口(V2版接口将仅支持OAuth 2.0授权方式) oauth2/access_token 获取授权过的Access Token oauth2/authorize 请求用户授权Token 针对一个服务器IP的请求次数限制 最高权限: 40000次/小时 针对一个用户在使用一个应用的请求次数限制 最高权限: 总限制:单用户每应用 无限制 发微博:单用户每应用 120次/小时 发评论:单用户每应用 240次/小时 加关注:单用户每应用 240次/小时 800次/天 API V1版接口 微博基础数据接口 (Rest API) 获取下行数据集(timeline)接口 statuses/public_timeline 获取最新的公共微博消息 statuses/friends_timeline 获取当前登录用户及其所关注用户的最新微博消息 (别名: statuses/home_timeline) statuses/user_timeline 获取用户发布的微博消息列表 statuses/mentions 获取@当前用户的微博列表 statuses/comments_timeline 获取当前用户发送及收到的评论列表 statuses/comments_by_me 获取当前用户发出的评论 statuses/comments_to_me 获取当前用户收到的评论 statuses/comments 根据微博消息ID返回某条微博消息的评论列表 statuses/counts 批量获取一组微博的评论数及转发数 statuses/repost_timeline 返回一条原创微博的最新n条转发微博信息 statuses/repost_by_me 返回用户转发的最新n条微博信息 statuses/unread 获取当前用户未读消息数 statuses/reset_count 未读消息数清零接口 emotions 表情接口,获取表情列表 微博访问接口 statuses/show 根据ID获取单条微博信息内容 user/statuses/id 根据微博ID和用户ID跳转到单条微博页面 statuses/update 发布一条微博信息Updated! statuses/upload 上传图片并发布一条微博信息 statuses/destroy 删除一条微博信息 API接口及接口说明 statuses/repost 转发一条微博信息Updated! statuses/comment 对一条微博信息进行评论Updated! statuses/comment_destroy/:id 删除当前用户的微博评论信息 statuses/comment/destroy_batch 批量删除当前用户的微博评论信息 statuses/reply 回复微博评论信息Updated! 用户接口 users/show 根据用户ID获取用户资料(授权用户) *user/friends/update_define 修改用户关注对象的备注信息 statuses/friends 获取用户关注列表及每个关注用户最新一条微博 statuses/followers 获取用户粉丝列表及及每个粉丝用户最新一条微博 users/hot 获取系统推荐用户 user/friends/update_remark更新当前登录用户所关注的某个好友的备注信息 users/suggestions 返回当前用户可能感兴趣的用户 Beta! 私信接口 私信接口默认为限制接口 direct_messages 获取当前用户最新私信列表 direct_messages/sent 获取当前用户发送的最新私信列表 direct_messages/new 发送一条私信 direct_messages/destroy/:id 删除一条私信 direct_messages/destroy_batch 批量删除私信 关注接口 friendships/create 关注某用户 friendships/destroy 取消关注 friendships/exists 是否关注某用户(推荐使用friendships/show) friendships/show 获取两个用户关系的详细情况 话题接口 Beta! trends 获取某人的话题 trends/statuses 获取某一话题下的微博 trends/follow 关注某一个话题 trends/destroy 取消关注的某一个话题 trends/hourly 按小时返回热门话题 trends/daily 返回当日热门话题。 trends/weekly 返回当周热门话题。 Social Graph接口 friends/ids 获取用户关注对象uid列表 followers/ids 获取用户粉丝对象uid列表 隐私设置接口 account/update_privacy 设置隐私信息 account/get_privacy 获取隐私信息 黑名单接口 blocks/create 将某用户加入黑名单 blocks/destroy 将某用户移出黑名单 blocks/exists 检测某用户是否是黑名单用户 blocks/blocking 列出黑名单用户(输出用户详细信息) blocks/blocking/ids 列出分页黑名单用户(只输出id) 用户标签接口 tags 返回指定用户的标签列表 tags/create 添加用户标签 tags/suggestions 返回用户感兴趣的标签 tags/destroy 删除标签 tags/destroy_batch 批量删除标签 账号接口 account/verify_credentials 验证当前用户身份是否合法 account/rate_limit_status 获取当前用户API访问频率限制 account/end_session 当前用户退出登录 account/update_profile_image 更改头像 account/update_profile 更改资料 收藏接口 favorites 获取当前用户的收藏列表 favorites/create 添加收藏 favorites/destroy 删除当前用户收藏的微博信息 favorites/destroy_batch 批量删除收藏的微博信息 短链接口 short_url/shorten 将一个或多个长链接转换成短链接 short_url/expand 将一个或多个短链接还原成原始的长链接 short_url/share/counts 取得一个短链接在微博上的微博分享数(包含原创和转发的微博) short_url/share/statuses 取得包含指定单个短链接的最新微博内容 short_url/comment/counts 取得一个短链接在微博上的微博评论数 short_url/comment/comments 取得包含指定单个短链接的最新微博评论内容 登录/OAuth接口 oauth OAuth授权方式介绍 oauth/request_token 获取未授权的Request Token oauth/authorize 请求用户授权Token oauth/access_token 获取授权过的Access Token *xAuth xAuth授权方式介绍 登录/OAuth 2.0接口 OAuth2/access_token 获取授权过的Access Token Oauth2/authorize 请求用户授权Token 微博搜索 API 搜索接口默认为限制接口 用户搜索 users/search 搜索微博用户 (仅对新浪合作开发者开放) Updated! search/suggestions/at_users 在@某人时,实时获取用户名建议。亦可作关注人/粉丝搜索。 微博搜索 search 搜索微博文章 (仅对新浪合作开发者开放) statuses/search 搜索微博(多条件组合) (仅对合作开发者开放) 微博地理位置信息接口 地图引擎接口 Map-JS 是一套由JS语言编写的地图引擎,功能丰富、交互性强的地图应用 POI数据搜索接口 pois/keyword 根据关键字和(或)分类进行搜索,返回相关的poi点信息 pois/round 根据关键字和(或)分类,在中心点附近搜索,返回相关的poi点信息 pois/view 根据关键字和(或)分类,在一个矩形里进行搜索,返回相关的poi点信息 POI数据处理接口 pois/add_poi 新增POI数据 pois/get_poi 获取新增POI数据 移动定位接口 loc/get_location 根据基站、WIFI等其它数据,返回当前位置 地址转换接口 geocode/ip_to_geo 根据ip返回地理信息 geocode/address_to_geo 根据地址返回坐标的接口 geocode/geo_to_address 根据坐标返回地址信息 驾车路线搜索接口 navigation/route 驾车路线查询 公交搜索接口 bus/transfer 根据起始id或坐标搜索公交换乘路线 bus/line 线路名称搜索 bus/station 公交站点名称搜索 静态地图接口 base/get_map_image生成一个静态地图的图片 地理位置信息接口错误代码及解释 location/error 地理位置信息接口错误代码及解释 测试接口 help/test 测试接口
新浪微博接口清单
最新推荐文章于 2025-03-10 15:25:36 发布