pageinteger
Page number, default is 1, add 1 for each page.
預設: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"
}
}
]選擇一個範例,將其輸入與結果載入 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.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
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
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
pageintegerPage number, default is 1, add 1 for each page.
預設:1
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"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"
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Pipixia | 每次呼叫 $0.001 | JSON |
Pipixia | 每次呼叫 $0.001 | JSON |
Pipixia | 每次呼叫 $0.001 | JSON |
Pipixia | 每次呼叫 $0.001 | JSON |
Pipixia | 每次呼叫 $0.001 | JSON |
Pipixia | 每次呼叫 $0.001 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/pipixia/app/home-short-drama-feed。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:page (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Pipixia Home Short Drama Feed 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Pipixia API 存取權。