Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Pipixia User Information

Tài liệu API
https://api.sandbase.ai/v1/api/pipixia/app/user-info

Retrieves public profile details for a Pipixia user, including avatar image URLs. Takes a user identifier obtained from a share link.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
AKA user id, can be obtained from the share link.
Đầu raVí dụ
Phản hồioutputs · 148 B · 10 dòng
[
  {
    "data": {
      "message": "no_login",
      "prompt": "账号授权过期,请重新登录",
      "status_code": 11002,
      "time": 1787218850783
    }
  }
]

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

Pipixia User Information API

This API returns the public profile of a Pipixia user, including name-related text, location, follower counts and avatar image URLs. It needs one input: the user_id, which you can take from a Pipixia share link.

Use cases

  • Show a Pipixia creator's avatar, bio and city on a community dashboard.
  • Track a creator's followers_count and like_count over time to compare accounts.
  • Check whether an account exists and whether profile_ban is set before you show its content.
  • Fill a third-party user record with the public Pipixia profile text and account creation date.

Request

curl -X POST "https://api.sandbase.ai/v1/api/pipixia/app/user-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "3602444694069495"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
user_idstringYesAKA user id, can be obtained from the share link.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "profile_ban": true,
    "user_info": {
      "achievements": [],
      "age": "36岁",
      "article_count": 0,
      "authentication": null,
      "author_ecom_info": null,
      "author_info": {
        "AuthorStatus": 1,
        "author_item_type": 1,
        "author_type": 104007473,
        "level": 0,
        "origin_status": 0,
        "owner": "script",
        "recommend_tag": "",
        "tags": []
      },
      "avatar": {
        "download_list": [
          {
            "url": "https://p9-ppx-sign.byteimg.com/tos-cn-i-8gu37r9deh/ba804bc702db4d568d93d2ef2a8f…"
          }
        ],
        "height": 200,
        "is_gif": false,
        "uri": "tos-cn-i-8gu37r9deh/ba804bc702db4d568d93d2ef2a8f3c51",
        "url_list": [
          {
            "url": "https://p9-ppx-sign.byteimg.com/tos-cn-i-8gu37r9deh/ba804bc702db4d568d93d2ef2a8f…"
          }
        ],
        "width": 200
      },
      "background": {
        "download_list": [],
        "height": 0,
        "is_gif": false,
        "uri": "",
        "url_list": [],
        "width": 0
      },
      "birthday": null,
      "broadcast_info": null,
      "certify_info": null,
      "city": "武汉"
    }
  },
  "message": "success",
  "prompt": "",
  "status_code": 0,
  "time": 1793691716469
}

Response fields

FieldMeaning
data.user_info.id_strThe user ID as a string. It matches the user_id you sent. Use this form instead of the numeric data.user_info.id to avoid precision loss.
data.user_info.descriptionThe bio text the user wrote on their profile.
data.user_info.followers_count / followings_countHow many accounts follow this user, and how many accounts this user follows.
data.user_info.like_countTotal likes shown on the profile.
data.user_info.city / city_name / age / horoscopeLocation, age and star sign text shown on the profile. In the sample these are Chinese strings, such as 36岁 for age.
data.user_info.create_timeAccount creation time as a Unix timestamp in seconds.
data.user_info.avatar.url_list[].urlSigned URL of the 200 by 200 avatar image. The width and height fields sit next to it.
data.user_info.large_avatar.url_list[].urlSigned URL of the 600 by 600 avatar image.
data.user_info.is_default_avatar / is_default_nameShow whether the user still has the default avatar or the default name.
data.profile_banBoolean flag about the profile ban state. It is true in the sample response.

Notes

  • Send user_id as a string. Take it from the user's Pipixia share link. If you only have a short link, try Pipixia Short URL Conversion first.
  • Many fields can be null or empty, such as authentication, birthday and background. Handle these cases in your code.
  • Avatar URLs carry an x-expires query value and a signature. Save the image soon after you fetch it.
  • To see what the user posted, call Pipixia User Post List. For their audience, call Pipixia User Follower List.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Pipixia$0.001 mỗi lần gọiJSON
Pipixia$0.001 mỗi lần gọiJSON
Pipixia$0.001 mỗi lần gọiJSON
Pipixia$0.001 mỗi lần gọiJSON
Pipixia$0.001 mỗi lần gọiJSON
Pipixia$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Pipixia API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Pipixia User Information?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/pipixia/app/user-info 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 Pipixia User Information 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 Pipixia User Information chấp nhận những tham số nào?

Bắt buộc: user_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Pipixia User Information 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 Pipixia không?

Không. Pipixia User Information 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.