获取用户信息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"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
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"
}
}
}
最后修改时间: 1 个月前