keywordstringจำเป็น
Search keyword.
https://api.sandbase.ai/v1/api/pipixia/app/searchSearch Pipixia (ByteDance humor community) by keyword across posts, videos, images, users and hashtags.
[
{
"data": {
"data": {
"correct_query": "",
"data": [
{
"ad_info": null,
"album_info": null,
"banner_info": null,
"block_info": null,
"board_info": null,
"button": null,
"card_item": null,
"cell_id": 10058752072255,
"cell_id_str": "10058752072255",
"cell_type": 7,
"city_name": null,
"club_info": null,
"collection_info": null,
"comment": null,
"comment_info": null,
"comment_show_ad": null,
"dislike_options": null,
"display_time": null,
"follow_options": null,
"game": null,
"hashtag": null,
"item": null,
"last_view_time": 0,
"live_info": null,
"pass_through": null,
"reply_info": null,
"saas_live_info": null,
"search_ad_card": null,
"search_attach_info": "{\"users_attach_info\":\"16959191537927760062:0:0:2112050242:20260820174040DD42F84562DFF28E92E7\",\"hashtags_attach_info\":null}",
"short_play": null,
"stickup": false,
"user_hot_item_list": null,
"user_info": null,
"user_items": null,
"users_hashtag": {
"hashtag": null,
"users": [
{
"achievements": "… 0 items in the full response",
"age": "",
"article_count": 0,
"authentication": null,
"author_ecom_info": null,
"author_info": null,
"avatar": "…",
"background": "…",
"birthday": null,
"broadcast_info": null,
"certify_info": "…",
"city": "",
"city_name": "未知",
"club_count": 0,
"commerce_permission_list": null,
"create_time": 1533110670,
"creative_level_info": null,
"decoration_list": null,
"description": "把经典的声音传到你耳边",
"followers_count": 83361,
"followings_count": 0,
"gender": 2,
"god_comment_count": 0,
"hide_age": null,
"hide_location": null,
"horoscope": "",
"id": 58752072255,
"id_str": "58752072255",
"interaction_limitation": null,
"is_block": false,
"is_default_avatar": false,
"is_default_name": false,
"is_followed": null,
"is_following": null,
"language": "zh",
"large_avatar": "…",
"level": 0,
"like_count": 178018,
"live_auth": false,
"liveing_info": null,
"…": "19 more fields in the full response"
},
{
"achievements": "… 0 items in the full response",
"age": "",
"article_count": 0,
"authentication": null,
"author_ecom_info": null,
"author_info": null,
"avatar": "…",
"background": "…",
"birthday": null,
"broadcast_info": null,
"certify_info": "…",
"city": "烟台",
"city_name": "未知",
"club_count": 0,
"commerce_permission_list": null,
"create_time": 1543287277,
"creative_level_info": null,
"decoration_list": null,
"description": "一个顾家的好男人。",
"followers_count": 22665,
"followings_count": 423,
"gender": 1,
"god_comment_count": 0,
"hide_age": null,
"hide_location": null,
"horoscope": "",
"id": 92312858149,
"id_str": "92312858149",
"interaction_limitation": null,
"is_block": false,
"is_default_avatar": false,
"is_default_name": false,
"is_followed": null,
"is_following": null,
"language": "zh",
"large_avatar": "…",
"level": 0,
"like_count": 222458,
"live_auth": false,
"liveing_info": null,
"…": "19 more fields in the full response"
},
"… 18 more items in the full response"
]
}
},
{
"ad_info": null,
"album_info": null,
"banner_info": null,
"block_info": null,
"board_info": null,
"button": null,
"card_item": null,
"cell_id": 7662061771686943000,
"cell_id_str": "7662061771686942986",
"cell_type": 1,
"city_name": "河北",
"club_info": null,
"collection_info": null,
"comment": null,
"comment_info": null,
"comment_show_ad": true,
"dislike_options": null,
"display_time": 1783962774,
"follow_options": null,
"game": null,
"hashtag": null,
"item": {
"activity": null,
"admin_debug": null,
"aha_image": [],
"ai_tag": null,
"album_intro": null,
"ancestor_comment_id": null,
"ancestor_id": "7662061771686942986",
"ancestor_schema": null,
"animations": null,
"audit_info": null,
"author": {
"achievements": [],
"age": "",
"author_info": {
"AuthorStatus": 1,
"author_item_type": 1,
"author_type": 104007473,
"level": 0,
"origin_status": 0,
"owner": "script",
"recommend_tag": "",
"tags": "… 0 items in the full response",
"user_id": 2956149300,
"user_real_name": "",
"username": "金池说事儿"
},
"avatar": {
"download_list": "… 1 items in the full response",
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-8gu37r9deh/946dbfd0c6774febbc5d11d1a732aeeb",
"url_list": "… 1 items in the full response",
"width": 200
},
"broadcast_info": null,
"certify_info": null,
"commerce_permission_list": null,
"creative_level_info": null,
"decoration_list": null,
"description": "",
"followers_count": 61,
"followings_count": 1,
"gender": 0,
"god_comment_count": 0,
"hide_age": null,
"horoscope": "",
"id": 2956149300,
"id_str": "2956149300",
"interaction_limitation": null,
"is_followed": null,
"is_following": null,
"language": "zh",
"level": 0,
"like_count": 6520,
"live_auth": false,
"liveing_info": null,
"medal_info": {
"total_medal": 1,
"wall_schema": "bds://webview?url=https%3A%2F%2Fapi.pipix.com%2Ffe%2Fneo%2Fbadge-wall%3FuserId%3D2956149300&hide_bar=1&hide_status_bar=1&hide_status_bar_icon=1&transparent_bg_back_icon=0",
"wear_medal_info": "…"
},
"name": "金池说事儿",
"profile_schema": "bds://user/profile?user_id=2956149300&page_index=1&item_id=7662061771686942986",
"punishments": null,
"recommend_reason": null,
"recommend_tag": null,
"region": "cn",
"status": 0,
"vote_count": 0
},
"author_display_tags": null,
"author_tags": "",
"can_download": false,
"cell_ui_ctrl": {
"display_style": null,
"image_style": null,
"show_author_tags": false
},
"club_info": null,
"club_relation": null,
"comment_post_item": false,
"comments": [],
"compilation_info": null,
"content": "苹果状告OPEN AI的来龙去脉!#金池说事儿 #热点新闻事件 #微博新知",
"cover": {
"download_list": [
"…"
],
"height": 720,
"is_gif": false,
"uri": "tos-cn-i-8gu37r9deh/oQELbJEpEnjEBkAZdeGfVIjfUIAHIGxMqAIAAB",
"url_list": [
"…"
],
"width": 1280
},
"create_time": 1783962774,
"debug_info": null,
"default_schema": "bds://cell_detail?item_id=7662061771686942986&type=2&item_cell_type=1",
"drainage_info": null,
"dup_item_schema": null,
"duration": 320.202,
"episode_info": null,
"expire_time": null,
"frozen_toast": "",
"game_card_info": null,
"hot_info": null,
"human_tags": null,
"interact_egg": {
"like_style": "default"
},
"interaction_status": null,
"is_best": null,
"is_hashtag_top": null,
"is_origin": null,
"item_cell_type": 1,
"…": "43 more fields in the full response"
},
"last_view_time": 0,
"live_info": null,
"pass_through": "{\"cell_id_str\":\"7662061771686942986\",\"cell_type\":\"1\"}",
"reply_info": null,
"saas_live_info": null,
"search_ad_card": null,
"search_attach_info": null,
"short_play": null,
"stickup": false,
"user_hot_item_list": null,
"user_info": null,
"user_items": null,
"users_hashtag": null
},
"… 16 more items in the full response"
],
"has_more": true,
"middleground": true,
"real_count": 20,
"user_id": null,
"user_id_str": null
},
"message": "success",
"prompt": "",
"status_code": 0,เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Searches Pipixia, the ByteDance humor community, for a keyword and returns a list of result cells. Each cell can hold a post, a hashtag or a group of users. The only required input is keyword.
enter_num and followers_num counts.offset to build a larger set of posts on one topic.curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "猫"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword. |
offset | string | No | Page cursor, default is 0, get the corresponding value from the offset Key in the previous page. |
search_type | string | No | Search type, available values are as follows: 1: Comprehensive; 8: Hot; 9: Fresh; 2: Video; 3: Photo; 4: User; 5: Hashtag |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"correct_query": "",
"data": [
{
"ad_info": null,
"album_info": null,
"banner_info": null,
"block_info": null,
"board_info": null,
"button": null,
"card_item": null,
"cell_id": 3106651107666071,
"cell_id_str": "3106651107666071",
"cell_type": 7,
"city_name": null,
"club_info": null
}
],
"has_more": true,
"middleground": true,
"real_count": 20,
"user_id": null,
"user_id_str": null
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1793691715421
}
| Field | Meaning |
|---|---|
data.data[] | One result cell. Check cell_type to see what the cell holds, then read the matching object such as item, hashtag or users_hashtag. |
data.data[].cell_id_str | ID of the cell as a string. For post cells it matches item.ancestor_id in the sample. |
data.data[].cell_type | Number that tells the cell kind. The sample shows 1 for cells with an item and 7 for a cell with users_hashtag. |
data.data[].display_time | Time value for the cell. The sample values look like Unix seconds. |
data.data[].city_name | Region name attached to the cell, for example 江苏. It is null when absent. |
data.data[].item.aha_image[] | Image objects for a post. Each one has uri, width, height, is_gif, and lists of image URLs in url_list and download_list. |
data.data[].hashtag.enter_num / data.data[].hashtag.followers_num | Counts for a hashtag attached to a result. enter_num is a total count and followers_num is the follower count. |
data.data[].hashtag.base_hashtag.category_list[].name | Category name of the hashtag, for example 搞笑区. |
data.data[].users_hashtag.users[] | Users matched by the keyword. Each row has age, article_count, achievements and an avatar image object. |
data.data[].search_attach_info | JSON string with extra search tracking data for the user and hashtag blocks. |
search_type to 1 (mixed results), 8 (hot), 9 (fresh), 2 (video), 3 (photo), 4 (user) or 5 (hashtag). The default is 1.offset value from the previous response. The first page uses 0.null. Only the object that matches cell_type is filled.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"offset": "0",
"keyword": "OpenAI",
"search_type": "1"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringจำเป็นSearch keyword.
offsetstringPage cursor, default is 0, get the corresponding value from the `offset` Key in the previous page.
ค่าเริ่มต้น: "0"
search_typestringSearch type, available values are as follows: 1: Comprehensive; 8: Hot; 9: Fresh; 2: Video; 3: Photo; 4: User; 5: Hashtag
ค่าเริ่มต้น: "1"
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"data": {
"correct_query": "",
"data": [
{
"ad_info": null,
"album_info": null,
"banner_info": null,
"block_info": null,
"board_info": null,
"button": null,
"card_item": null,
"cell_id": 10058752072255,
"cell_id_str": "10058752072255",
"cell_type": 7,
"city_name": null,
"club_info": null,
"collection_info": null,
"comment": null,
"comment_info": null,
"comment_show_ad": null,
"dislike_options": null,
"display_time": null,
"follow_options": null,
"game": null,
"hashtag": null,
"item": null,
"last_view_time": 0,
"live_info": null,
"pass_through": null,
"reply_info": null,
"saas_live_info": null,
"search_ad_card": null,
"search_attach_info": "{\"users_attach_info\":\"16959191537927760062:0:0:2112050242:20260820174040DD42F84562DFF28E92E7\",\"hashtags_attach_info\":null}",
"short_play": null,
"stickup": false,
"user_hot_item_list": null,
"user_info": null,
"user_items": null,
"users_hashtag": {
"hashtag": null,
"users": [
{
"achievements": "… 0 items in the full response",
"age": "",
"article_count": 0,
"authentication": null,
"author_ecom_info": null,
"author_info": null,
"avatar": "…",
"background": "…",
"birthday": null,
"broadcast_info": null,
"certify_info": "…",
"city": "",
"city_name": "未知",
"club_count": 0,
"commerce_permission_list": null,
"create_time": 1533110670,
"creative_level_info": null,
"decoration_list": null,
"description": "把经典的声音传到你耳边",
"followers_count": 83361,
"followings_count": 0,
"gender": 2,
"god_comment_count": 0,
"hide_age": null,
"hide_location": null,
"horoscope": "",
"id": 58752072255,
"id_str": "58752072255",
"interaction_limitation": null,
"is_block": false,
"is_default_avatar": false,
"is_default_name": false,
"is_followed": null,
"is_following": null,
"language": "zh",
"large_avatar": "…",
"level": 0,
"like_count": 178018,
"live_auth": false,
"liveing_info": null,
"…": "19 more fields in the full response"
},
{
"achievements": "… 0 items in the full response",
"age": "",
"article_count": 0,
"authentication": null,
"author_ecom_info": null,
"author_info": null,
"avatar": "…",
"background": "…",
"birthday": null,
"broadcast_info": null,
"certify_info": "…",
"city": "烟台",
"city_name": "未知",
"club_count": 0,
"commerce_permission_list": null,
"create_time": 1543287277,
"creative_level_info": null,
"decoration_list": null,
"description": "一个顾家的好男人。",
"followers_count": 22665,
"followings_count": 423,
"gender": 1,
"god_comment_count": 0,
"hide_age": null,
"hide_location": null,
"horoscope": "",
"id": 92312858149,
"id_str": "92312858149",
"interaction_limitation": null,
"is_block": false,
"is_default_avatar": false,
"is_default_name": false,
"is_followed": null,
"is_following": null,
"language": "zh",
"large_avatar": "…",
"level": 0,
"like_count": 222458,
"live_auth": false,
"liveing_info": null,
"…": "19 more fields in the full response"
},
"… 18 more items in the full response"
]
}
},
{
"ad_info": null,
"album_info": null,
"banner_info": null,
"block_info": null,
"board_info": null,
"button": null,
"card_item": null,
"cell_id": 7662061771686943000,
"cell_id_str": "7662061771686942986",
"cell_type": 1,
"city_name": "河北",
"club_info": null,
"collection_info": null,
"comment": null,
"comment_info": null,
"comment_show_ad": true,
"dislike_options": null,
"display_time": 1783962774,
"follow_options": null,
"game": null,
"hashtag": null,
"item": {
"activity": null,
"admin_debug": null,
"aha_image": [],
"ai_tag": null,
"album_intro": null,
"ancestor_comment_id": null,
"ancestor_id": "7662061771686942986",
"ancestor_schema": null,
"animations": null,
"audit_info": null,
"author": {
"achievements": [],
"age": "",
"author_info": {
"AuthorStatus": 1,
"author_item_type": 1,
"author_type": 104007473,
"level": 0,
"origin_status": 0,
"owner": "script",
"recommend_tag": "",
"tags": "… 0 items in the full response",
"user_id": 2956149300,
"user_real_name": "",
"username": "金池说事儿"
},
"avatar": {
"download_list": "… 1 items in the full response",
"height": 200,
"is_gif": false,
"uri": "tos-cn-i-8gu37r9deh/946dbfd0c6774febbc5d11d1a732aeeb",
"url_list": "… 1 items in the full response",
"width": 200
},
"broadcast_info": null,
"certify_info": null,
"commerce_permission_list": null,
"creative_level_info": null,
"decoration_list": null,
"description": "",
"followers_count": 61,
"followings_count": 1,
"gender": 0,
"god_comment_count": 0,
"hide_age": null,
"horoscope": "",
"id": 2956149300,
"id_str": "2956149300",
"interaction_limitation": null,
"is_followed": null,
"is_following": null,
"language": "zh",
"level": 0,
"like_count": 6520,
"live_auth": false,
"liveing_info": null,
"medal_info": {
"total_medal": 1,
"wall_schema": "bds://webview?url=https%3A%2F%2Fapi.pipix.com%2Ffe%2Fneo%2Fbadge-wall%3FuserId%3D2956149300&hide_bar=1&hide_status_bar=1&hide_status_bar_icon=1&transparent_bg_back_icon=0",
"wear_medal_info": "…"
},
"name": "金池说事儿",
"profile_schema": "bds://user/profile?user_id=2956149300&page_index=1&item_id=7662061771686942986",
"punishments": null,
"recommend_reason": null,
"recommend_tag": null,
"region": "cn",
"status": 0,
"vote_count": 0
},
"author_display_tags": null,
"author_tags": "",
"can_download": false,
"cell_ui_ctrl": {
"display_style": null,
"image_style": null,
"show_author_tags": false
},
"club_info": null,
"club_relation": null,
"comment_post_item": false,
"comments": [],
"compilation_info": null,
"content": "苹果状告OPEN AI的来龙去脉!#金池说事儿 #热点新闻事件 #微博新知",
"cover": {
"download_list": [
"…"
],
"height": 720,
"is_gif": false,
"uri": "tos-cn-i-8gu37r9deh/oQELbJEpEnjEBkAZdeGfVIjfUIAHIGxMqAIAAB",
"url_list": [
"…"
],
"width": 1280
},
"create_time": 1783962774,
"debug_info": null,
"default_schema": "bds://cell_detail?item_id=7662061771686942986&type=2&item_cell_type=1",
"drainage_info": null,
"dup_item_schema": null,
"duration": 320.202,
"episode_info": null,
"expire_time": null,
"frozen_toast": "",
"game_card_info": null,
"hot_info": null,
"human_tags": null,
"interact_egg": {
"like_style": "default"
},
"interaction_status": null,
"is_best": null,
"is_hashtag_top": null,
"is_origin": null,
"item_cell_type": 1,
"…": "43 more fields in the full response"
},
"last_view_time": 0,
"live_info": null,
"pass_through": "{\"cell_id_str\":\"7662061771686942986\",\"cell_type\":\"1\"}",
"reply_info": null,
"saas_live_info": null,
"search_ad_card": null,
"search_attach_info": null,
"short_play": null,
"stickup": false,
"user_hot_item_list": null,
"user_info": null,
"user_items": null,
"users_hashtag": null
},
"… 16 more items in the full response"
],
"has_more": true,
"middleground": true,
"real_count": 20,
"user_id": null,
"user_id_str": null
},
"message": "success",
"prompt": "",
"status_code": 0,
"time": 1787218841573
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Pipixia SearchAPI นี้ 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 ไปที่ https://api.sandbase.ai/v1/api/pipixia/app/search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: keyword (string). ตัวเลือก: offset (string) และ search_type (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Pipixia Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Pipixia API แยกต่างหาก