userIdstringwajib
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-kol-content-tagsContent category tags of a Xiaohongshu (RedNote) Pugongying creator by user ID, showing which subjects the creator publishes about.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
This API returns the content category tags of a Xiaohongshu (RedNote) Pugongying creator. It needs the creator's userId and returns a list of tags, each with a name such as a topic label.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-kol-content-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "5c668b3e0000000012021605"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | KOL's user ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
[
{
"createTime": null,
"id": null,
"name": "美食",
"proTag": null,
"reason": null,
"status": null,
"tagId": null,
"updateTime": null
}
]
| Field | Meaning |
|---|---|
[].name | Content category label for the creator, for example 美食 (food) or 出行旅游 (travel). Each item in the list is one tag. |
[].tagId / [].id / [].proTag | Tag identifiers and tag type fields. They are null in the sample response, so do not rely on them. |
[].createTime / [].updateTime | Tag creation and update times. They are null in the sample response. |
[].status / [].reason | Tag status and reason fields. They are null in the sample response. |
name value as the tag. The other keys can be null.userId is a 24-character hex string, for example 5c668b3e0000000012021605.userId, use Xiaohongshu Pugongying Creator Search.$0.021429 per successful call. Failed calls are not charged.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-kol-content-tags" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5c668b3e0000000012021605"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
userIdstringwajibKOL's user ID.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Xiaohongshu | $0.021429 per panggilan | JSON |
Xiaohongshu | $0.021429 per panggilan | JSON |
Xiaohongshu | $0.071429 per panggilan | JSON |
Xiaohongshu | $0.021429 per panggilan | JSON |
Xiaohongshu | $0.021429 per panggilan | JSON |
Xiaohongshu | $0.021429 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-kol-content-tags dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.021429 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: userId (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Xiaohongshu PGY Creator Content Tags berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Xiaohongshu secara terpisah.