Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Xiaohongshu Pugongying Content Square Notes

Dokumentacja API
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/content-square-search-note-v2

Search Xiaohongshu Pugongying Content Square notes by keyword or browse all notes, with business-category, ranking, time-window, and page controls. Use it to discover high-performing campaign content.

Cena
$0.021429USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 5 opcjonalnych

Playground

Wejście
Keyword for note search. Empty string searches all notes.
Page number for results.
Business category.
Ranking metric.
Time range in days.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Xiaohongshu Pugongying Content Square Notes API

This API returns a page of notes from the Xiaohongshu Pugongying Content Square. Each result has note engagement counts, note images, and the author's profile summary. All inputs are optional. Send searchWord to filter by keyword, or leave it empty to browse all notes.

Use cases

  • Find the most liked or saved notes for a keyword to study what content works in a product category.
  • Rank notes by a metric such as premium_engage_num over the last 7 or 30 days to spot campaign content that is gaining traction.
  • Collect author userId values from top notes to build a list of creators to review.
  • Compare note formats by checking image count and image size across top-ranked notes.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/content-square-search-note-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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

Parameters

NameTypeRequiredDescription
bizTypestringNoBusiness category.
ndstringNoTime range in days.
orderBystringNoRanking metric.
pageNumintegerNoPage number for results.
searchWordstringNoKeyword for note search. Empty string searches all notes.

Example response

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

{
  "noteList": [
    {
      "noteInfo": {
        "bindType": 4,
        "bizType": 0,
        "cmtNum": 489,
        "favNum": 3285,
        "isAdNote": 0,
        "likeNum": 56359,
        "noteId": "6ae00b99000000001200a9f9",
        "noteImages": [
          {
            "imageHeight": 2400,
            "imageUrl": "http://ci.xiaohongshu.com/spectrum/1040g34o326qfkfqpl8105p5oj0ol6up1kacjbf8?imag…",
            "imageWidth": 1440
          }
        ]
      },
      "userInfo": {
        "avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31qobul3rgm005p5oj0ol6up1tu11gg8…",
        "currentLevel": 0,
        "fansNum": 567283,
        "nickName": "潇湘晨报",
        "userId": "64b898310000000014037b21",
        "userType": 1
      }
    }
  ],
  "pageInfoDto": {
    "pageNum": 1,
    "pageSize": 10,
    "total": 100,
    "totalPage": 0
  },
  "total": 100
}

Response fields

FieldMeaning
noteList[].noteInfo.noteIdID of the note. Pass it to a note detail API for more data.
noteList[].noteInfo.likeNum / favNum / cmtNumLike, favorite and comment counts for the note.
noteList[].noteInfo.noteImages[].imageUrlURL of one image in the note.
noteList[].noteInfo.noteImages[].imageWidth / imageHeightWidth and height of that image.
noteList[].noteInfo.isAdNoteAd flag for the note. The sample values are 0.
noteList[].userInfo.userIdID of the note's author.
noteList[].userInfo.nickNameDisplay name of the author.
noteList[].userInfo.fansNumFollower count of the author.
pageInfoDto.pageNum / pageSizeCurrent page number and the number of notes per page.
totalTotal number of matching notes reported for the query.

Notes

  • Use pageNum to move through results. The sample response shows pageSize of 10.
  • pageInfoDto.totalPage returned 0 in the sample even though total was 100, so rely on total and pageSize to work out the page count.
  • Take noteList[].noteInfo.noteId to Xiaohongshu Pugongying Note Details for a single note.
  • Take noteList[].userInfo.userId to Xiaohongshu Pugongying Creator Profile to look at the author.

Pricing

$0.021429 per successful call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Xiaohongshu$0.021429 za wywołanieJSON
Xiaohongshu$0.021429 za wywołanieJSON
Xiaohongshu$0.071429 za wywołanieJSON
Xiaohongshu$0.021429 za wywołanieJSON
Xiaohongshu$0.021429 za wywołanieJSON
Xiaohongshu$0.021429 za wywołanieJSON

Przewodniki:Best Xiaohongshu API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Xiaohongshu Pugongying Content Square Notes?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/content-square-search-note-v2 z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Xiaohongshu Pugongying Content Square Notes?

$0.021429 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Xiaohongshu Pugongying Content Square Notes?

Nie są wymagane żadne parametry. Opcjonalne: searchWord (string), pageNum (integer), bizType (jedna z opcji: XIAOHONGSHU_HOT, PRODUCT_SEEDING, ECOMMERCE_PROMOTION, PUGONGYING_COOPERATION, LEAD_COLLECTION, ECOMMERCE_HOT, SEEDING_DIRECT, APP_PROMOTION), orderBy (jedna z opcji: premium_imp_num, premium_good_read_rate, premium_read_num, premium_engage_num, premium_engage_rate, premium_like_num, premium_fav_num, premium_cmt_num) i nd (jedna z opcji: DAY_3, DAY_7, DAY_14, DAY_30). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Xiaohongshu Pugongying Content Square Notes?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Xiaohongshu lub klucza API?

Nie. Xiaohongshu Pugongying Content Square Notes działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Xiaohongshu.