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

TikTok Video IDs from URLs (Batch)

API दस्तावेज़
https://api.sandbase.ai/v1/api/tiktok/web/all-aweme-id

Resolves and extracts TikTok video IDs from a list of video URLs. Takes a list of video links to return corresponding item identifiers.

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

प्लेग्राउंड

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

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

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

API README

TikTok Video IDs from URLs (Batch) API

This API takes a list of TikTok video URLs and returns the video ID for each one. The response is a plain JSON array of ID strings. Send the links in the request body as an array.

Use cases

  • Turn a list of copied TikTok video links into video IDs before you call a video detail API.
  • Clean a spreadsheet of TikTok post URLs into a column of IDs for joins and deduplication.
  • Check which video an @username/video/... link points to without opening the page.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/all-aweme-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body": ["https://www.tiktok.com/@owlcitymusic/video/7218694761253735723"]}'

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

Parameters

NameTypeRequiredDescription
bodyarrayYesVideo link

Example response

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

[
  "7218694761253735723"
]

Response fields

FieldMeaning
[]The whole response is a list of video IDs. It has no wrapper object and no named fields.
[0]The first video ID in the list. In the example, the single link returns 7218694761253735723, which is the number after /video/ in the URL.
[] / [0]Each ID is a string of digits, not a JSON number.

Notes

  • The response is a top-level array, not an object. It has no named fields.
  • Video IDs come back as strings of digits. Keep them as strings in your code.
  • To fetch details for a video once you have its ID, call TikTok Video Detail.
  • To resolve one link at a time, use TikTok Video ID from URL.

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कीमतप्रतिक्रिया
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.05 प्रति कॉलJSON
TikTok$0.002 प्रति कॉलJSON

गाइड्स:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

प्रश्न

FAQ

TikTok Video IDs from URLs (Batch) API का उपयोग कैसे करें?

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

TikTok Video IDs from URLs (Batch) API की लागत कितनी है?

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

TikTok Video IDs from URLs (Batch) API कौन-से parameters स्वीकार करती है?

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

TikTok Video IDs from URLs (Batch) API क्या लौटाती है?

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

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

नहीं। TikTok Video IDs from URLs (Batch) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।