pageinteger
Page number, default is 1, add 1 for each page.
Mặc định: 1
https://api.sandbase.ai/v1/api/pipixia/app/home-short-drama-feedReturns short drama and novel recommendations from the Pipixia home feed. Supports pagination to browse through items sequentially.
[
{
"data": {
"code": 0,
"data": [
{
"cell_id": "2040003",
"cell_name": "大家都在看",
"cell_type": 204,
"channel_id": "94349610839",
"feed_data": {
"book_data": [
{
"book_data": {
"book_id": "7520802446843579417",
"book_name": "这个破盆是宝物",
"book_type": "0",
"category": "武侠",
"category_tags": [
{
"CategoryId": 16,
"CategoryName": "武侠",
"Dim": "",
"Gender": 0,
"category_schema_url": null
},
{
"CategoryId": 182,
"CategoryName": "古风",
"Dim": "",
"Gender": 0,
"category_schema_url": null
}
],
"creation_status": "1",
"genre": "205",
"highlight_category_tag": null,
"item_schema_url": "sslocal://novel_business?category_name=&enter_from=&group_id=7520802446843579417&is_external_entrance=0&module_name=novel_channel_recommend&parent_enterfrom=playlet_category&play_start_offset=-1&play_type=module&playlet_channel_id=94349610839&playlet_log_id=20261006203843E2BAEDF95BF4E3A0522A&series_id=7520802446843579417&series_index=-1&video_id=&novel_page_type=short_series_player",
"read_count": "0",
"serial_count": "1389",
"thumb_url": "https://p9-novel-sign.byteimg.com/novel-pic/d6916b21660653d01063898d3fa50d89~tplv-resize:225:0.webp?lk3s=8d0def8a&x-expires=1793882324&x-signature=%2FEXbatVikcrXQkzGNvMOr1NXKIE%3D"
},
"category_v2": [],
"hot": 22732163,
"toutiao_click_rate": "0"
},
{
"book_data": {
"book_id": "7618896412385741849",
"book_name": "全民公路求生:我的房车无限进化",
"book_type": "0",
"category": "都市脑洞",
"category_tags": [
{
"CategoryId": 262,
"CategoryName": "都市脑洞",
"Dim": "",
"Gender": 0,
"category_schema_url": null
},
{
"CategoryId": 316,
"CategoryName": "剧情",
"Dim": "",
"Gender": 0,
"category_schema_url": null
}
],
"creation_status": "0",
"genre": "205",
"highlight_category_tag": null,
"item_schema_url": "sslocal://novel_business?category_name=&enter_from=&group_id=7618896412385741849&is_external_entrance=0&module_name=novel_channel_recommend&parent_enterfrom=playlet_category&play_start_offset=-1&play_type=module&playlet_channel_id=94349610839&playlet_log_id=20261006203843E2BAEDF95BF4E3A0522A&series_id=7618896412385741849&series_index=-1&video_id=&novel_page_type=short_series_player",
"read_count": "0",
"serial_count": "80",
"thumb_url": "https://p6-novel-sign.byteimg.com/novel-pic/a58b655d116793812ed6b275246cc575~tplv-resize:225:0.webp?lk3s=8d0def8a&x-expires=1793882324&x-signature=oqnkOQyzQEjSDDi8RYZSd3z%2Fu1w%3D"
},
"category_v2": [],
"hot": 16251978,
"toutiao_click_rate": "0"
},
{
"book_data": {
"book_id": "7631791585637714969",
"book_name": "散伙开店,坐拥豪宅佳人",
"book_type": "0",
"category": "都市日常",
"category_tags": [
{
"CategoryId": 261,
"CategoryName": "都市日常",
"Dim": "",
"Gender": 0,
"category_schema_url": null
},
{
"CategoryId": 11,
"CategoryName": "乡村",
"Dim": "",
"Gender": 0,
"category_schema_url": null
}
],
"creation_status": "0",
"genre": "205",
"highlight_category_tag": null,
"item_schema_url": "sslocal://novel_business?category_name=&enter_from=&group_id=7631791585637714969&is_external_entrance=0&module_name=novel_channel_recommend&parent_enterfrom=playlet_category&play_start_offset=-1&play_type=module&playlet_channel_id=94349610839&playlet_log_id=20261006203843E2BAEDF95BF4E3A0522A&series_id=7631791585637714969&series_index=-1&video_id=&novel_page_type=short_series_player",
"read_count": "0",
"serial_count": "70",
"thumb_url": "https://p3-novel-sign.byteimg.com/novel-pic/eca49fdff6e5fc957cdb5ffdc4228aaf~tplv-resize:225:0.webp?lk3s=8d0def8a&x-expires=1793882324&x-signature=FI1dvb6WXeFFlTPV003cczJ3cT0%3D"
},
"category_v2": [],
"hot": 14436986,
"toutiao_click_rate": "0"
},
"… 3 more items in the full response"
],
"has_more": true,
"is_recommend": true
},
"show_num": 0,
"visible_refresh": 0
},
{
"cell_id": "2330001",
"cell_name": "自动播大卡",
"cell_type": 233,
"channel_id": null,
"show_num": 0,
"visible_refresh": 0
}
],
"extra": {
"enable_grey": "0"
},
"log_id": "20261006203843E2BAEDF95BF4E3A0522A",
"message": "success"
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns short drama and novel recommendations from the Pipixia home feed, grouped into feed cells such as a popular titles shelf. The only input is an optional page number, which defaults to 1.
hot value to see which ones lead a feed shelf.category to see which genres appear most often.book_id values to track which titles appear on the feed from one page to the next.curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/home-short-drama-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number, default is 1, add 1 for each page. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"cell_id": "2040003",
"cell_name": "大家都在看",
"cell_type": 204,
"channel_id": "94349610839",
"feed_data": {
"book_data": [
{
"book_data": {
"book_id": "7663434332274428952",
"book_name": "重回千禧我靠赶海养活家人",
"book_type": "0",
"category": "种田",
"category_tags": [
{
"CategoryId": 23,
"CategoryName": "种田",
"Dim": "",
"Gender": 0,
"category_schema_url": null
}
],
"creation_status": "0",
"genre": "205",
"highlight_category_tag": null
},
"category_v2": [],
"hot": 22732164,
"toutiao_click_rate": "0"
}
],
"has_more": true,
"is_recommend": true
},
"show_num": 0,
"visible_refresh": 0
}
],
"extra": {
"enable_grey": "0"
},
"log_id": "20261103154147BACA29F5B15BF0D5667D",
"message": "success"
}
| Field | Meaning |
|---|---|
data[].cell_name | Display name of the feed cell, for example 大家都在看. Use it to tell shelves apart. |
data[].cell_id / data[].cell_type | Identifier and numeric type of the feed cell. Some cells, such as 自动播大卡, have no feed_data. |
data[].feed_data.book_data[].book_data.book_id | ID of the drama or novel, returned as a string. |
data[].feed_data.book_data[].book_data.book_name | Title of the drama or novel. |
data[].feed_data.book_data[].book_data.category | Main category of the title, for example 种田 or 武侠. |
data[].feed_data.book_data[].book_data.category_tags[].CategoryName | Name of each category tag on the title. CategoryId holds the matching numeric ID. |
data[].feed_data.book_data[].hot | Numeric hot value of the title. Higher values appear first in this response. |
data[].feed_data.book_data[].book_data.creation_status | Creation status code of the title, returned as a string such as 0 or 1. |
data[].feed_data.has_more | Is true when the cell has more items to load. |
log_id | Identifier of this response. |
page as an integer. Start at 1 and add 1 for each further page.data carries feed_data, so check that it exists before reading book_data.book_id are long numeric strings. Keep them as strings in your code.$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
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/pipixia/app/home-short-drama-feed" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1
}'Đặ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.
pageintegerPage number, default is 1, add 1 for each page.
Mặc định: 1
Đâ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": {
"code": 0,
"data": [
{
"cell_id": "2040003",
"cell_name": "大家都在看",
"cell_type": 204,
"channel_id": "94349610839",
"feed_data": {
"book_data": [
{
"book_data": {
"book_id": "7520802446843579417",
"book_name": "这个破盆是宝物",
"book_type": "0",
"category": "武侠",
"category_tags": [
{
"CategoryId": 16,
"CategoryName": "武侠",
"Dim": "",
"Gender": 0,
"category_schema_url": null
},
{
"CategoryId": 182,
"CategoryName": "古风",
"Dim": "",
"Gender": 0,
"category_schema_url": null
}
],
"creation_status": "1",
"genre": "205",
"highlight_category_tag": null,
"item_schema_url": "sslocal://novel_business?category_name=&enter_from=&group_id=7520802446843579417&is_external_entrance=0&module_name=novel_channel_recommend&parent_enterfrom=playlet_category&play_start_offset=-1&play_type=module&playlet_channel_id=94349610839&playlet_log_id=20261006203843E2BAEDF95BF4E3A0522A&series_id=7520802446843579417&series_index=-1&video_id=&novel_page_type=short_series_player",
"read_count": "0",
"serial_count": "1389",
"thumb_url": "https://p9-novel-sign.byteimg.com/novel-pic/d6916b21660653d01063898d3fa50d89~tplv-resize:225:0.webp?lk3s=8d0def8a&x-expires=1793882324&x-signature=%2FEXbatVikcrXQkzGNvMOr1NXKIE%3D"
},
"category_v2": [],
"hot": 22732163,
"toutiao_click_rate": "0"
},
{
"book_data": {
"book_id": "7618896412385741849",
"book_name": "全民公路求生:我的房车无限进化",
"book_type": "0",
"category": "都市脑洞",
"category_tags": [
{
"CategoryId": 262,
"CategoryName": "都市脑洞",
"Dim": "",
"Gender": 0,
"category_schema_url": null
},
{
"CategoryId": 316,
"CategoryName": "剧情",
"Dim": "",
"Gender": 0,
"category_schema_url": null
}
],
"creation_status": "0",
"genre": "205",
"highlight_category_tag": null,
"item_schema_url": "sslocal://novel_business?category_name=&enter_from=&group_id=7618896412385741849&is_external_entrance=0&module_name=novel_channel_recommend&parent_enterfrom=playlet_category&play_start_offset=-1&play_type=module&playlet_channel_id=94349610839&playlet_log_id=20261006203843E2BAEDF95BF4E3A0522A&series_id=7618896412385741849&series_index=-1&video_id=&novel_page_type=short_series_player",
"read_count": "0",
"serial_count": "80",
"thumb_url": "https://p6-novel-sign.byteimg.com/novel-pic/a58b655d116793812ed6b275246cc575~tplv-resize:225:0.webp?lk3s=8d0def8a&x-expires=1793882324&x-signature=oqnkOQyzQEjSDDi8RYZSd3z%2Fu1w%3D"
},
"category_v2": [],
"hot": 16251978,
"toutiao_click_rate": "0"
},
{
"book_data": {
"book_id": "7631791585637714969",
"book_name": "散伙开店,坐拥豪宅佳人",
"book_type": "0",
"category": "都市日常",
"category_tags": [
{
"CategoryId": 261,
"CategoryName": "都市日常",
"Dim": "",
"Gender": 0,
"category_schema_url": null
},
{
"CategoryId": 11,
"CategoryName": "乡村",
"Dim": "",
"Gender": 0,
"category_schema_url": null
}
],
"creation_status": "0",
"genre": "205",
"highlight_category_tag": null,
"item_schema_url": "sslocal://novel_business?category_name=&enter_from=&group_id=7631791585637714969&is_external_entrance=0&module_name=novel_channel_recommend&parent_enterfrom=playlet_category&play_start_offset=-1&play_type=module&playlet_channel_id=94349610839&playlet_log_id=20261006203843E2BAEDF95BF4E3A0522A&series_id=7631791585637714969&series_index=-1&video_id=&novel_page_type=short_series_player",
"read_count": "0",
"serial_count": "70",
"thumb_url": "https://p3-novel-sign.byteimg.com/novel-pic/eca49fdff6e5fc957cdb5ffdc4228aaf~tplv-resize:225:0.webp?lk3s=8d0def8a&x-expires=1793882324&x-signature=FI1dvb6WXeFFlTPV003cczJ3cT0%3D"
},
"category_v2": [],
"hot": 14436986,
"toutiao_click_rate": "0"
},
"… 3 more items in the full response"
],
"has_more": true,
"is_recommend": true
},
"show_num": 0,
"visible_refresh": 0
},
{
"cell_id": "2330001",
"cell_name": "自动播大卡",
"cell_type": 233,
"channel_id": null,
"show_num": 0,
"visible_refresh": 0
}
],
"extra": {
"enable_grey": "0"
},
"log_id": "20261006203843E2BAEDF95BF4E3A0522A",
"message": "success"
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 mỗi lần gọi | JSON |
Pipixia | $0.001 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/pipixia/app/home-short-drama-feed 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.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ý.
Không có tham số bắt buộc. Tùy chọn: page (integer). 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. Pipixia Home Short Drama Feed 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 Pipixia.