Douyin Xingtu IP Activity Industry List
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-industry-listReturns the list of supported industries for the Xingtu IP calendar on Douyin. Use this reference data to filter and categorize upcoming IP activities.
- Giá
- $0.001USD / lượt gọi
- Phương thức
- POST
- Phản hồi
- JSON
- Tham số
- 0 bắt buộc · 0 tùy chọn
Phòng thử nghiệm
[
{
"data": {
"industry_list": [
{
"industry_id": "1930",
"industry_name": "美妆"
},
{
"industry_id": "1901",
"industry_name": "3C及电器"
},
{
"industry_id": "1933",
"industry_name": "日化"
},
"… 14 more items in the full response"
]
}
}
]Ví dụ
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
README API
Douyin Xingtu IP Activity Industry List API
Returns the list of industries supported by the Xingtu IP calendar on Douyin. Each entry has an industry ID and an industry name. The call takes no input parameters.
Use cases
- Fill an industry dropdown in a tool that browses Xingtu IP calendar activities.
- Map industry IDs found in IP activity data to readable industry names.
- Map your own industry categories to the Xingtu industry IDs.
- Cache the industry list as reference data for filtering upcoming IP activities.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-industry-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"industry_list": [
{
"industry_id": "1930",
"industry_name": "美妆"
}
]
}
Response fields
| Field | Meaning |
|---|---|
industry_list | List of all supported industries. Each item is one industry. |
industry_list[].industry_id | ID of the industry, returned as a string such as 1930. Use it to refer to this industry in other calls. |
industry_list[].industry_name | Name of the industry in Chinese, for example 美妆 (beauty), 3C及电器 (3C and electrical appliances) or 日化 (daily chemicals). |
Notes
- Send an empty JSON object
{}as the request body. The API has no parameters and no pagination. industry_idvalues are strings, not numbers. Keep them as strings when you pass them on.- To see the activities themselves, call Douyin Xingtu IP Activity List. For one activity's full record, use Douyin Xingtu IP Activity Detail.
Pricing
$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
Gửi request đầu tiên của bạn
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-industry-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Xác thực
Đặ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.
3. Tham số
Chưa có schema tham số nào được công bố cho API này.
4. Phản hồi
Đâ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": {
"industry_list": [
{
"industry_id": "1930",
"industry_name": "美妆"
},
{
"industry_id": "1901",
"industry_name": "3C及电器"
},
{
"industry_id": "1933",
"industry_name": "日化"
},
"… 14 more items in the full response"
]
}
}
]Khám phá thêm
APIs liên quan
| 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
FAQ
Làm thế nào để dùng API Douyin Xingtu IP Activity Industry List?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-industry-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.
API Douyin Xingtu IP Activity Industry List có giá bao nhiêu?
$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ý.
API Douyin Xingtu IP Activity Industry List chấp nhận những tham số nào?
Douyin Xingtu IP Activity Industry List không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.
API Douyin Xingtu IP Activity Industry List trả về gì?
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.
Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?
Không. Douyin Xingtu IP Activity Industry 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.
