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

Douyin Batch Video ID Extraction

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

Extracts video IDs from a list of Douyin video URLs. Accepts an array of links and returns the corresponding item identifiers.

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

Playground

Input
Video link list
OutputContoh
Responsoutputs · 59 B · 7 baris
[
  {
    "data": [
      "7512756548356492544"
    ]
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

Douyin Batch Video ID Extraction API

Extract aweme_id values (Douyin video IDs) from several Douyin video links in one call.

Use cases

  • Convert a batch of shared links into IDs for bulk video detail or comment collection.

Request

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

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

Parameters

NameTypeRequiredDescription
bodyarrayYesVideo link list

Example response

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

[
  "7512756548356492544"
]

Response fields

FieldMeaning
(body)Array of aweme_id strings, in the order of the input links.

Notes

  • Pass the links as a JSON array in body.
  • For a single link use Douyin Aweme ID.

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 Batch Video ID Extraction?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/web/all-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 Batch Video ID Extraction?

$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 Batch Video ID Extraction?

Wajib: body (array). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Douyin Batch Video ID Extraction?

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 Batch Video ID Extraction 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.