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

Xigua Single Video Information

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

Returns lightweight single video data and associated related video information from Xigua for a specific post by its unique item ID.

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

प्लेग्राउंड

इनपुट
Video id
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Xigua Single Video Information API

Returns data for one Xigua video: like, repost and danmaku counts, author info, categories, and a list of related videos. It needs the video's item_id.

Use cases

  • Track the like and repin_count totals of a single Xigua video.
  • Pull the author's follower count and video total from the same call as the video stats.
  • Collect related videos for a post to map which content Xigua groups together.
  • Read the category labels of a video to sort clips by topic.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xigua/app-v2/one-video" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "7354954305222377999"}'

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

Parameters

NameTypeRequiredDescription
item_idstringYesVideo id

Example response

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

{
  "data": {
    "ban_audio_comment": false,
    "ban_audio_comment_reason": "",
    "ban_comment": 0,
    "ban_danmaku": 0,
    "ban_danmaku_reason": "",
    "ban_danmaku_send": 0,
    "ban_share": 0,
    "content": "<p>\n<p>\n<div class=\"custom-video\" data-sp=\"0\" data-vid=\"v0201ag10000co90nejc77u3…",
    "danmaku_count": 36,
    "delete": 0,
    "digg_control": null,
    "digg_count": 42555
  },
  "message": "success"
}

Response fields

FieldMeaning
data.digg_count / data.video_like_countLike count of the video. Both fields show the same value in this response.
data.repin_countCount of saves or reposts for the video, as named by the key.
data.danmaku_countNumber of danmaku (scrolling comments) on the video.
data.ip_info.addressLocation label shown for the post, such as a province name.
data.user_info.name / data.user_info.user_idDisplay name and numeric ID of the video's author.
data.user_info.follower_count / data.user_info.followers_count_strAuthor follower count as a number and as a short display string such as 118万.
data.user_info.video_total_countTotal number of videos the author has posted.
data.video_categories[].level1 / level2 / level3Category labels for the video, from broad to narrow.
data.related_video_toutiao[].article_urlLink to each related video page.
data.related_video_toutiao[].digg_count / comment_count / danmaku_countLike, comment and danmaku counts for each related video.
data.share_urlShare link for the video.

Notes

  • item_id is the numeric video ID. It matches data.group_id in the response.
  • data.video_play_info is a JSON string. For a direct playback URL, call Xigua Video Play URL.
  • To read the comments on this video, use Xigua Video Comment List.
  • data.related_video_toutiao[].behot_time looks like a Unix timestamp in seconds.

Pricing

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

Read a Xigua video you already selected

Send the known numeric video identifier as item_id. The reference says it corresponds to data.group_id in the returned record. A search card's internal id, a user_id and a display title are different identifiers. Keep the original string ID beside the saved response; do not derive a new ID from a rounded numeric display.

This lightweight endpoint describes video counters, author fields and related_video_toutiao entries. It is not a guarantee of a title, a transcript or a media download. Inspect the actual fields and retain absent values as unknown. Likes, saves and danmaku counts are different metrics; one record cannot establish engagement over time or audience reach.

The reference describes video_play_info as a JSON string. Its presence does not mean this call downloads or plays a video. Related-video links are recommendations, not the selected video's comments or the author's full posting history. Reading comments or resolving a direct playback URL are separate tasks and can require additional calls.

Need to choose a video first? Use Video Search and review its structured candidate cards. The single-video schema has no paging parameters, and this first request does not follow related links automatically.

Give your agent one video research task

Already have a key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for POST /v1/api/ with Bearer authentication. An already connected agent needs the selected endpoint and keyword or item_id. To start a project, share the setup Skill, Markdown quickstart and your desired result. Save one response before deciding on another request.

Validate completed SandBase status and outputs[0].data before interpreting the provider response. The selected routes have different business envelopes: search references show err_code 0; single-video references show message success and an inner data object. Do not silently return an empty success when a required envelope or object is missing, and do not require the search flag on the video-detail route.

Pricing checked on 2026-11-08: both selected endpoints list $0.001 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility is not a remaining-quota measurement. Check current pricing before execution. No new business query was made for this revision. The Xigua Python research guide separates current instructions from historical records.

और जानें

संबंधित 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 Single Video Information API का उपयोग कैसे करें?

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

Xigua Single Video Information API की लागत कितनी है?

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

Xigua Single Video Information API कौन-से parameters स्वीकार करती है?

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

Xigua Single Video Information API क्या लौटाती है?

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

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

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

Single Video Information किस identifier को स्वीकार करता है?

चयनित video का numeric ID item_id के रूप में भेजें। reference इसे data.group_id से मैप करता है। search card ID, user ID या title विकल्प नहीं हैं; original identifier string को बनाए रखें, rounded numeric display को नहीं।

क्या यह endpoint transcript लौटाता है या video डाउनलोड करता है?

इस reference से ऐसा कोई result स्थापित नहीं होता। यह lightweight metadata, counters, author fields और related videos का वर्णन करता है। video_play_info को JSON string बताया गया है; playback URL resolution और comments अलग requests हैं।

क्या मैं video detail के लिए search err_code check का पुन: उपयोग कर सकता हूँ?

चयनित references अलग provider envelopes का उपयोग करते हैं: search में err_code 0 दिखता है, जबकि single-video में inner data object के साथ message success दिखता है। पूर्ण किए गए SandBase outputs[0].data को validate करें, फिर चयनित route की documented shape को।