Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Xiaohongshu PGY related keywords

Tài liệu API
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-related

PGY related keywords on Xiaohongshu. Returns the platform data as structured JSON.

Giá
$0.02USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Keyword
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Xiaohongshu PGY related keywords API

Returns related search keywords for a Xiaohongshu keyword, taken from the PGY (Pugongying) creator marketplace. It needs one input, search_word, and returns two lists: terms that lead into the keyword and terms that follow it.

Use cases

  • Find long-tail search terms around a product keyword such as 面膜 to plan note titles and tags.
  • Compare note volume and total reads across related terms to see which topics have the most content.
  • Spot brand-related terms by checking brandTag on each related keyword.
  • Build a keyword expansion list before pulling trend data for each term.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-related" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"search_word": "面膜"}'

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

Parameters

NameTypeRequiredDescription
search_wordstringYesKeyword

Example response

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

{
  "code": 0,
  "data": {
    "downSearchWords": [
      {
        "brandTag": 0,
        "noteNum": 93424,
        "readTotalCount": 534895518,
        "relevanceRank": 1,
        "searchScore": 2434694.0,
        "searchWord": "面膜推荐"
      }
    ],
    "upSearchWords": [
      {
        "brandTag": 0,
        "noteNum": 118837,
        "readTotalCount": 389528705,
        "relevanceRank": 1,
        "searchScore": 2537304.0,
        "searchWord": "洗面奶"
      }
    ]
  },
  "guid": null,
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data.downSearchWords[].searchWordA related keyword in the downSearchWords list. In the example these are longer terms that extend 面膜, such as 面膜推荐 and 面膜补水.
data.upSearchWords[].searchWordA related keyword in the upSearchWords list. In the example these are broader or neighboring terms such as 洗面奶, 护肤 and 身体乳.
data.downSearchWords[].relevanceRank / data.upSearchWords[].relevanceRankRank of the related keyword within its list. 1 is the first item.
data.downSearchWords[].noteNum / data.upSearchWords[].noteNumNumber of notes tied to the related keyword.
data.downSearchWords[].readTotalCount / data.upSearchWords[].readTotalCountTotal read count for the related keyword.
data.downSearchWords[].searchScore / data.upSearchWords[].searchScoreSearch score for the related keyword. Higher values mean a higher score. The scale is not documented.
data.downSearchWords[].brandTag / data.upSearchWords[].brandTagBrand flag for the keyword. All sample rows show 0. The meaning of other values is not shown.
success / msg / codeCall status. The sample shows success as true, code as 0 and msg as 成功.

Notes

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Xiaohongshu$0.02 mỗi lần gọiJSON
Xiaohongshu$0.02 mỗi lần gọiJSON
Xiaohongshu$0.02 mỗi lần gọiJSON
Xiaohongshu$0.02 mỗi lần gọiJSON
Xiaohongshu$0.02 mỗi lần gọiJSON
Xiaohongshu$0.02 mỗi lần gọiJSON

Hướng dẫn:Best Xiaohongshu API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Xiaohongshu PGY related keywords?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-related với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Xiaohongshu PGY related keywords có giá bao nhiêu?

$0.02 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Xiaohongshu PGY related keywords chấp nhận những tham số nào?

Bắt buộc: search_word (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Xiaohongshu PGY related keywords trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Xiaohongshu không?

Không. Xiaohongshu PGY related keywords chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Xiaohongshu.