User Search

Searches Xiaohongshu (RedNote) users by keyword with page-based pagination. Use it to support creator discovery, account research, and finding profiles related to a topic, name, or brand term.

Endpoint ID
GET /v1/xiaohongshu/search_user_v2
Endpoint ID
xiaohongshu.search_user_v2
Price
$0.03 per successful call · failed calls are free

Parameters

Name Required Type Description Example Allowed values
keyword Required string Search keyword. 咖啡 —
page Optional integer Page number for pagination. 1 —

Code samples

curl -G "https://api.mofa-ai.com/v1/xiaohongshu/search_user_v2" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'keyword=咖啡' \
  --data-urlencode 'page=1'

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

Example response

Captured 2026-11-07, took 1604 ms · Request parameters {"page": "1", "keyword": "咖啡"}

JSON
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "xiaohongshu.search_user_v2",
  "cost_usd": 0.03,
  "data": {
    "code": 0,
    "data": {
      "users": [
        {
          "id": "5adf13d2e8ac2b1f6071688a",
          "desc": "小红书号:kafei0",
          "link": "xhsdiscover://1/user/user.5adf13d2e8ac2b1f6071688a",
          "name": "咖啡",
          "self": false,
          "image": "https://sns-avatar-qc.xhscdn.com/avatar/618f470309e98aa627ce5819.jpg?imageView2/2/w/360/format/webp",
          "reason": "",
          "red_id": "kafei0",
          "followed": false,
          "sub_title": "粉丝 45.6万",
          "red_official_verified": false,
          "red_official_verify_type": 0,
          "show_red_official_verify_icon": false
        },
        {
          "id": "5b5c2d084eacab026b7143c5",
          "desc": "餐饮服务",
          "link": "xhsdiscover://1/user/user.5b5c2d084eacab026b7143c5",
          "name": "白房子咖啡",
          "self": false,
          "image": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo30r3lnv001m004a7jurmgggu573sanqg?imageView2/2/w/360/format/webp",
          "reason": "",
          "red_id": "27762625426",
          "followed": false,
          "sub_title": "粉丝 14.8万",
          "red_official_verified": true,
          "red_official_verify_type": 2,
          "show_red_official_verify_icon": true
        },
        "… +18"
      ],
      "filters": [
        {
          "id": "fans_count",
          "name": "粉丝数量",
          "type": "single",
          "invisible": true,
          "filter_tags": [
            {
              "id": "all",
              "name": "不限",
              "icon_url": "",
              "origin_text": "",
              "sub_filters": null,
              "icon_tail_url": "",
              "icon_url_night": "",
              "need_location_info": false,
              "icon_tail_url_night": "",
              "sub_filters_select_type": ""
            },
            {
              "id": "0-100",
              "name": "0-100",
              "icon_url": "",
              "origin_text": "",
              "sub_filters": null,
              "icon_tail_url": "",
              "icon_url_night": "",
              "need_location_info": false,
              "icon_tail_url_night": "",
              "sub_filters_select_type": ""
            },
            "… +4"
          ],
          "group_show_type": 0,
          "word_request_id": "bff04dea3e8443a6dfb71d45ba080ba6"
        },
        {
          "id": "user_type",
          "name": "用户类型",
          "type": "single",
          "invisible": true,
          "filter_tags": [
            {
              "id": "all",
              "name": "不限",
              "icon_url": "",
              "origin_text": "",
              "sub_filters": null,
              "icon_tail_url": "",
              "icon_url_night": "",
              "need_location_info": false,
              "icon_tail_url_night": "",
              "sub_filters_select_type": ""
            },
            {
              "id": "regular_user",
              "name": "普通用户",
              "icon_url": "",
              "origin_text": "",
              "sub_filters": null,
              "icon_tail_url": "",
              "icon_url_night": "",
              "need_location_info": false,
              "icon_tail_url_night": "",
              "sub_filters_select_type": ""
            },
            "… +2"
          ],
          "group_show_type": 0,
          "word_request_id": "b2df62b8e280367bae78b396cfe0cddd"
        }
      ]
    },
    "message": null,
    "requestId": "5c33cfcf15ba42ee96f43aff83307809",
    "recordTime": "2026-11-08T07:57:37.224987539",
    "requestParams": {
      "body": null,
      "query": {
        "page": "1",
        "keyword": "咖啡"
      }
    }
  }
}