idintegerbắt buộc
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
}
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào 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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
idintegerbắt buộcActivity ID, from `get_ip_activity_list`
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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
}
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.01 mỗi lần gọi | JSON |
Douyin | $0.003 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-detail với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: id (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Douyin Xingtu IP Activity Detail chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.