cursorinteger
Cursor for pagination, 0 for first page
https://api.sandbase.ai/v1/api/douyin/creator/mission-task-listReturns creator mission tasks from Douyin with filtering options. Supports filters for industry classification, search keywords, mission type, and release timeframes.
[
{
"data": {
"has_more": false,
"mission_cards": null,
"next_cursor": 24,
"status_code": 0,
"status_msg": "",
"total_num": 0
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns a paged list of Douyin creator mission tasks, with each task's name, ID, industry IDs, run dates and commission settings. All inputs are optional, so you can send an empty body to get the first page, or add filters such as keyword, industry_lv1 and mission_type.
keyword.industry_lv1 and industry_lv2.task_commission.pay_type values across missions to group tasks by payment model.curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/mission-task-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | integer | No | Cursor for pagination, 0 for first page |
greater_than_cost_progress | string | No | Cost progress filter (optional) |
industry_lv1 | integer | No | Primary industry (-1=All). |
industry_lv2 | integer | No | Secondary industry (-1=All). |
keyword | string | No | Keyword search (optional, supports task name or task ID) |
limit | integer | No | Number of tasks per page, recommended 24 |
mission_type | integer | No | Mission type, usually 1 |
pay_type | string | No | Payment type (optional) |
platform_channel | string | No | Platform channel (optional) |
publish_time_start | string | No | Publish start time filter (optional, timestamp format) |
quick_selector_scene | string | No | Quick filter scene (optional) |
tab_scene | integer | No | Scene type |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"has_more": true,
"mission_cards": [
{
"brand_logo": "",
"brand_name": "",
"content_type": 2,
"end_time": 1801238399,
"first_industry_id": 1913,
"icon": "https://p26-star-fe-sign.byteimg.com/tos-cn-i-9hvokabxw2/ad3ea81874524f6d8c67bb5…",
"id_str": "7600738522332905512",
"name": "孤勇无双直播任务",
"second_industry_id": 191311,
"start_time": 1769738400,
"task_commission": {
"budget": 0,
"commission_rate": 0,
"convert_unit_amount": 0,
"cpm_vv_price": 0,
"max_settled_price": 0,
"min_settled_price": 0,
"pay_type": 17,
"remain_reward_amount": 0
}
}
],
"next_cursor": 24,
"status_code": 0,
"status_msg": "",
"total_num": 8209
}
| Field | Meaning |
|---|---|
total_num | Total number of tasks that match the request. |
has_more | Shows whether another page of tasks is available. |
next_cursor | Value to send as cursor to get the next page. |
mission_cards[].id_str | Task ID as a string. Keep it as a string because the number is long. |
mission_cards[].name | Task name, in Chinese in the sample response. |
mission_cards[].start_time / mission_cards[].end_time | Start and end of the task as Unix timestamps in seconds. |
mission_cards[].first_industry_id / mission_cards[].second_industry_id | IDs of the primary and secondary industry the task belongs to. |
mission_cards[].content_type | Numeric content type of the task. The sample tasks all return 2. |
mission_cards[].brand_name / mission_cards[].brand_logo | Brand name and logo of the task. Both can be empty strings. |
mission_cards[].task_commission.pay_type | Numeric payment type of the task. Related fields in the same object are budget, commission_rate, min_settled_price and max_settled_price. |
cursor set to 0. Pass next_cursor from the response as cursor for the next page, and stop when has_more is false.limit between 1 and 100 to change the page size. The parameter description recommends 24.industry_lv1 and industry_lv2 to -1 to include all industries. Use Douyin Creator Industry Category Config to look up industry IDs.start_time and end_time are Unix timestamps in seconds.$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/creator/mission-task-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Đặ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.
cursorintegerCursor for pagination, 0 for first page
greater_than_cost_progressanyCost progress filter (optional)
industry_lv1integerPrimary industry (-1=All).
industry_lv2integerSecondary industry (-1=All).
keywordanyKeyword search (optional, supports task name or task ID)
limitintegerNumber of tasks per page, recommended 24
mission_typeintegerMission type, usually 1
pay_typeanyPayment type (optional)
platform_channelanyPlatform channel (optional)
publish_time_startanyPublish start time filter (optional, timestamp format)
quick_selector_sceneanyQuick filter scene (optional)
tab_sceneintegerScene type
Đâ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": {
"has_more": false,
"mission_cards": null,
"next_cursor": 24,
"status_code": 0,
"status_msg": "",
"total_num": 0
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 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/creator/mission-task-list 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ý.
Không có tham số bắt buộc. Tùy chọn: cursor (integer), greater_than_cost_progress (any), industry_lv1 (integer), industry_lv2 (integer), keyword (any) và limit (integer) và 6 mục khác. 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 Creator Mission Task List 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.