Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Douyin Video ID Extractor

Dokumentasi API
https://api.sandbase.ai/v1/api/douyin/web/aweme-id

Extracts the internal video ID from a given Douyin video web URL. Useful for parsing links before calling downstream video detail endpoints.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 0 opsional

Playground

Input
OutputContoh
Responsoutputs · 45 B · 5 baris
[
  {
    "data": "7675551740036612985"
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

Douyin Video ID Extractor API

Extract the aweme_id (Douyin video ID) from a Douyin video link. Pass a https://www.douyin.com/video/<aweme_id> link.

Use cases

  • Normalize shared links before calling video detail, comments or download APIs, which take aweme_id.
  • Deduplicate videos collected as links from different sources.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/aweme-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.douyin.com/video/7512756548356492544"}'

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

Parameters

NameTypeRequiredDescription
urlstringYes

Example response

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

"7512756548356492544"

Response fields

FieldMeaning
(body)The aweme_id as a string, for example "7512756548356492544".

Notes

  • For many links in one call use Douyin All Aweme IDs.
  • Keep the ID as a string; it exceeds JavaScript's safe integer range.

Pricing

$0.001 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.03 per panggilanJSON
Douyin$0.15 per panggilanJSON

Panduan:Best Douyin API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Douyin Video ID Extractor?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/web/aweme-id dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Douyin Video ID Extractor?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Douyin Video ID Extractor?

Wajib: url (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Douyin Video ID Extractor?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Douyin?

Tidak. Douyin Video ID Extractor berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.