- MoreAPI接口说明
- 更新记录
- 抖音API
- 获取视频详情POST
- 获取视频详情 V3POST
- 获取视频详情V4POST
- 获取用户信息POST
- 获取用户信息 _V2POST
- 获取用户信息 _V3POST
- 获取用户信息 _V4POST
- 获取直播间信息与视频流直链POST
- 获取视频一级评论POST
- 获取视频子评论POST
- 综合搜索POST
- 获取开放直播间用户列表POST
- 搜索话题POST
- 获取话题视频POST
- 获取视频弹幕POST
- 搜索用户POST
- 搜索用户V2POST
- 搜索用户V3POST
- 搜索直播用户POST
- 搜索直播用户V2POST
- 获取视频短连接POST
- 生成视频抖音码POST
- 获取用户主页发布POST
- 获取直播间商品列表POST
- 搜索视频POST
- 搜索音乐POST
- 获取音乐详情POST
- 获取话题详情POST
- 获取音乐相关视频POST
- 搜索视频V2POST
- 获取用户最新作品V2POST
- 获取用户合集POST
- 获取合集视频列表POST
- 搜索用户指定作品POST
- 用户喜欢的作品POST
- 搜索长尾关键词POST
- 热点讨论POST
- 获取短剧详细信息POST
- 获取短剧视频列表POST
- 获取用户短剧集POST
- 用户橱窗销售信息POST
- 获取合集信息POST
- TikTok
- Lemon8
- 快手API
- 小红书API
- 微博API
- 哔哩哔哩API
- 头条 | 西瓜 API
- 榜单API
- youtube
- cookie池
- 创作者API
获取用户信息html
开发中
正式环境
正式环境
POST
/api/xhs/user_detail_by_html
请求参数
Body 参数application/json
object {0}
示例
{
"user_id": "60b05846000000000100a06b",
"share_text": "https://www.xiaohongshu.com/user/profile/638d73a1000000001f0165ef?xhsshare=CopyLink&appuid=647478850000000012036771&apptime=1698893766"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/xhs/user_detail_by_html' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_id":"60b05846000000000100a06b",
"share_text":"https://www.xiaohongshu.com/user/profile/638d73a1000000001f0165ef?xhsshare=CopyLink&appuid=647478850000000012036771&apptime=1698893766"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
path
string
必需
data
object
必需
response_status
integer
必需
response_body
object
必需
response_headers
object
必需
示例
{
"code": 0,
"msg": "string",
"path": "string",
"data": {
"response_status": 0,
"response_body": {
"code": 0,
"success": true,
"msg": "string",
"data": {
"result": {
"message": "string",
"success": true,
"code": 0
},
"basic_info": {
"ip_location": "string",
"desc": "string",
"imageb": "string",
"nickname": "string",
"images": "string",
"red_id": "string",
"gender": 0
},
"interactions": [
{
"name": "string",
"count": "string",
"type": "string"
}
],
"tags": [
{
"icon": "string",
"tag_type": "string"
}
],
"tab_public": {
"collection": true,
"collection_note": {
"display": true,
"lock": true,
"count": 0
},
"collection_board": {
"lock": true,
"count": 0,
"display": true
}
},
"extra_info": {
"fstatus": "string",
"block_type": "string"
}
}
},
"response_headers": {
"date": "string",
"content-type": "string",
"alt-svc": "string",
"transfer-encoding": "string",
"connection": "string",
"server": "string",
"set-cookie": "string",
"content-encoding": "string",
"access-control-allow-origin": "string",
"access-control-allow-credentials": "string",
"access-control-allow-methods": "string",
"access-control-max-age": "string",
"xhs-request-time": "string",
"xhs-real-ip": "string"
}
}
}
修改于 2024-09-25 17:15:56