Get Xiaohongshu PGY note blogger square
TikHub tool tikhub-api-xiaohongshu-pgy-get-blogger-list on looot: input fields, $0.02 per call, output shape, and code to run it with curl, JavaScript or Python.
Searches Xiaohongshu note bloggers on the Pugongying (PGY) blogger square, with about 60 filters in 7 groups. Send keyword (empty to filter only), search_type, column (34 sort fields) and sort; similar_user_id finds similar bloggers and works with the filters. Each result has about 140 fields such as price and median reads.
- Tool id:
tikhub-api-xiaohongshu-pgy-get-blogger-list - Provider: TikHub
- Job: Get blogger list api xiaohongshu pgy (
api.xiaohongshu.pgy.get-blogger-list) - Price: $0.02 per call. A call that fails at the provider costs $0.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
blogger |
string | no | Blogger attribute filters |
brand_user_id |
string | no | Brand user ID, optional. |
column |
string | no | Sort column, 34 options, see endpoint docs. Example: “comprehensiverank” |
coop |
string | no | Sponsored note metric filters |
fans |
string | no | Fans profile filters |
flags |
string | no | Boolean flag filters |
goal |
string | no | Cooperation goal filters |
keyword |
string | no | Keyword. Example: “咖啡” |
live |
string | no | Live metric filters |
note |
string | no | Organic note metric filters |
page_num |
integer | no | Page, 1-250. Example: 1 |
page_size |
integer | no | Page size, 1-20. Example: 20 |
search_type |
integer | no | Search mode. Example: 1 |
similar_user_id |
string | no | Find similar bloggers; unlike /get_blogger_similar it can be combined with all filters below. |
similar_word |
string | no | Nickname echo for similar_user_id; does not affect results |
sort |
string | no | asc. Example: “desc” |
Output
The run’s result holds the provider’s answer. Signed in, looot inspect tikhub-api-xiaohongshu-pgy-get-blogger-list prints its fields.
Run it
Every call needs your API token in LOOOT_TOKEN; Sign in shows how to get one. Each run also needs a new idempotency key, so a retry never pays twice. With wait: 30 the answer comes back inline when the run ends within 30 seconds. Otherwise you get the running run back: poll GET /v1/runs/<runId>.
Example input with placeholder values:
curl -X POST "https://api.looot.ai/v1/runs" \
-H "Authorization: Bearer $LOOOT_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"endpointId":"tikhub-api-xiaohongshu-pgy-get-blogger-list","input":{"sort":"desc","column":"comprehensiverank","keyword":"咖啡","page_num":1,"page_size":20,"search_type":1,"brand_user_id":"<brand_user_id>","similar_user_id":"<similar_user_id>"},"wait":30}'const response = await fetch("https://api.looot.ai/v1/runs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.LOOOT_TOKEN}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
endpointId: "tikhub-api-xiaohongshu-pgy-get-blogger-list",
input: {
sort: "desc",
column: "comprehensiverank",
keyword: "咖啡",
page_num: 1,
page_size: 20,
search_type: 1,
brand_user_id: "<brand_user_id>",
similar_user_id: "<similar_user_id>",
},
wait: 30,
}),
});
const run = await response.json();
console.log(run.status, run.result);import os
import uuid
import requests
response = requests.post(
"https://api.looot.ai/v1/runs",
headers={
"Authorization": f"Bearer {os.environ['LOOOT_TOKEN']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"endpointId": "tikhub-api-xiaohongshu-pgy-get-blogger-list",
"input": {
"sort": "desc",
"column": "comprehensiverank",
"keyword": "咖啡",
"page_num": 1,
"page_size": 20,
"search_type": 1,
"brand_user_id": "<brand_user_id>",
"similar_user_id": "<similar_user_id>",
},
"wait": 30,
},
timeout=90,
)
run = response.json()
print(run["status"], run.get("result"))To let looot pick among every provider of this job instead, send job:api.xiaohongshu.pgy.get-blogger-list as endpointId; see the job page.