Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Xiaohongshu (RED) Note Search

เอกสาร API
https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-notes

Search Xiaohongshu (RED / Little Red Book) notes by keyword and get titles, authors, cover images and like, collect, comment and share counts, with sort, note-type and time filters.

ราคา
$0.01USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 8 ไม่บังคับ

Playground

อินพุต
Search keyword
AI mode, 0=off, 1=on
Note type filter
Page number, start from 1
Search ID, pass value from first search response for pagination
Search session ID, pass value from first search response for pagination
Sort type
Source, default "explore_feed"
Time filter
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 21.7 KB · 448 บรรทัด
[
  {
    "data": {
      "code": 0,
      "data": {
        "ai_mode_enable": false,
        "can_cut": false,
        "cur_cut_number": 0,
        "dqa_authorized_user_by_shared": false,
        "dqa_instant_sid": "d0KrngIV2V",
        "is_broad_query": true,
        "items": [
          {
            "mix_track_id": "NOTE__6a818c80000000003302c0c4__ee63929105554d24__OpenAI",
            "model_type": "note",
            "new_help_style": false,
            "note": {
              "advanced_widgets_groups": {
                "groups": [
                  {
                    "fetch_types": [
                      "guos_test",
                      "note_next_step",
                      "second_jump_bar",
                      "… 31 more items in the full response"
                    ],
                    "mode": 1
                  },
                  {
                    "fetch_types": [
                      "guos_test",
                      "vote_stickers",
                      "bullet_comment_lead",
                      "… 12 more items in the full response"
                    ],
                    "mode": 0
                  }
                ]
              },
              "click_score": 0.23010969161987305,
              "collected": false,
              "collected_count": 4,
              "comments_count": 0,
              "corner_tag_info": [
                {
                  "icon": "",
                  "location": -1,
                  "style": 0,
                  "text": "RAGQ9cSiIlL40KiG/B2+BeCOL641ik4+WFewIeW4v+4h8kYBxvlzLGKcryvYmDsf1zV0dJxPUWxZF8s8ePIP7NoMa1j7TzlIdd",
                  "text_en": "",
                  "type": "ubt_sig_token"
                }
              ],
              "cover_image_index": 0,
              "debug_info_str": "",
              "desc": "全球顶级生成式AI巨头扩招,总部核心AppliedAI团队加码旧金山湾区,定向面向美本美硕在读开放岗位,项目经历匹配者优",
              "extract_text_enabled": 0,
              "geo_info": {
                "distance": ""
              },
              "has_music": false,
              "id": "6a818c80000000003302c0c4",
              "images_list": [
                {
                  "fileid": "notes_pre_post/1040g3k8323u6jcmt7acg5qftbbbg8v00gjiil80",
                  "height": 1410,
                  "need_load_original_image": false,
                  "original": "",
                  "trace_id": "notes_pre_post/1040g3k8323u6jcmt7acg5qftbbbg8v00gjiil80",
                  "url": "https://sns-na-i11.xhscdn.com/notes_pre_post/1040g3k8323u6jcmt7acg5qftbbbg8v00gjiil80?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=5&sc=SRH_PRV&sign=5ba3099e14215a8ac40b0392d41e58fb&t=6a86cbb8",
                  "url_size_large": "https://sns-na-i11.xhscdn.com/notes_pre_post/1040g3k8323u6jcmt7acg5qftbbbg8v00gjiil80?imageView2/2/w/1440/format/webp&ap=5&sc=SRH_DTL&sign=5ba3099e14215a8ac40b0392d41e58fb&t=6a86cbb8",
                  "width": 1116
                }
              ],
              "interaction_area": {
                "status": false,
                "text": "6",
                "type": 1
              },
              "last_update_time": 0,
              "liked": false,
              "liked_count": 6,
              "nice_count": 0,
              "niced": false,
              "note_attributes": [],
              "result_from": "",
              "shared_count": 4,
              "tag_info": {
                "title": "",
                "type": ""
              },
              "timestamp": 1786903920,
              "title": "🇺🇸OpenAI湾区:We're hiring",
              "type": "normal",
              "update_time": 1786903920000,
              "user": {
                "followed": false,
                "images": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo323fqddc0nu6g5qftbbbg8v00bietpj8?imageView2/2/w/80/format/jpg",
                "nickname": "Delia",
                "red_id": "49338218856",
                "red_official_verified": false,
                "red_official_verify_type": 0,
                "show_red_official_verify_icon": false,
                "track_duration": 0,
                "userid": "69fd5ad70000000001007c00"
              },
              "widgets_context": "{\"flags\":{},\"author_id\":\"69fd5ad70000000001007c00\",\"author_name\":\"Delia\"}",
              "xsec_token": "YBOAIA50BFzVbnly2rjKCrOFV8EqhxEJBum7g0VIzKjCE="
            }
          },
          {
            "mix_track_id": "NOTE__6a6c688000000000060041d4__ee63929105554d24__OpenAI",
            "model_type": "note",
            "new_help_style": false,
            "note": {
              "advanced_widgets_groups": {
                "groups": [
                  {
                    "fetch_types": [
                      "guos_test",
                      "note_next_step",
                      "second_jump_bar",
                      "… 31 more items in the full response"
                    ],
                    "mode": 1
                  },
                  {
                    "fetch_types": [
                      "guos_test",
                      "vote_stickers",
                      "bullet_comment_lead",
                      "… 12 more items in the full response"
                    ],
                    "mode": 0
                  }
                ]
              },
              "click_score": 0.20319239795207977,
              "collected": false,
              "collected_count": 67,
              "comments_count": 44,
              "corner_tag_info": [
                {
                  "icon": "",
                  "location": -1,
                  "style": 0,
                  "text": "RAdtYqP8ddxjXPPOtHPLpDF4OiFFf1ysWmnF3GtJfTH3em2TtOsaWjbphXbc4E+m2xOain3B6jB80A0EQGAn1eUXL9MAD6ecyk",
                  "text_en": "",
                  "type": "ubt_sig_token"
                }
              ],
              "cover_image_index": 0,
              "debug_info_str": "",
              "desc": "🇺🇸刚结束OpenAI Machine Learning Engineer面试,最大的感受是:这场面试考察的并不是会",
              "extract_text_enabled": 0,
              "geo_info": {
                "distance": ""
              },
              "has_music": false,
              "id": "6a6c688000000000060041d4",
              "images_list": [
                {
                  "fileid": "spectrum/1040g34o3239hvpqj701g5pon4eqne2i9a7t4538",
                  "height": 1447,
                  "need_load_original_image": false,
                  "original": "",
                  "trace_id": "spectrum/1040g34o3239hvpqj701g5pon4eqne2i9a7t4538",
                  "url": "https://sns-na-i11.xhscdn.com/spectrum/1040g34o3239hvpqj701g5pon4eqne2i9a7t4538?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=5&sc=SRH_PRV&sign=120f934430919b7e825be4ebaff4a07f&t=6a86cbb8",
                  "url_size_large": "https://sns-na-i11.xhscdn.com/spectrum/1040g34o3239hvpqj701g5pon4eqne2i9a7t4538?imageView2/2/w/1440/format/webp&ap=5&sc=SRH_DTL&sign=120f934430919b7e825be4ebaff4a07f&t=6a86cbb8",
                  "width": 1087
                },
                {
                  "fileid": "spectrum/1040g0k03239hvt6v70005pon4eqne2i9a3v5un8",
                  "height": 1660,
                  "need_load_original_image": false,
                  "original": "",
                  "trace_id": "spectrum/1040g0k03239hvt6v70005pon4eqne2i9a3v5un8",
                  "url": "",
                  "url_size_large": "https://sns-na-i11.xhscdn.com/spectrum/1040g0k03239hvt6v70005pon4eqne2i9a3v5un8?imageView2/2/w/1440/format/webp&ap=5&sc=SRH_DTL&sign=f8a11a9101758948184f134624a44af3&t=6a86cbb8",
                  "width": 1242
                }
              ],
              "interaction_area": {
                "status": false,
                "text": "80",
                "type": 1
              },
              "last_update_time": 0,
              "liked": false,
              "liked_count": 80,
              "nice_count": 0,
              "niced": false,
              "note_attributes": [],
              "result_from": "",
              "shared_count": 21,
              "tag_info": {
                "title": "",
                "type": ""
              },
              "timestamp": 1785489536,
              "title": "我发现我真的很会面OpenAI的MLE(已上岸",
              "type": "normal",
              "update_time": 1785846718000,
              "user": {
                "followed": false,
                "images": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31joi7ebm3q6g5pon4eqne2i96v6tsg0?imageView2/2/w/80/format/jpg",
                "nickname": "Ida Career",
                "red_id": "63034691881",
                "red_official_verified": false,
                "red_official_verify_type": 0,
                "show_red_official_verify_icon": false,
                "track_duration": 0,
                "userid": "671723b5000000001d030a49"
              },
              "widgets_context": "{\"flags\":{},\"author_id\":\"671723b5000000001d030a49\",\"author_name\":\"Ida Career\"}",
              "xsec_token": "YBH5CLeaPIJNlWaDfqwrlDrR8kEC56KxBV5LfA17zFx6c="
            }
          },
          {
            "mix_track_id": "NOTE__6a754bb60000000032022710__ee63929105554d24__OpenAI",
            "model_type": "note",
            "new_help_style": false,
            "note": {
              "advanced_widgets_groups": {
                "groups": [
                  {
                    "fetch_types": [
                      "guos_test",
                      "note_next_step",
                      "second_jump_bar",
                      "… 31 more items in the full response"
                    ],
                    "mode": 1
                  },
                  {
                    "fetch_types": [
                      "guos_test",
                      "vote_stickers",
                      "bullet_comment_lead",
                      "… 12 more items in the full response"
                    ],
                    "mode": 0
                  }
                ]
              },
              "click_score": 0.1785041242837906,
              "collected": false,
              "collected_count": 18,
              "comments_count": 8,
              "corner_tag_info": [
                {
                  "icon": "",
                  "location": -1,
                  "style": 0,
                  "text": "RArWzbbwEbnsPXc17619r/IqG1QXrIK/Koi2bSK9rMUi1neeySfUcOIWr5qzYs9VpT2cmZRDrJAHDPTc1jvZrLisWgzNYpbTQx",
                  "text_en": "",
                  "type": "ubt_sig_token"
                }
              ],
              "cover_image_index": 0,
              "debug_info_str": "",
              "desc": "我:终于又来贵司蹭饭了! 朋友:你不是天天研究OpenAI吗? 我:研究模型和研究食堂能一样吗👀 上次来感觉OpenA",
              "extract_text_enabled": 0,
              "geo_info": {
                "distance": ""
              },
              "has_music": false,
              "id": "6a754bb60000000032022710",
              "images_list": [
                {
                  "fileid": "notes_pre_post/1040g3k0323i7ng2t724g49metfhpp63ru9ollpg",
                  "height": 2560,
                  "need_load_original_image": false,
                  "original": "",
                  "trace_id": "notes_pre_post/1040g3k0323i7ng2t724g49metfhpp63ru9ollpg",
                  "url": "https://sns-na-i11.xhscdn.com/notes_pre_post/1040g3k0323i7ng2t724g49metfhpp63ru9ollpg?imageView2/2/w/576/format/webp/q/87%7CimageMogr2/strip&redImage/frame/0&ap=5&sc=SRH_PRV&sign=6ee2ff4142af58fb091c36a07078c247&t=6a86cbb8",
                  "url_size_large": "https://sns-na-i11.xhscdn.com/notes_pre_post/1040g3k0323i7ng2t724g49metfhpp63ru9ollpg?imageView2/2/w/1440/format/webp&ap=5&sc=SRH_DTL&sign=6ee2ff4142af58fb091c36a07078c247&t=6a86cbb8",
                  "width": 1920
                },
                {
                  "fileid": "notes_pre_post/1040g3k0323i7ng2t726049metfhpp63r50lja4g",
                  "height": 1636,
                  "need_load_original_image": false,
                  "original": "",
                  "trace_id": "notes_pre_post/1040g3k0323i7ng2t726049metfhpp63r50lja4g",
                  "url": "",
                  "url_size_large": "https://sns-na-i11.xhscdn.com/notes_pre_post/1040g3k0323i7ng2t726049metfhpp63r50lja4g?imageView2/2/w/1440/format/webp&ap=5&sc=SRH_DTL&sign=38ff606d1db9704b950706c47b2012db&t=6a86cbb8",
                  "width": 1180
                },
                {
                  "fileid": "notes_pre_post/1040g3k0323i7ng2t727049metfhpp63rlf2p5r8",
                  "height": 4877,
                  "need_load_original_image": false,
                  "original": "",
                  "trace_id": "notes_pre_post/1040g3k0323i7ng2t727049metfhpp63rlf2p5r8",
                  "url": "",
                  "url_size_large": "https://sns-na-i11.xhscdn.com/notes_pre_post/1040g3k0323i7ng2t727049metfhpp63rlf2p5r8?imageView2/2/w/1440/format/webp&ap=5&sc=SRH_DTL&sign=c887bd218aef0dde891c97b1dbd78396&t=6a86cbb8",
                  "width": 3658
                },
                "… 4 more items in the full response"

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Xiaohongshu (RED) Note Search API

Search Xiaohongshu (RedNote) notes by keyword, with sorting, note type and time filters. Each note comes with title, text, author, likes, saves, comments and shares, and an observed xsec_token field. Check the selected follow-up endpoint for its actual inputs.

Use cases

  • Research what users say about a product or brand on Xiaohongshu.
  • Find popular notes for a keyword sorted by likes or recency.
  • Collect note IDs for detail and comment APIs.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-notes" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "OpenAI"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword
ai_modeintegerNoAI mode, 0=off, 1=on
note_typestringNoNote type filter
pageintegerNoPage number, start from 1
search_idstringNoSearch ID, pass value from first search response for pagination
search_session_idstringNoSearch session ID, pass value from first search response for pagination
sort_typestringNoSort type
sourcestringNoSource, default "explore_feed"
time_filterstringNoTime filter

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": {
    "items": [
      {
        "model_type": "note",
        "note": {
          "id": "68417e340000000012005009",
          "title": "在OpenAI工作一年是什么体验?",
          "desc": "今天是Kay在@openai一周年纪念日。就像所有美好的事物一样,感觉就像一辈子那么长,又像只有一周那么长。 在过去的一",
          "type": "normal",
          "liked_count": 1710,
          "collected_count": 436,
          "comments_count": 45,
          "shared_count": 63,
          "timestamp": 1749122612,
          "xsec_token": "YBInGnHNhG3Mpg74EPpAit_uooczsdD7_5qKSMlc2sqWE=",
          "user": {
            "nickname": "科技漫步者",
            "userid": "60c73fb9000000000101fef2"
          }
        }
      }
    ]
  }
}

Response fields

FieldMeaning
data.items[].note.idNote ID.
data.items[].note.title / descTitle and text.
data.items[].note.typenormal (image) or video.
data.items[].note.liked_count / collected_count / comments_count / shared_countEngagement counts.
data.items[].note.userAuthor nickname and userid.
data.items[].note.xsec_tokenToken observed in this search response. The selected app-v2/note-comments schema does not declare this input; inspect each follow-up variant separately.

Notes

  • Pages start at 1. Pass the search_id from the first response when you request page 2 and later.
  • sort_type and time_filter follow the app's options.

Pricing

$0.01 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.

Search one page of public notes

Use Note Search for a topic or product keyword, not a known note identifier. Begin with page 1 and empty search_id and search_session_id. The current defaults are ai_mode 0, sort_type general, source explore_feed, and the literal value 不限 for note_type and time_filter. Keep those defaults unless the exact endpoint reference supports the alternative you need; this guide does not invent filter enums or start an AI analysis step.

The observed data.items array may contain different card types. Confirm model_type and the nested note before treating a card as a note. Review relevance and note type manually; likes and saves from a search sample do not establish market demand, a stable ranking or sales. Do not automatically choose the highest-liked result and fetch its details or comments.

Have already selected a note? Use Note Comments as a separate first request. The search reference includes xsec_token in a note card, but the selected app-v2/note-comments input schema does not declare an xsec_token parameter. Do not invent that parameter or treat a returned token as your SandBase API key.

Later search pages require the matching search_id and search_session_id according to the current descriptions. This first-request guide does not revalidate continuation or reuse identifiers across different keywords.

Give your agent one research question

Already have a SandBase key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for the POST /v1/api/ route and Bearer authentication. For an agent already connected, provide the exact endpoint and your keyword or known note identifier. Starting a project? Give the agent the setup Skill, Markdown quickstart and your task, then ask for one request with a saved response.

Read outputs[0].data from a completed SandBase response. The selected app-v2 reference samples use integer code 0; the comments sample also carries success: true. Validate the provider result and expected data.items or data.comments array. Do not turn a provider error or missing array into an empty result. Empty arrays and missing fields mean different things, and missing engagement counts are not zero.

Pricing checked on 2026-11-08: both endpoints list $0.01 per call and eligibility for 100 daily data API calls shared across eligible APIs in the organization, resetting at 00:00 UTC. Eligibility does not establish remaining allowance. Review current pricing and quota before running. No new business query was made for this update. See the Xiaohongshu Python first-request guide for bounded examples and separately dated historical research.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON
Xiaohongshu$0.01 ต่อการเรียกJSON

คู่มือ:Best Xiaohongshu API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Xiaohongshu (RED) Note Search API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-notes โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Xiaohongshu (RED) Note Search API ราคาเท่าไร?

$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Xiaohongshu (RED) Note Search API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: keyword (string). ตัวเลือก: ai_mode (integer), note_type (string), page (integer), search_id (string), search_session_id (string) และ sort_type (string) และอีก 2 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Xiaohongshu (RED) Note Search API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Xiaohongshu ไหม?

ไม่จำเป็น Xiaohongshu (RED) Note Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Xiaohongshu API แยกต่างหาก

คำขอค้นหาด้วยคีย์เวิร์ดครั้งแรกควรมีอะไรบ้าง

ใช้ keyword ที่ไม่ว่าง page 1 และ search_id/search_session_id ว่าง ค่าเริ่มต้นปัจจุบันรวม ai_mode 0 และ sort_type general ไว้ คงค่าเริ่มต้นที่ระบุไว้ตามเอกสาร อย่าสร้างค่าตัวกรองขึ้นเอง คู่มือนี้ทำเพียงหนึ่งคำขอ และไม่ได้เปิดผลลัพธ์หรือรันการวิเคราะห์โดยอัตโนมัติ

ผลการค้นหายืนยันความนิยมหรือยอดขายหรือไม่

ไม่ใช่ ผลลัพธ์ที่สังเกตได้มีการ์ด note และอาจมีการ์ดประเภทอื่น ตรวจสอบ relevance, model_type และ note type ก่อนนำไปใช้ ตัวนับ engagement ที่ส่งกลับมาเป็นตัวอย่างจากช่วงเวลาหนึ่ง ค่า count ที่หายไปยังคงไม่ทราบ และตัวอย่างจากการค้นหาไม่ใช่อันดับทั่วทั้งตลาดหรือการวัดยอดขาย

ต้องส่ง xsec_token ที่ส่งกลับมาไปยัง Note Comments หรือไม่

schema app-v2/note-comments ที่เลือกไม่มีพารามิเตอร์ xsec_token ตรวจสอบ endpoint นั้นโดยตรงและใช้ note_id หรือ input share_text ที่รองรับ พร้อมการยืนยันตัวตนแบบ SandBase Bearer อย่าเพิ่มฟิลด์ที่ไม่ได้ระบุในเอกสารหรือใช้ note token ที่ส่งกลับมาแทน API key ของคุณ