Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Douyin Video ID Extractor

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.

料金
$0.001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 0 件

プレイグラウンド

入力
出力例
レスポンスoutputs · 45 B · 5 行
[
  {
    "data": "7675551740036612985"
  }
]

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

API README

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.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.03 / 回JSON
Douyin$0.15 / 回JSON

ガイド:Best Douyin API in 2026: Pricing Compared

質問

FAQ

Douyin Video ID Extractor API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/web/aweme-id に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Douyin Video ID Extractor API の料金はいくらですか?

1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Douyin Video ID Extractor API はどのパラメータを受け付けますか?

必須: url (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Douyin Video ID Extractor API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Douyin の開発者アカウントまたは API key は必要ですか?

いいえ。Douyin Video ID Extractor は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。