RedNote Note Search v4

Searches Xiaohongshu (RedNote) notes through the mobile-app search flow with pagination, sorting, note-type, and time filters. Use it to support iterative topic research and filtered content discovery.

GET /v1/xiaohongshu/search_note_v4 $0.04
Price
$0.04 per successful call, Failed calls are free
Endpoint ID
xiaohongshu.search_note_v4

Parameters

  • keyword string Required

    Search keyword.

    Example咖啡

  • page integer Optional

    Page number for pagination.

    Example1

  • sort_type string Optional

    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

    Examplegeneral

  • note_type string Optional

    Note type filter.

    Available Values:

    • ALL: No Limit
    • VIDEO_NOTE: Video Note
    • NORMAL_NOTE: Normal Note

    ExampleALL

  • time_filter string Optional

    Publish time filter.

    Available Values:

    • ALL: No Limit
    • ONE_DAY: Within one day
    • ONE_WEEK: Within one week
    • HALF_YEAR: Within half a year

    ExampleALL

Code samples

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

Example response

Request parameters {"page": "1", "keyword": "咖啡", "note_type": "ALL", "sort_type": "general", "time_filter": "ALL"}

JSON Captured 2026-11-07, took 4971 ms
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "xiaohongshu.search_note_v4",
  "cost_usd": 0.04,
  "data": {
    "code": 0,
    "data": {
      "ads": [],
      "notes": [
        {
          "id": "6adb22a60000000033019f07",
          "desc": "宝子们!最近跑了好几家同行的咖啡店,挖到他们留住客人的秘诀,居然就是这几款简单又好喝的饮品配方!今天分享出来,照着调试",
          "tags": [],
          "type": "normal",
          "user": {
            "images": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo325ribgpcke6g5qloqlpkoc00kfiivf8?imageView2/2/w/80/format/jpg",
            "red_id": "18450743865",
            "userid": "6ab8d5730000000013003000",
            "followed": false,
            "nickname": "☕☕☕Callie",
            "red_official_verified": false
          },
          "liked": false,
          "niced": false,
          "title": "月入2w咖啡店老板私藏配方大公开",
          "geo_info": {
            "distance": ""
          },
          "collected": false,
          "has_music": false,
          "timestamp": 1792746150,
          "images_list": [
            {
              "url": "https://sns-na-i2.xhscdn.com/notes_pre_post/1040g3k0326lm68v7566g5qloqlpkoc001mdeqmg?imageView2/2/w/608/format/heif/q/56…",
              "width": 1279,
              "fileid": "notes_pre_post/1040g3k0326lm68v7566g5qloqlpkoc001mdeqmg",
              "height": 1706,
              "original": "",
              "trace_id": "notes_pre_post/1040g3k0326lm68v7566g5qloqlpkoc001mdeqmg",
              "url_size_large": "https://sns-na-i2.xhscdn.com/notes_pre_post/1040g3k0326lm68v7566g5qloqlpkoc001mdeqmg?imageView2/2/w/1440/format/heif/q/4…",
              "need_load_original_image": false
            },
            "… +4"
          ],
          "liked_count": 483,
          "shared_count": 104,
          "comments_count": 8,
          "collected_count": 539,
          "last_update_time": 0
        },
        "… +19"
      ],
      "total": 20,
      "api_info": {
        "code": 10200,
        "message": "成功",
        "search_id": "2h4mval1ivyjnrg2z1s74",
        "session_id": "2h4mval1j96gmrdpkoxkw"
      },
      "has_more": true,
      "statistics": {
        "ads_count": 0,
        "note_count": 20,
        "total_items": 20,
        "video_count": 0,
        "recommend_count": 0
      },
      "search_meta": {
        "can_cut": false,
        "query_type": null,
        "strategy_info": {
          "query_can_guide_to_feed": true,
          "query_average_impression_count": 19
        },
        "is_broad_query": true,
        "show_single_col": false
      },
      "recommend_queries": []
    },
    "message": null,
    "requestId": "0e37ae8b4f23451aa955e9aa042383fa",
    "recordTime": "2026-11-08T07:57:38.953932996",
    "requestParams": {
      "body": null,
      "query": {
        "page": "1",
        "keyword": "咖啡",
        "noteType": "ALL",
        "sortType": "general",
        "timeFilter": "ALL"
      }
    }
  }
}

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

More RedNote endpoints

  • Ask Dots AI

    $0.10

    Queries Xiaohongshu (RedNote) Ask Dots AI with a keyword question. Use it to retrieve an AI answer for topic research and question exploration.

    /v1/xiaohongshu/ask_dots_v1

  • Hot Search

    $0.03

    Searches Xiaohongshu (RedNote) hot-content entries with optional keyword, content-category path, pagination, ranking metric, and time-range controls. Use it…

    /v1/xiaohongshu/hot_search_v1

  • Note Search v2

    $0.03

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

    /v1/xiaohongshu/search_note_v2

  • User Search

    $0.03

    Searches Xiaohongshu (RedNote) users by keyword with page-based pagination. Use it to support creator discovery, account research, and finding profiles relat…

    /v1/xiaohongshu/search_user_v2

  • User Published Notes

    $0.03

    Retrieves notes published by a Xiaohongshu (RedNote) user, accepting a user ID or supported profile URL and a cursor for pagination. Use it to support creato…

    /v1/xiaohongshu/get_user_note_list_v4

  • Note Details v1

    $0.03

    Retrieves Xiaohongshu (RedNote) details for a note identified by a note ID or supported explore URL. Use it to perform direct note lookup and content review…

    /v1/xiaohongshu/get_note_detail_v1

  • Note Details v6

    $0.03

    Retrieves Xiaohongshu (RedNote) video-note details by note ID. Use it to look up and process a known video note.

    /v1/xiaohongshu/get_note_detail_v6

  • Note Comments

    $0.03

    Retrieves comments for a Xiaohongshu (RedNote) note with cursor pagination and normal, latest, or like-count sorting. Use it to support feedback review, disc…

    /v1/xiaohongshu/get_note_comment_v2

  • Comment Replies

    $0.03

    Retrieves replies to a specific Xiaohongshu (RedNote) note comment with cursor pagination. Use it to inspect threaded discussions and continue through reply…

    /v1/xiaohongshu/get_note_sub_comment_v2

  • User Profile

    $0.03

    Retrieves a Xiaohongshu (RedNote) user profile from a user ID or supported profile URL. Use it to support creator discovery, account research, and reviewing…

    /v1/xiaohongshu/get_user_v3

  • Keyword Suggestions

    $0.03

    Returns Xiaohongshu (RedNote) search keyword suggestions for a submitted seed term. Use it to expand query sets, refine content-research searches, and plan S…

    /v1/xiaohongshu/search_recommend_v1

  • Topic Note List

    $0.03

    Retrieves Xiaohongshu (RedNote) notes associated with a topic ID, with hot or latest sorting and cursor pagination. Use it to support topic content discovery…

    /v1/xiaohongshu/get_topic_note_list_v1

  • Share Link Resolution

    $0.03

    Resolve a supported Xiaohongshu (RedNote) short share link and return its public redirect URL. Use it to expand shared links before subsequent Xiaohongshu co…

    /v1/xiaohongshu/share_url_transfer_v1

↑↓ to move, Enter to open, Esc to close