author_idstring必須
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-daily-fansReturns daily follower trend data for a specified Douyin creator. Supports filtering by date range, author type, and platform source.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"daily": [],
"delta": [],
"description": "",
"fans_advice": "",
"fans_growth": "0",
"fans_growth_rate": 0,
"fans_growth_rate_v2": {
"value": -67
},
"fans_growth_v2": {
"value": -4797
},
"raw_play_rate": {}
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
Retrieve daily follower trend metrics for a creator using author_id. Filter the historical records by specifying start_date and end_date.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-daily-fans" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"author_id": "7146074596666507300"}'
| Name | Type | Required | Description |
|---|---|---|---|
author_id | string | Yes | Creator ID |
end_date | string | No | End date, format YYYYMMDD, optional |
start_date | string | No | Start date, format YYYYMMDD, optional |
author_type | string | No | Author type, optional |
platform_source | integer | No | Platform source, default 1 |
start_date and end_date in YYYYMMDD format.platform_source defaults to 1 if not specified.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-daily-fans" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"author_id": "7146074596666507300"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
author_idstring必須Creator ID
author_typeanyAuthor type, optional
end_dateanyEnd date, format YYYYMMDD, optional
platform_sourceintegerPlatform source, default 1
start_dateanyStart date, format YYYYMMDD, optional
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"daily": [],
"delta": [],
"description": "",
"fans_advice": "",
"fans_growth": "0",
"fans_growth_rate": 0,
"fans_growth_rate_v2": {
"value": -67
},
"fans_growth_v2": {
"value": -4797
},
"raw_play_rate": {}
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.002 / 回 | JSON |
Douyin | $0.002 / 回 | JSON |
Douyin | $0.002 / 回 | JSON |
Douyin | $0.01 / 回 | JSON |
Douyin | $0.003 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-daily-fans に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.002、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: author_id (string)。 任意: author_type (any), end_date (any), platform_source (integer) と start_date (any)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
いいえ。Douyin Author Daily Fan Trend は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。