Pipixia Search

API docs
https://api.sandbase.ai/v1/api/pipixia/app/search

Search Pipixia (ByteDance humor community) by keyword across posts, videos, images, users and hashtags.

Price
$0.001USD / call
Method
POST
Response
JSON
Parameters
1 required · 2 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
Search keyword.
Page cursor, default is 0, get the corresponding value from the `offset` Key in the previous page.
Search type, available values are as follows: 1: Comprehensive; 8: Hot; 9: Fresh; 2: Video; 3: Photo; 4: User; 5: Hashtag
OutputExample
Responseoutputs · 671.8 KB · 12,661 lines
[
  {
    "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": [],
                  "age": "",
                  "article_count": 0,
                  "authentication": null,
                  "author_ecom_info": null,
                  "author_info": null,
                  "avatar": {
                    "download_list": [
                      {
                        "url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-0000/34e59b5cf0df4208a092613171712f3a~tplv-f3gpralwbh-image.image?lk3s=1e780327&x-expires=1818754841&x-signature=n0mjsKdGulzs4n55TP0omoUkhp4%3D"
                      }
                    ],
                    "height": 200,
                    "is_gif": false,
                    "uri": "tos-cn-i-0000/34e59b5cf0df4208a092613171712f3a",
                    "url_list": [
                      {
                        "url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-0000/34e59b5cf0df4208a092613171712f3a~tplv-f3gpralwbh-noop-v4:200:200:q60.webp?lk3s=1e780327&x-expires=1818754841&x-signature=3N%2BflP%2FAL2iKkdkuJpM1oLGmDCY%3D"
                      }
                    ],
                    "width": 200
                  },
                  "background": {
                    "download_list": [],
                    "height": 0,
                    "is_gif": false,
                    "uri": "",
                    "url_list": [],
                    "width": 0
                  },
                  "birthday": null,
                  "broadcast_info": null,
                  "certify_info": {
                    "certify_type": 3,
                    "description": "知名音乐人,皮皮虾音乐视频创作者"
                  },
                  "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": {
                    "download_list": [
                      {
                        "url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-0000/34e59b5cf0df4208a092613171712f3a~tplv-f3gpralwbh-image.image?lk3s=1e780327&x-expires=1818754841&x-signature=n0mjsKdGulzs4n55TP0omoUkhp4%3D"
                      }
                    ],
                    "height": 600,
                    "is_gif": false,
                    "uri": "tos-cn-i-0000/34e59b5cf0df4208a092613171712f3a",
                    "url_list": [
                      {
                        "url": "https://p6-ppx-sign.byteimg.com/tos-cn-i-0000/34e59b5cf0df4208a092613171712f3a~tplv-f3gpralwbh-noop-v4:600:600:q60.webp?lk3s=1e780327&x-expires=1818754841&x-signature=0YJ59svsiD0%2F%2FZ5WFMt%2Bzx%2F0vZk%3D"
                      }
                    ],
                    "width": 600
                  },
                  "level": 0,
                  "like_count": 178018,
                  "live_auth": false,
                  "liveing_info": null,
                  "location": null,
                  "medal_info": {
                    "total_medal": 2,
                    "wall_schema": "bds://webview?url=https%3A%2F%2Fapi.pipix.com%2Ffe%2Fneo%2Fbadge-wall%3FuserId%3D58752072255&hide_bar=1&hide_status_bar=1&hide_status_bar_icon=1&transparent_bg_back_icon=0",
                    "wear_medal_info": null
                  },
                  "name": "亮声<em>open</em>",
                  "point": null,
                  "point_status": 0,
                  "privilege": {
                    "can_bullet": true,
                    "can_read_bullet": true,
                    "can_repost": false,
                    "featured_bullet": false
                  },
                  "profile_schema": "bds://user/profile?user_id=58752072255&page_index=1",
                  "punishments": null,
                  "real_name_schema": null,
                  "recommend_reason": null,
                  "recommend_tag": null,
                  "region": "cn",
                  "remark": null,
                  "service_contract": [],
                  "share": {
                    "android": null,
                    "compound_page_url": null,
                    "content": null,
                    "douyin_url": null,
                    "image_url": null,
                    "ios": null,
                    "large_image_url": "",
                    "link_text": null,
                    "moments_strategy": null,
                    "moments_url": null,
                    "qq_strategy": null,
                    "qq_url": null,
                    "qzone_strategy": null,
                    "qzone_url": null,
                    "schema": "",
                    "share_text": null,
                    "share_url": "",
                    "title": "",
                    "wechat_url": null,
                    "weixin_strategy": null
                  },
                  "status": 0,
                  "user_real_name": null,
                  "user_type": 0,
                  "vote_count": 0
                },
                {
                  "achievements": [],
                  "age": "",
                  "article_count": 0,
                  "authentication": null,
                  "author_ecom_info": null,
                  "author_info": null,
                  "avatar": {
                    "download_list": [
                      {
                        "url": "https://p6-ppx-sign.byteimg.com/tos-cn-i-0000/b4196dd60ef54b73b953d6863c1814da~tplv-f3gpralwbh-image.image?lk3s=1e780327&x-expires=1818754841&x-signature=bJrmVB4w%2BSR00pQuiDSKt9Fv7lE%3D"
                      }
                    ],
                    "height": 200,
                    "is_gif": false,
                    "uri": "tos-cn-i-0000/b4196dd60ef54b73b953d6863c1814da",
                    "url_list": [
                      {
                        "url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-0000/b4196dd60ef54b73b953d6863c1814da~tplv-f3gpralwbh-noop-v4:200:200:q60.webp?lk3s=1e780327&x-expires=1818754841&x-signature=rOY7fu8lE1Zqf2cd9S2ZqOq7XkM%3D"
                      }
                    ],
                    "width": 200
                  },
                  "background": {
                    "download_list": [],
                    "height": 0,
                    "is_gif": false,
                    "uri": "",
                    "url_list": [],
                    "width": 0
                  },
                  "birthday": null,
                  "broadcast_info": null,
                  "certify_info": {
                    "certify_type": 1,
                    "description": "皮皮虾篮球热点达人"
                  },
                  "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": {
                    "download_list": [
                      {
                        "url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-0000/b4196dd60ef54b73b953d6863c1814da~tplv-f3gpralwbh-image.image?lk3s=1e780327&x-expires=1818754841&x-signature=aZzgeUsZYoM1K9wJd35uD4QwBG8%3D"
                      }
                    ],
                    "height": 600,
                    "is_gif": false,
                    "uri": "tos-cn-i-0000/b4196dd60ef54b73b953d6863c1814da",
                    "url_list": [
                      {
                        "url": "https://p9-ppx-sign.byteimg.com/tos-cn-i-0000/b4196dd60ef54b73b953d6863c1814da~tplv-f3gpralwbh-noop-v4:600:600:q60.webp?lk3s=1e780327&x-expires=1818754841&x-signature=2PFBiWYJMlaJjfqcX%2FIXFkwP2NU%3D"
                      }
                    ],
                    "width": 600
                  },
                  "level": 0,
                  "like_count": 222458,
                  "live_auth": false,
                  "liveing_info": null,
                  "location": null,
                  "medal_info": {
                    "total_medal": 3,
                    "wall_schema": "bds://webview?url=https%3A%2F%2Fapi.pipix.com%2Ffe%2Fneo%2Fbadge-wall%3FuserId%3D92312858149&hide_bar=1&hide_status_bar=1&hide_status_bar_icon=1&transparent_bg_back_icon=0",
                    "wear_medal_info": {
                      "extra": {
                        "TextBgColorEnd": {
                          "alpha": 1,
                          "color": "#EBD6FF"
                        },
                        "TextBgColorStart": {
                          "alpha": 1,
                          "color": "#FFFFFF"
                        },
                        "TextColorEnd": {
                          "alpha": 1,
                          "color": "#665ECE"
                        },
                        "TextColorStart": {
                          "alpha": 1,
                          "color": "#665ECE"
                        },
                        "bgtype": 2,
                        "color": "#FFF2D9"
                      },
                      "icon": {
                        "download_list": null,
                        "height": 0,
                        "is_gif": false,
                        "uri": "tos-cn-i-8gu37r9deh/ogUeQA0E1QjAdCTbhGIAmqnkAJW8DAqkCgfLhy",
                        "url_list": [
                          {
                            "url": "https://p3-ppx-sign.byteimg.com/tos-cn-i-8gu37r9deh/ogUeQA0E1QjAdCTbhGIAmqnkAJW8DAqkCgfLhy~tplv-f3gpralwbh-noop-v4:0:0:q60.webp?x-expires=1818754841&x-signature=4zGHkbAFBBXO7NBApBg5rZRi2mA%3D"
                          }
                        ],
                        "width": 0
                      },
                      "icon_flow": {
                        "download_list": null,
                        "height": 0,
                        "is_gif": false,
                        "uri": "tos-cn-i-8gu37r9deh/owAaANJ4zADkfA8EfKhHhAEjyCCIcqFgD71G4A",
                        "url_list": [
                          {

Examples

Select an example to load its inputs and result into the playground.

API README

Pipixia Search API

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.

Use cases

  • Collect posts that match a keyword such as a topic or brand name.
  • Find user accounts that appear for a keyword and read their avatars and age text.
  • Discover hashtags related to a keyword and check their enter_num and followers_num counts.
  • Page through results with offset to build a larger set of posts on one topic.

Request

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.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword.
offsetstringNoPage cursor, default is 0, get the corresponding value from the offset Key in the previous page.
search_typestringNoSearch type, available values are as follows: 1: Comprehensive; 8: Hot; 9: Fresh; 2: Video; 3: Photo; 4: User; 5: Hashtag

Example response

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
}

Response fields

FieldMeaning
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_strID of the cell as a string. For post cells it matches item.ancestor_id in the sample.
data.data[].cell_typeNumber 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_timeTime value for the cell. The sample values look like Unix seconds.
data.data[].city_nameRegion 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_numCounts 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[].nameCategory 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_infoJSON string with extra search tracking data for the user and hashtag blocks.

Notes

  • Set search_type to 1 (mixed results), 8 (hot), 9 (fresh), 2 (video), 3 (photo), 4 (user) or 5 (hashtag). The default is 1.
  • For the next page, pass the offset value from the previous response. The first page uses 0.
  • Many fields in each cell are null. Only the object that matches cell_type is filled.
  • To get full data for a result, call Pipixia Post Detail, Pipixia User Information or Pipixia Hashtag Details.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explore more

Related APIs

All APIs
APIPriceResponse
Pipixia$0.001 per callJSON
Pipixia$0.001 per callJSON
Pipixia$0.001 per callJSON
Pipixia$0.001 per callJSON
Pipixia$0.001 per callJSON
Pipixia$0.001 per callJSON

Questions

FAQ

How do I use the Pipixia Search API?

Send a POST request to https://api.sandbase.ai/v1/api/pipixia/app/search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Pipixia Search API cost?

$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Pipixia Search API accept?

Required: keyword (string). Optional: offset (string) and search_type (string). The Parameters table and the Playground on this page list every field.

What does the Pipixia Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Pipixia developer account or API key?

No. Pipixia Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Pipixia API access separately.