Douyin Webcast ID Extractor
https://api.sandbase.ai/v1/api/douyin/web/webcast-idResolves and returns the webcast ID from a Douyin live stream web link. Requires the stream URL as input to retrieve internal webcast identifiers.
- 料金
- $0.001USD / 回
- メソッド
- POST
- レスポンス
- JSON
- パラメータ
- 必須 1 件 · 任意 0 件
プレイグラウンド
[
{
"data": "820656545855"
}
]例
例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
API README
Douyin Webcast ID Extractor API
Look up internal webcast identifiers directly from a Douyin stream link by supplying url.
Use cases
- Extract internal webcast identifiers from standard Douyin stream URLs.
- Resolve live stream room parameters for downstream data collection.
- Verify target broadcast IDs from web links.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/webcast-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://live.douyin.com/775841227732"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | — |
Notes
- Provide a valid stream link in
urlsuch as standard live broadcast web addresses.
Pricing
Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
開発を始める
最初のリクエストを送信
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/webcast-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://static.sandbase.ai/examples/590a708e-2714-4ede-aaf9-860b25b907ff/input/fd36a8df-fe90-4379-80f3-91bc83b2c4b2.bin"
}'2. 認証
SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
3. パラメータ
4. レスポンス
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": "820656545855"
}
]さらに探索
関連 APIs
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.03 / 回 | JSON |
質問
FAQ
Douyin Webcast ID Extractor API はどのように使いますか?
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/web/webcast-id に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
Douyin Webcast ID Extractor API の料金はいくらですか?
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
Douyin Webcast ID Extractor API はどのパラメータを受け付けますか?
必須: url (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
Douyin Webcast ID Extractor API は何を返しますか?
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
Douyin の開発者アカウントまたは API key は必要ですか?
いいえ。Douyin Webcast ID Extractor は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。
