oAuthorIdstring必須
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-structGet Douyin Creator Marketplace (Xingtu) creator-link structure data for a specified creator and content channel. Use it to compare creator link structures during performance research.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns the link structure for one creator on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId and can take a platform value to pick the content channel.
种草, to match a creator to a seeding goal.relative_ratio value in step 5.SHORT_VIDEO and LIVE_STREAMING to see how the structure differs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-struct" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique ID. |
platform | string | No | Platform type. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"author_link_type": "种草",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"link_struct": {
"1": {
"proportion": 0.16304054463905537,
"value": 95314367
},
"2": {
"proportion": 0.5087374275836838,
"value": 297410598
},
"3": {
"proportion": 0.32822010340197,
"value": 191879213
},
"4": {
"proportion": 1.9243752908618417e-06,
"value": 1125
},
"5": {
"rank_percent": 0,
"relative_ratio": -0.0208,
"value": 584605303
}
}
}
| Field | Meaning |
|---|---|
author_link_type | Text label for the creator's link type. The sample value is 种草. |
link_struct | Object keyed by step number from 1 to 5. Each key holds the numbers for that step. |
link_struct.1 / link_struct.2 / link_struct.3 / link_struct.4 | Each step has a value count and a proportion. In the sample the proportion values of steps 1 to 4 add up to about 1. |
link_struct.1.proportion / link_struct.2.proportion / link_struct.3.proportion / link_struct.4.proportion | Share of the total that each step holds, as a decimal between 0 and 1. In the sample, step 2 is the largest at about 0.51. |
link_struct.1.value / link_struct.2.value / link_struct.3.value / link_struct.4.value | Raw count for each step. In the sample, step 2 is 297410598 and step 4 is 1125. |
link_struct.5.value | Count for step 5. In the sample it equals the sum of the values in steps 1 to 3. |
link_struct.5.relative_ratio | Relative ratio for step 5. The sample value is -0.0208, a negative number. |
link_struct.5.rank_percent | Rank percent for step 5. The sample value is 0. |
base_resp.status_code / base_resp.status_message | Call status. 0 with an empty message means the call succeeded. |
platform as one of SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT or SHORT_DRAMA. It defaults to SHORT_VIDEO.oAuthorId with Douyin Xingtu Creator Search.$0.021429 per successful call. Failed calls are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-struct" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "SHORT_VIDEO",
"oAuthorId": "6870161898013196295"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
oAuthorIdstring必須Author's unique ID.
platformstringPlatform type.
デフォルト: "SHORT_VIDEO"
指定可能な値: SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.071429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-link-struct に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.021429、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: oAuthorId (string)。 任意: platform(SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA のいずれか)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Xingtu Creator Link Structure は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。