oAuthorIdstringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
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-v3/aggregator-author-contract-base-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oAuthorId": "6870161898013196295"
}'Đặ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.
oAuthorIdstringbắt buộcAuthor's unique ID.
rangestringTime range.
Giá trị có thể dùng: DAY_30, DAY_90
Đâ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.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.071429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 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-v3/aggregator-author-contract-base-info 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.021429 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: oAuthorId (string). Tùy chọn: range (một trong số DAY_30, DAY_90). 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 Creator Contract Base Info 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.