Note Search

Searches Xiaohongshu (RedNote) notes by keyword with pagination plus sort, note-type, and publish-time filters. Use it to support topic research, content discovery, and monitoring keyword-related posts.

Endpoint ID
GET /v1/xiaohongshu/search_note_v2
Endpoint ID
xiaohongshu.search_note_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 —
sort Optional string Sort order for the result set. Available Values: - `general`: General - `popularity_descending`: Popularity Descending - `time_descending`: Time Descending - `comment_descending`: Comment Descending - `collect_descending`: Collect Descending general generalpopularity_descendingtime_descendingcomment_descendingcollect_descending
note_type Optional string Note type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal _0 _0_1_2
note_time Optional string Note publish time filter. Results may include notes published outside the selected time range. Available Values: - `ONE_DAY`: Within one day - `ONE_WEEK`: Within a week - `HALF_YEAR`: Within half a year ONE_DAY ONE_DAYONE_WEEKHALF_YEAR

Code samples

curl -G "https://api.mofa-ai.com/v1/xiaohongshu/search_note_v2" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'keyword=咖啡' \
  --data-urlencode 'page=1' \
  --data-urlencode 'sort=general' \
  --data-urlencode 'note_type=_0' \
  --data-urlencode 'note_time=ONE_DAY'

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 8102 ms · Request parameters {"page": "1", "sort": "general", "keyword": "咖啡", "note_time": "ONE_DAY", "note_type": "_0"}

JSON
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "xiaohongshu.search_note_v2",
  "cost_usd": 0.03,
  "data": {
    "code": 0,
    "data": {
      "items": [
        {
          "note": {
            "id": "6aefb903000000000e024d59",
            "…": "+12",
            "desc": "超高性价比咖啡液 Tims咖啡液,均价0.5 18克大容量,满足一整天的咖啡需求 追求性价比学生党必备 #咖啡液  #黑",
            "liked": false,
            "niced": false,
            "geo_info": {
              "distance": ""
            },
            "collected": false,
            "has_music": false,
            "nice_count": 0,
            "click_score": 4.694562085205689e-05,
            "images_list": [
              {
                "url": "https://sns-na-i6.xhscdn.com/1040g0083279phprfmq004bi1fb1k2b…",
                "width": 1080,
                "fileid": "1040g0083279phprfmq004bi1fb1k2b5eiucsl70",
                "height": 1920,
                "original": "",
                "trace_id": "1040g0083279phprfmq004bi1fb1k2b5eiucsl70",
                "url_size_large": "https://sns-na-i6.xhscdn.com/1040g0083279phprfmq004bi1fb1k2b…",
                "need_load_original_image": false
              }
            ],
            "liked_count": 0,
            "comments_count": 0,
            "debug_info_str": "",
            "collected_count": 0,
            "corner_tag_info": [
              {
                "icon": "",
                "text": "RAzCxtyHPNf2pkfNQR0933BL72Kksnj/uSSJtTQkgcKwsc/KZlIw5mq0gt4e…",
                "type": "ubt_sig_token",
                "style": 0,
                "text_en": "",
                "location": -1
              },
              "… +1"
            ],
            "interaction_area": {
              "text": "0",
              "type": 1,
              "status": false
            },
            "last_update_time": 0,
            "cover_image_index": 0,
            "extract_text_enabled": 0,
            "advanced_widgets_groups": {
              "groups": [
                {
                  "mode": 1,
                  "fetch_types": [
                    "guos_test",
                    "… +38"
                  ]
                },
                "… +1"
              ]
            }
          },
          "model_type": "note",
          "mix_track_id": "NOTE__6aefb903000000000e024d59__2h4muojrw6zll0cnbe7um__咖啡",
          "new_help_style": false
        },
        "… +19"
      ],
      "can_cut": false,
      "taxonomy1": "5ab094be481d26b8ef9045f1",
      "extra_info": {
        "atmosphere_v3_enable": "0"
      },
      "query_type": 0,
      "request_dqa": 0,
      "query_intent": {
        "goodsIntent": 3,
        "low_supply_intent": false,
        "search_ask_intent": true
      },
      "strategy_info": {
        "query_can_guide_to_feed": true,
        "query_average_impression_count": 19
      },
      "ai_mode_enable": false,
      "cur_cut_number": 0,
      "is_broad_query": true,
      "service_status": "{\"filter\":\"not_required\",\"note\":\"success\",\"onebox\":\"not_requ…",
      "show_single_col": false,
      "query_debug_info": {
        "is_forbidden": false
      },
      "search_request_id": "55b14e5ba89f014d",
      "request_dqa_instant": false,
      "video_intent_grade_v3": 1,
      "search_dqa_new_page_exp": 1,
      "search_pull_down_opt_exp": 1,
      "dqa_authorized_user_by_shared": false
    },
    "message": null,
    "requestId": "249dc6ce89604d8ab743acc2c67413ee",
    "recordTime": "2026-11-08T07:57:42.056713723",
    "requestParams": {
      "body": null,
      "query": {
        "page": "1",
        "sort": "general",
        "keyword": "咖啡",
        "noteTime": "ONE_DAY",
        "noteType": "_0"
      }
    }
  }
}