Pugongying note performance metrics by creator id
justoneapi.x.xiaohongshu-pgysolar-kol-datav3-notesrate-v1Retrieve Xiaohongshu Pugongying aggregate note performance metrics for a creator with business, note-type, date-range, and advertisement filters.
- Price
- $0.02214/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- 28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-pgysolar-kol-datav3-notesrate-v1?userId=59f7c2e011be103389935c87&business=DAILY_NOTE&dateType=DAY_30¬eType=PHOTO_TEXT_AND_VIDEO&advertiseSwitch=ALLPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
userId | chaîne | Obligatoire | KOL's user ID. | 59f7c2e011be103389935c87 |
business | chaîne | Facultatif | Business type. Available Values: - `DAILY_NOTE`: Daily notes - `COOPERATE_NOTE`: Cooperative notes One of: DAILY_NOTE, COOPERATE_NOTE. | DAILY_NOTE |
dateType | chaîne | Facultatif | Time range for data. Available Values: - `DAY_30`: Last 30 days - `DAY_90`: Last 90 days One of: DAY_30, DAY_90. | DAY_30 |
noteType | chaîne | Facultatif | Type of note. Available Values: - `PHOTO_TEXT_AND_VIDEO`: Photo and Video - `PHOTO_TEXT`: Photo and Text - `VIDEO`: Video only One of: PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO. | PHOTO_TEXT_AND_VIDEO |
advertiseSwitch | chaîne | Facultatif | Advertisement filter. Available Values: - `ALL`: All notes - `ORGANIC_ONLY`: Organic notes only One of: ALL, ORGANIC_ONLY. | ALL |
- Paramètres de requête
userIdchaîneObligatoireKOL's user ID.
Exemple :
59f7c2e011be103389935c87businesschaîneFacultatifBusiness type. Available Values: - `DAILY_NOTE`: Daily notes - `COOPERATE_NOTE`: Cooperative notes One of: DAILY_NOTE, COOPERATE_NOTE.
Exemple :
DAILY_NOTEdateTypechaîneFacultatifTime range for data. Available Values: - `DAY_30`: Last 30 days - `DAY_90`: Last 90 days One of: DAY_30, DAY_90.
Exemple :
DAY_30noteTypechaîneFacultatifType of note. Available Values: - `PHOTO_TEXT_AND_VIDEO`: Photo and Video - `PHOTO_TEXT`: Photo and Text - `VIDEO`: Video only One of: PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO.
Exemple :
PHOTO_TEXT_AND_VIDEOadvertiseSwitchchaîneFacultatifAdvertisement filter. Available Values: - `ALL`: All notes - `ORGANIC_ONLY`: Organic notes only One of: ALL, ORGANIC_ONLY.
Exemple :
ALL
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-pgysolar-kol-datav3-notesrate-v1?userId=59f7c2e011be103389935c87&business=DAILY_NOTE&dateType=DAY_30¬eType=PHOTO_TEXT_AND_VIDEO&advertiseSwitch=ALL' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-pgysolar-kol-datav3-notesrate-v1?userId=59f7c2e011be103389935c87&business=DAILY_NOTE&dateType=DAY_30¬eType=PHOTO_TEXT_AND_VIDEO&advertiseSwitch=ALL",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-pgysolar-kol-datav3-notesrate-v1?userId=59f7c2e011be103389935c87&business=DAILY_NOTE&dateType=DAY_30¬eType=PHOTO_TEXT_AND_VIDEO&advertiseSwitch=ALL", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.02214/success, frais de service inclus.