oAuthorIdstringbắt buộc
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/author-author-marketing-infoGet Douyin Creator Marketplace (Xingtu) marketing information for a specified creator and content channel. Use it to compare creator commercial offerings 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 the commercial offerings of one Douyin Xingtu creator for one content channel. The response lists price items, industry tags, and activity and ranking lists. It needs the creator's oAuthorId, and platform is optional.
industry_tags to match them to a brand category.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/author-author-marketing-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. |
platform | string | No | Platform type. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"activity_info": [],
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"hot_list_ranks": [],
"industry_tags": [
"美妆-面部洗护"
],
"price_info": [
{
"activity_info": [],
"author_id": "6870161898013196295",
"desc": "短直明星种草",
"do_fold": false,
"enable": true,
"end_time": "2145916800",
"field": "price",
"has_discount": false,
"is_open": true,
"need_price": true,
"online_status": 1,
"origin_price": 50000
}
]
}
| Field | Meaning |
|---|---|
price_info[] | One row per priced offering the creator sells on the chosen channel. Each row has its own price, dates, and settlement terms. |
price_info[].desc | Name of the offering, such as 短直明星种草 or 视频(定金模式). |
price_info[].price / price_info[].origin_price | Current price and original price of the offering. In this response both are 50000. The response does not state the currency or unit. |
price_info[].has_discount | Shows whether the offering carries a discount. |
price_info[].enable / price_info[].is_open | Show whether the offering is enabled and open for orders. |
price_info[].settlement_desc / price_info[].settlement_type | Settlement method as text and as a code. 固定价格 means fixed price and goes with settlement_type 2. |
price_info[].start_time / price_info[].end_time | Start and end of the offering's validity period, as Unix timestamps in seconds stored as strings. |
price_info[].video_type | Numeric code for the video format of the offering. The response does not explain the code values. |
industry_tags | List of industry categories the creator is tagged with, written as category and subcategory such as 美妆-面部洗护. |
activity_info / hot_list_ranks | Lists of platform activities and hot list rankings for the creator. Both are empty in this response. |
oAuthorId as a string. It is a long numeric ID, and the same value appears as price_info[].author_id.platform to SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT or SHORT_DRAMA. The default is SHORT_VIDEO.oAuthorId by name, use 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/author-author-marketing-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "SHORT_VIDEO",
"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.
platformstringPlatform type.
Mặc định: "SHORT_VIDEO"
Giá trị có thể dùng: SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
Đâ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/author-author-marketing-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: platform (một trong số SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA). 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 Marketing Metrics 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.