Pugongying creator core data by creator id
justoneapi.x.xiaohongshu-pgypgy-kol-data-core-data-v1Retrieves Xiaohongshu Pugongying core data for a creator with business, note-type, date-range, and advertisement filters.
- Price
- $0.02214/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-pgypgy-kol-data-core-data-v1?userId=59f7c2e011be103389935c87&business=DAILY_NOTE&dateType=DAY_30¬eType=PHOTO_TEXT_AND_VIDEO&advertiseSwitch=ALLPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
userId | string | Obrigatório | KOL's user ID. | 59f7c2e011be103389935c87 |
business | string | Opcional | Business type. Available Values: - `DAILY_NOTE`: Daily notes - `COOPERATE_NOTE`: Cooperative notes One of: DAILY_NOTE, COOPERATE_NOTE. | DAILY_NOTE |
dateType | string | Opcional | 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 | string | Opcional | 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 | string | Opcional | Advertisement filter. Available Values: - `ALL`: All notes - `ORGANIC_ONLY`: Organic notes only One of: ALL, ORGANIC_ONLY. | ALL |
- Parâmetros de consulta
userIdstringObrigatórioKOL's user ID.
Exemplo:
59f7c2e011be103389935c87businessstringOpcionalBusiness type. Available Values: - `DAILY_NOTE`: Daily notes - `COOPERATE_NOTE`: Cooperative notes One of: DAILY_NOTE, COOPERATE_NOTE.
Exemplo:
DAILY_NOTEdateTypestringOpcionalTime range for data. Available Values: - `DAY_30`: Last 30 days - `DAY_90`: Last 90 days One of: DAY_30, DAY_90.
Exemplo:
DAY_30noteTypestringOpcionalType 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.
Exemplo:
PHOTO_TEXT_AND_VIDEOadvertiseSwitchstringOpcionalAdvertisement filter. Available Values: - `ALL`: All notes - `ORGANIC_ONLY`: Organic notes only One of: ALL, ORGANIC_ONLY.
Exemplo:
ALL
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-pgypgy-kol-data-core-data-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-pgypgy-kol-data-core-data-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-pgypgy-kol-data-core-data-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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.02214/success, incluindo a taxa de serviço.