Xiaohongshu PGY content square leaderboards

Docs ↗
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/content-square

PGY content square leaderboards on Xiaohongshu. Returns the platform data as structured JSON.

Price
$0.02USD / call
Method
POST
Response
JSON
Parameters
1 required · 16 optional

Playground

Input
Leaderboard Allowed values: 1, 2, 3, 4, 5, 6, 7, 8.
Page; each board has only 100 items
Page size, 1-34
Keyword, comma-separated for batch
Sort field, empty=board default
7/14/Date window in days Allowed values: 3, 7, 14, 30.
Board 8 only Allowed values: 1, 2, 3.
Board 1 only
3/4/5/6/7/Industry, values differ per board
Content type Allowed values: 1, 2.
Content source Allowed values: 1, 2, 3, 5, 6, 11, -1.
4/5/7/Theme
Board 4 only Allowed values: 1, 2.
3/5/7/Traffic placement Allowed values: 1, 2, 3.
Board 3 only Allowed values: 3, 8.
Creator price, board 4 only
Creator fans range, board 4 only
OutputReady

Your output will appear here

Complete the inputs, then click Run.

API README

Xiaohongshu PGY content square leaderboards API

PGY content square leaderboards on Xiaohongshu. Returns the platform data as structured JSON.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/content-square" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"biz_type": 1, "page_num": 1, "page_size": 20, "date_range": 7}'

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

Parameters

NameTypeRequiredDescription
biz_typeintegerYesLeaderboard
author_typeintegerNoBoard 4 only
categorystringNoBoard 1 only
content_typeintegerNoContent source
date_rangeintegerNo7/14/Date window in days
fansobjectNoCreator fans range, board 4 only
industrystringNo3/4/5/6/7/Industry, values differ per board
marketing_targetintegerNoBoard 3 only
note_typeintegerNoContent type
order_bystringNoSort field, empty=board default
page_numintegerNoPage; each board has only 100 items
page_sizeintegerNoPage size, 1-34
placementintegerNo3/5/7/Traffic placement
priceobjectNoCreator price, board 4 only
search_wordstringNoKeyword, comma-separated for batch
sub_biz_typeintegerNoBoard 8 only
themestringNo4/5/7/Theme

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Explore more

Related APIs

All APIs
APIPriceResponse
Xiaohongshu$0.02 per callJSON
Xiaohongshu$0.02 per callJSON
Xiaohongshu$0.02 per callJSON
Xiaohongshu$0.02 per callJSON
Xiaohongshu$0.02 per callJSON
Xiaohongshu$0.02 per callJSON

Questions

FAQ

How do I use the Xiaohongshu PGY content square leaderboards API?

Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/pgy/content-square with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Xiaohongshu PGY content square leaderboards API cost?

$0.02 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Xiaohongshu PGY content square leaderboards API accept?

Required: biz_type (one of 1, 2, 3, 4, 5, 6, 7, 8). Optional: page_num (integer), page_size (integer), search_word (string), order_by (string), date_range (one of 3, 7, 14, 30) and sub_biz_type (one of 1, 2, 3) and 10 more. The Parameters table and the Playground on this page list every field.

What does the Xiaohongshu PGY content square leaderboards API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Xiaohongshu developer account or API key?

No. Xiaohongshu PGY content square leaderboards runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Xiaohongshu API access separately.