Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Xigua User Profile Details

API दस्तावेज़
https://api.sandbase.ai/v1/api/xigua/app-v2/user-info

Returns profile and personal information for a specified Xigua account. Queries details using the target user identifier.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट
User id
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 399 B · 21 पंक्तियाँ
[
  {
    "data": {
      "bottom_tab_list": [],
      "data": [],
      "debug_info": "",
      "has_more": false,
      "has_more_to_refresh": true,
      "live_data": null,
      "live_datas": null,
      "message": "success",
      "room_id_str": "",
      "shop_tab_url": "",
      "status": 0,
      "tab": "",
      "tab_list": [],
      "total_number": 0,
      "user_info": null
    }
  }
]

उदाहरण

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।

API README

Xigua User Profile Details API

Returns the public profile of a Xigua account, including name, bio, verification status, follower counts and video totals. It needs one input, the numeric user_id of the account.

Use cases

  • Show a creator's name, avatar and bio on a profile card.
  • Compare follower counts across several Xigua creators before picking partners.
  • Check whether an account is verified and read its verification label.
  • Track a creator's video_total_count and follower totals over time.

Request

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

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

Parameters

NameTypeRequiredDescription
user_idstringYesUser id

Example response

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

{
  "bottom_tab_list": [],
  "data": [],
  "debug_info": "",
  "has_more": false,
  "has_more_to_refresh": true,
  "live_data": null,
  "live_datas": null,
  "message": "success",
  "room_id_str": "",
  "shop_tab_url": "",
  "status": 0,
  "tab": ""
}

Response fields

FieldMeaning
user_info.nameDisplay name of the account.
user_info.description / user_info.author_descProfile bio text and the author description shown on the account.
user_info.user_id / user_info.media_idNumeric account ID and numeric media ID of the account.
user_info.followers_count / user_info.followers_count_strFollower total as a number and as a short display string such as 2488万.
user_info.followers_count_detail.toutiao_followers_count / user_info.followers_count_detail.xigua_followers_countFollower counts split into the Toutiao and Xigua parts.
user_info.following_countNumber of accounts this user follows.
user_info.user_verified / user_info.verified_contentWhether the account is verified, and the verification label text.
user_info.video_total_count / user_info.author_info.video_total_share_countTotal number of videos posted and total share count across them.
user_info.user_digg_count.article_digg_count / user_info.user_digg_count.comment_digg_countLike counts the user received on articles and on comments.
user_info.avatar_url / user_info.large_avatar_urlImage URLs for the avatar, in a small and a large size.
user_info.share_urlLink to the user's public page on Xigua.
user_info.ip_info.addressLocation label shown on the profile.

Notes

  • user_id is a numeric string, for example 52712347586. It also appears in user_info.share_url.
  • The top-level data, tab_list and total_number fields carry no profile data in this response. Read profile details from user_info.
  • To list the videos this account posted, call Xigua User Post List.
  • To fetch one video from a user's list, call Xigua Single Video Information.

Pricing

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

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Xigua$0.001 प्रति कॉलJSON
Xigua$0.001 प्रति कॉलJSON
Xigua$0.001 प्रति कॉलJSON
Xigua$0.001 प्रति कॉलJSON
Xigua$0.001 प्रति कॉलJSON
Xigua$0.001 प्रति कॉलJSON

प्रश्न

FAQ

Xigua User Profile Details API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/xigua/app-v2/user-info पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Xigua User Profile Details API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Xigua User Profile Details API कौन-से parameters स्वीकार करती है?

आवश्यक: user_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Xigua User Profile Details API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Xigua developer account या API key चाहिए?

नहीं। Xigua User Profile Details SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Xigua API access के लिए आवेदन करने की आवश्यकता नहीं है।