Douyin Video ID Extractor
https://api.sandbase.ai/v1/api/douyin/web/aweme-idExtracts the internal video ID from a given Douyin video web URL. Useful for parsing links before calling downstream video detail endpoints.
- Preis
- $0.001USD / Aufruf
- Methode
- POST
- Antwort
- JSON
- Parameter
- 1 erforderlich · 0 optional
Playground
[
{
"data": "7675551740036612985"
}
]Beispiele
Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
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
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
"7512756548356492544"
Response fields
| Field | Meaning |
|---|---|
(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.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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://static.sandbase.ai/examples/8199cdcf-9adb-4073-a093-e4e83b70e1d0/input/0598f8d8-d74b-4fae-997a-faec7227135f.bin"
}'2. Authentifizierung
Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
3. Parameter
4. Antwort
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
[
{
"data": "7675551740036612985"
}
]Mehr entdecken
Verwandte APIs
| API | Preis | Antwort |
|---|---|---|
Douyin Video ID ExtractorDiese API Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.03 pro Aufruf | JSON |
Douyin | $0.15 pro Aufruf | JSON |
Anleitungen:Best Douyin API in 2026: Pricing Compared
Fragen
FAQ
Wie verwende ich die Douyin Video ID Extractor API?
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/douyin/web/aweme-id mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
Was kostet die Douyin Video ID Extractor API?
$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Welche Parameter akzeptiert die Douyin Video ID Extractor API?
Erforderlich: url (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Was gibt die Douyin Video ID Extractor API zurück?
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Benötige ich ein Douyin-Entwicklerkonto oder einen API-Schlüssel?
Nein. Douyin Video ID Extractor läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Douyin API beantragen.
