idinteger必須
Activity ID, from `get_ip_activity_list`
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-detailReturns detailed information for a specific Xingtu IP calendar activity on Douyin. Queries activity data using the unique activity identifier.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"ip_activity_detail": {
"create_time": "1711963800",
"description": "IDOR_WRITE_TEST",
"hero_image": "",
"id": "1",
"invest_end_time": "1729047854",
"invest_start_time": "1729047854",
"ip_category": 0,
"ip_end_time": "1729047854",
"ip_industry": "",
"ip_start_time": "1729047854",
"name": "���Ի1",
"pr_link": "",
"sponsor": "",
"status": 10
}
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
Returns the detail record for one Xingtu IP calendar activity on Douyin. You send the activity id as an integer. The sample response for id 1224 contains only the base_resp status object.
id returns a detail record before you show it in a marketing dashboard.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 1224}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Activity ID, from get_ip_activity_list |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
}
}
| Field | Meaning |
|---|---|
base_resp | Status object that wraps the result of the call. |
base_resp.status_code | Numeric result code. It is 0 in the sample response. |
base_resp.status_message | Text message that goes with the status code. It is an empty string in the sample response. |
id value from the Douyin Xingtu IP Activity List API.id is an integer, for example 1224.id 1224 holds no activity fields beyond base_resp, so check base_resp.status_code before you read any other data.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 1
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
idinteger必須Activity ID, from `get_ip_activity_list`
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"ip_activity_detail": {
"create_time": "1711963800",
"description": "IDOR_WRITE_TEST",
"hero_image": "",
"id": "1",
"invest_end_time": "1729047854",
"invest_start_time": "1729047854",
"ip_category": 0,
"ip_end_time": "1729047854",
"ip_industry": "",
"ip_start_time": "1729047854",
"name": "���Ի1",
"pr_link": "",
"sponsor": "",
"status": 10
}
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.001 / 回 | 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/ip-activity-detail に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: id (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Xingtu IP Activity Detail は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。