oAuthorIdstringbắt buộc
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-order-experienceGet Douyin Creator Marketplace (Xingtu) creator order-experience information for the last 30 or 90 days. Use it to review marketplace order history during creator evaluation.
Đầ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 the industries and product categories a Douyin Xingtu creator has taken marketplace orders in, with the share of orders for each. It needs the creator's oAuthorId and an optional period of DAY_30 or DAY_90.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-order-experience" \
-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. |
period | string | No | Time period. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"order_experience_industries": [
{
"first_category": [
{
"name": "家庭护理品",
"rate": 1
}
],
"industry": {
"name": "日化",
"rate": 0.6667
},
"second_category": []
}
]
}
| Field | Meaning |
|---|---|
base_resp.status_code / base_resp.status_message | Request status. 0 with an empty message means the call succeeded. |
order_experience_industries[] | One entry per industry the creator has taken orders in. Each entry holds the industry and its category breakdown. |
order_experience_industries[].industry.name | Name of the industry, in Chinese, for example 日化. |
order_experience_industries[].industry.rate | Share of the creator's orders in this industry, as a decimal. In the sample, 0.6667 and 0.3333 add up to 1. |
order_experience_industries[].first_category[].name | Name of a first-level category inside the industry, for example 个人护理. |
order_experience_industries[].first_category[].rate | Share of this first-level category within the industry, as a decimal. |
order_experience_industries[].second_category[].name / order_experience_industries[].second_category[].rate | Name and share of a second-level category within the industry. The list can be empty when no finer breakdown exists. |
period to DAY_30 or DAY_90. If you leave it out, it defaults to DAY_30.oAuthorId from 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-order-experience" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"period": "DAY_30",
"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.
periodstringTime period.
Mặc định: "DAY_30"
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.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 |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-order-experience 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: period (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 Order Experience 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.