idintegerwajib
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
}
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
idintegerwajibActivity ID, from `get_ip_activity_list`
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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
}
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.01 per panggilan | JSON |
Douyin | $0.003 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-detail dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: id (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Xingtu IP Activity Detail berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.