userIdstring必須
KOL's user ID.
https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/kol-similar-kolGet paginated Xiaohongshu Pugongying creators similar to a known creator. Use it to expand a campaign shortlist from an existing reference account.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns a page of Xiaohongshu Pugongying creators that resemble a reference creator. Each creator comes with follower counts, note counts, level and cooperation fields. You pass the reference creator's userId.
cooperateState before you reach out.businessNoteCount to see who already publishes sponsored content.curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/kol-similar-kol" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userId": "5a73c5fa4eacab4c4ccc9778"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | KOL's user ID. |
pageNum | integer | No | Page number for results. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"highlightWords": [],
"kols": [
{
"accumCommonImpMedinNum30d": 0,
"accumCoopImpMedinNum30d": 0,
"accumPicCommonImpMedinNum30d": 0,
"accumVideoCommonImpMedinNum30d": 0,
"activityList": [
"6adb6413e4b078c833452df1"
],
"algoRecommendReasons": null,
"authorityList": null,
"avgAgmv90d": 0.0,
"avgLiveViewerNum": 0.0,
"businessNoteCount": 73,
"buyerType": 2,
"classifyCode": null
}
],
"redirect2NickSearch": false,
"resultType": 0,
"total": 8,
"trackId": "kolSimilar_6df6cc54eceb4c13a94facae835ed2a5"
}
| Field | Meaning |
|---|---|
kols[] | List of similar creators on this page. |
kols[].fansCount / kols[].fansNum | Follower count of the creator. Both fields hold the same value in this response. |
kols[].businessNoteCount | Number of sponsored (business) notes recorded for the creator. |
kols[].coopNoteNum30d | Number of cooperation notes in the last 30 days, as the key name says. |
kols[].clickMidNum / kols[].clickMidNumMcn | Click-related metric for the creator. The two fields carry the same number in this response. |
kols[].currentLevel | Creator level on the platform. A value of -1 appears for a creator with no level. |
kols[].cooperateState / kols[].cooperType | Numeric codes for the creator's cooperation status and cooperation type. The response does not explain what each code means. |
kols[].fans30GrowthNum / kols[].fans30GrowthRate | Follower growth over 30 days, as a count and as a rate. The rate can be null. |
kols[].clothingIndustryPrice.picturePrice / kols[].clothingIndustryPrice.videoPrice | Price fields for picture and video notes in the clothing industry. They are 0 for the creators shown. |
total | Total number of similar creators found for the reference creator. |
trackId | Identifier of this similar-creator request. |
pageNum to move through pages. It defaults to 1.0 and many others are null for some creators, so check values before you rely on them.$0.021429 per successful call. Failed calls are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/kol-similar-kol" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "5a73c5fa4eacab4c4ccc9778",
"pageNum": 1
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
userIdstring必須KOL's user ID.
pageNumintegerPage number for results.
デフォルト: 1
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Xiaohongshu | $0.021429 / 回 | JSON |
Xiaohongshu | $0.021429 / 回 | JSON |
Xiaohongshu | $0.071429 / 回 | JSON |
Xiaohongshu | $0.021429 / 回 | JSON |
Xiaohongshu | $0.021429 / 回 | JSON |
Xiaohongshu | $0.021429 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/kol-similar-kol に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.021429、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: userId (string)。 任意: pageNum (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Xiaohongshu Pugongying Similar Creators は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Xiaohongshu の API アクセスを別途申請する必要はありません。