Get PGY blogger core data trend
curl --request POST \
--url https://api.aisa.one/apis/v1/tikhub/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
}
'import requests
url = "https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data"
payload = {
"user_id": "5c668b3e0000000012021605",
"business": 0,
"note_type": 3,
"date_type": 1,
"advertise_switch": 1
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user_id: '5c668b3e0000000012021605',
business: 0,
note_type: 3,
date_type: 1,
advertise_switch: 1
})
};
fetch('https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'user_id' => '5c668b3e0000000012021605',
'business' => 0,
'note_type' => 3,
'date_type' => 1,
'advertise_switch' => 1
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data"
payload := strings.NewReader("{\n \"user_id\": \"5c668b3e0000000012021605\",\n \"business\": 0,\n \"note_type\": 3,\n \"date_type\": 1,\n \"advertise_switch\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"user_id\": \"5c668b3e0000000012021605\",\n \"business\": 0,\n \"note_type\": 3,\n \"date_type\": 1,\n \"advertise_switch\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user_id\": \"5c668b3e0000000012021605\",\n \"business\": 0,\n \"note_type\": 3,\n \"date_type\": 1,\n \"advertise_switch\": 1\n}"
response = http.request(request)
puts response.read_body商业
获取蒲公英博主核心数据
获取蒲公英博主核心数据
POST
/
tikhub
/
xiaohongshu
/
pgy
/
get_blogger_core_data
Get PGY blogger core data trend
curl --request POST \
--url https://api.aisa.one/apis/v1/tikhub/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
}
'import requests
url = "https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data"
payload = {
"user_id": "5c668b3e0000000012021605",
"business": 0,
"note_type": 3,
"date_type": 1,
"advertise_switch": 1
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user_id: '5c668b3e0000000012021605',
business: 0,
note_type: 3,
date_type: 1,
advertise_switch: 1
})
};
fetch('https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'user_id' => '5c668b3e0000000012021605',
'business' => 0,
'note_type' => 3,
'date_type' => 1,
'advertise_switch' => 1
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data"
payload := strings.NewReader("{\n \"user_id\": \"5c668b3e0000000012021605\",\n \"business\": 0,\n \"note_type\": 3,\n \"date_type\": 1,\n \"advertise_switch\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"user_id\": \"5c668b3e0000000012021605\",\n \"business\": 0,\n \"note_type\": 3,\n \"date_type\": 1,\n \"advertise_switch\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user_id\": \"5c668b3e0000000012021605\",\n \"business\": 0,\n \"note_type\": 3,\n \"date_type\": 1,\n \"advertise_switch\": 1\n}"
response = http.request(request)
puts response.read_body获取蒲公英博主核心数据
计费 — 成功调用基准价 $0.029(= provider 成本 × 1.45;最终扣费按你的套餐倍率浮动)。仅当上游响应体
code 为 200 时计费。
响应结构尚未完整文档化 —— 以实际调用为准。
示例
curl -X POST "https://api.aisa.one/apis/v1/tikhub/xiaohongshu/pgy/get_blogger_core_data" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}' # 请求体结构见下方 schema
授权
AIsa API key. Get yours at https://aisa.one
请求体
application/json
博主用户ID/Blogger user ID
示例:
"5c668b3e0000000012021605"
笔记口径 0=日常笔记(默认) 1=合作笔记/Note scope
可用选项:
0, 1 示例:
0
笔记类型 3=图文+视频(默认) 1=图文 2=视频/Note type
可用选项:
1, 2, 3 示例:
3
时间范围 1=近30日(默认) 2=近90日/Date range
可用选项:
1, 2 示例:
1
流量类型 1=全部(含合作) 0=仅自然流量/Traffic type
可用选项:
0, 1 示例:
1
响应
200
Successful response. 以实际调用为准 / Response structure varies; refer to the actual API response.