Douyin Xingtu Playlet Actor Rank Catalog
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/playlet-actor-rank-catalogReturns the ranking catalog options for Douyin Xingtu playlet actors. Use this endpoint to inspect available categories and ranking classifications.
- 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": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"catalog": "{\"type\":1,\"children\":{\"playlet_actor_list\":{\"type\":2,\"children\":{\"playlet_actor_composite_list\":{\"type\":4,\"children\":{\"30\":{\"type\":5,\"children\":{\"20250930\":{\"type\":6},\"20251031\":{\"type\":6},\"20251130\":{\"type\":6}}}}}}}}}"
}
}
]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 Playlet Actor Rank Catalog API
Returns the ranking catalog for playlet actors on Douyin Xingtu. The catalog field holds a JSON string that lists the available ranking lists and their classifications. The request takes no input.
Use cases
- Read which playlet actor ranking lists exist before you request a specific leaderboard.
- Collect the identifier keys in the catalog tree to build a category picker.
- Compare the catalog over time to detect new or removed ranking classifications.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/playlet-actor-rank-catalog" \
-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.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"catalog": "{\"type\":1,\"children\":{\"playlet_actor_list\":{\"type\":2,\"children\":{\"playlet_actor_…"
}
Response fields
| Field | Meaning |
|---|---|
base_resp.status_code | Status code of the call. 0 means the call succeeded. |
base_resp.status_message | Status text. It is an empty string in the sample response. |
catalog | A JSON-encoded string, so parse it before use. It holds a nested tree of ranking options, with names such as playlet_actor_list and playlet_actor_composite_list and numeric identifiers such as 30 and 20250930 as keys. |
Notes
- The
catalogvalue is a string, not an object. Run it through a JSON parser to walk the tree. - The tree nests several levels deep, and the keys at each level are the identifiers of the ranking options.
- Call Douyin Xingtu Playlet Actor Ranking List next to fetch a leaderboard.
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/playlet-actor-rank-catalog" \
-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": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"catalog": "{\"type\":1,\"children\":{\"playlet_actor_list\":{\"type\":2,\"children\":{\"playlet_actor_composite_list\":{\"type\":4,\"children\":{\"30\":{\"type\":5,\"children\":{\"20250930\":{\"type\":6},\"20251031\":{\"type\":6},\"20251130\":{\"type\":6}}}}}}}}}"
}
}
]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 Playlet Actor Rank Catalog?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/playlet-actor-rank-catalog 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 Playlet Actor Rank Catalog 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 Playlet Actor Rank Catalog chấp nhận những tham số nào?
Douyin Xingtu Playlet Actor Rank Catalog 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 Playlet Actor Rank Catalog 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 Playlet Actor Rank Catalog 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.
