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 keyword daily trend

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

PGY keyword daily trend 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 keyword daily trend API

Returns a day-by-day trend for one keyword on Xiaohongshu's PGY platform. Each row has the date, note count, user count, reads, impressions, engagement and a search score. It needs one input, search_word.

Use cases

  • Plot how interest in a product keyword such as 面膜 rises and falls from day to day.
  • Compare searchScore with noteNum to see whether search demand is growing faster than content supply.
  • Track daily impNum and readNum to pick the best days to launch a campaign around a keyword.
  • Check engageNum over time to judge how much interaction notes on a topic attract.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-daily" \
  -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": {
    "dailyData": [
      {
        "brandTag": 0,
        "cmtNum": null,
        "dateKey": "2026-08-04",
        "engageNum": 245994,
        "engageNum30bm": null,
        "favNum": null,
        "followCnt": null,
        "impNum": 36445871,
        "impNum30bm": null,
        "likeNum": null,
        "noteNum": 26704,
        "noteNum30bm": null
      }
    ]
  },
  "guid": null,
  "msg": "成功",
  "success": true
}

Response fields

FieldMeaning
data.dailyData[].dateKeyDate of the data point, in YYYY-MM-DD format.
data.dailyData[].searchScoreSearch score for the keyword on that day. It is returned as a string.
data.dailyData[].noteNumNumber of notes for the keyword on that day.
data.dailyData[].userNumNumber of users tied to the keyword on that day.
data.dailyData[].impNum / readNumImpressions and reads for the keyword on that day.
data.dailyData[].engageNumEngagement count for the keyword on that day.
data.dailyData[].cmtNum / favNum / likeNum / shareNum / followCntComment, favorite, like, share and follow counts. These were null in this response.
data.dailyData[].impNum30bm / readNum30bm / noteNum30bm / engageNum30bm / userNum30bm / searchScore30bmCompanion fields for each main metric. These were null in this response.
success / msgsuccess is true and msg is 成功 when the call works.

Notes

  • Pass the keyword in search_word. Chinese keywords such as 面膜 work.
  • The data sits in data.dailyData, one object per day, in ascending date order.
  • Several fields can be null, so check for null before you calculate with them.
  • Call Xiaohongshu PGY related keywords to find more keywords, or Xiaohongshu PGY keyword overview for a summary of one keyword.

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 keyword daily trend?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-daily 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 keyword daily trend 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 keyword daily trend 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 keyword daily trend 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 keyword daily trend 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.