Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
resp["data"] 是蒲公英原样信封(含 code/msg/success),业务数据还在它里面一层data = resp["data"]["data"];下面「返回」列的字段都在这一层下data 为 null,如 ID 不存在或筛选无命中)——resp["data"] is PGY's raw envelope (with code/msg/success); the payload is one level deeperdata = resp["data"]["data"] — every field listed under "Return" lives heredata is null, e.g. ID not found or filters matched// ① 默认:日常笔记 · 近 30 日趋势
{"user_id": "5c668b3e0000000012021605"}
// ② 近 90 日
{"user_id": "5c668b3e0000000012021605", "date_type": 2}
// ③ 合作笔记口径 · 仅自然流量
{"user_id": "5c668b3e0000000012021605", "business": 1, "advertise_switch": 0}
// ④ 只看视频 · 近 90 日 · 合作笔记
{"user_id": "5c668b3e0000000012021605", "business": 1, "note_type": 2, "date_type": 2}dailyData[] 可直接画趋势图,sumData 是同区间的汇总值。date_type 变化(近 30 日约 30 个点)。Authorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/xiaohongshu/pgy/get_blogger_core_data' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"user_id": "5c668b3e0000000012021605",
"business": 0,
"note_type": 3,
"date_type": 1,
"advertise_switch": 1
}'{
"code": 200,
"request_id": "string",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "string",
"time_stamp": 0,
"time_zone": "America/Los_Angeles",
"docs": "string",
"cache_message": "string",
"cache_message_zh": "string",
"cache_url": "string",
"router": "",
"params": {},
"data": null
}