oAuthorIdstring必須
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-contract-base-infoGet Douyin Creator Marketplace (Xingtu) contract-related baseline information for a creator over a selectable 30- or 90-day period. Use it to review creator contract context during campaign planning.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns contract and order baseline data for one creator on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId and takes an optional range of DAY_30 or DAY_90.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-contract-base-info" \
-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. |
range | string | No | Time range. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"credit_score": "100",
"industry_order_distribution": "[{\"key\":\"1933\",\"rate\":\"0.4286\",\"value\":\"3\"},{\"key\":\"1916\",\"rate\":\"0.1429\",\"value…",
"industry_vv_distribution": "[{\"key\":\"1901\",\"rate\":\"0.5773\",\"value\":\"82816203\"},{\"key\":\"1933\",\"rate\":\"0.2658\"…",
"max_process_order_cnt": "3",
"message_reply_rate": "0",
"modify_time": "1793685800",
"new_credit_score": 72,
"order_cnt": "7",
"positive_rating_rate": "1",
"process_order_cnt": "3"
}
| Field | Meaning |
|---|---|
credit_score / new_credit_score | Two credit score values for the creator. credit_score is returned as a string (100 in this sample) and new_credit_score as a number (72). The response does not explain how they differ. |
order_cnt | Number of orders for the creator, returned as a string. The sample value is 7. |
process_order_cnt / max_process_order_cnt | Count of orders in progress, and a second count with a maximum in its name. The sample values are 3 and 3. |
positive_rating_rate | Share of positive ratings, returned as a decimal string. 1 in this sample. |
message_reply_rate | Reply rate for messages, returned as a decimal string. 0 in this sample. |
industry_order_distribution | A JSON string holding a list of objects. Each object has an industry code in key, the order count in value and its share in rate. Parse the string before you use it. |
industry_vv_distribution | A JSON string holding a list of objects. Each object has an industry code in key, a view count in value and its share in rate. Parse the string before you use it. |
modify_time | Timestamp of the last update, as a Unix time in seconds in a string. |
base_resp.status_code / base_resp.status_message | Request status. 0 with an empty message means the call succeeded. |
key are numeric IDs such as 1933. The response does not include industry names.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/aggregator-author-contract-base-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oAuthorId": "6870161898013196295"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
oAuthorIdstring必須Author's unique ID.
rangestringTime range.
指定可能な値: DAY_30, DAY_90
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.071429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-contract-base-info に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.021429、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: oAuthorId (string)。 任意: range(DAY_30, DAY_90 のいずれか)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Xingtu Creator Contract Base Info は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。