Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

YouTube Signed Video Stream URL

API-Dokumentation
https://api.sandbase.ai/v1/api/youtube/web-v2/signed-stream-url

Returns a signed playback stream URL for a specific YouTube video format. Requires a format itag identifier alongside either a video ID or full video link.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 2 optional
100 kostenlose Aufrufe / TagDie ersten 100 Aufrufe pro Tag kostenlos (organisationsweit geteilt) · Zurücksetzung um 00:00 UTC. Danach Abrechnung pro Aufruf.

Playground

Eingabe
Format identifier, selected from formats list returned by get_video_streams
Video ID (recommended)
Full video URL (optional)
AusgabeBeispiel
Antwortoutputs · 701 B · 9 Zeilen
[
  {
    "data": {
      "expires_in_seconds": 21600,
      "itag": 18,
      "url": "https://rr6---sn-bvvbaxivnuxqjvhj5nu-hp56.googlevideo.com/videoplayback?expire=1790713536&ei=YMq7aqHfG_yLut0P-tTSSQ&ip=76.153.140.203&id=o-AFy0UPGNBbD9EAfvG-1LN4Ye9_CrF5MOUXqWHJjzKY7H&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1790691936%2C&mh=7c&mm=18%2C29&mn=sn-bvvbaxivnuxqjvhj5nu-hp56%2Csn-hp57knk7&ms=aub%2Crdu&mv=m&mvi=6&pl=23&rms=aub%2Caub&initcwndbps=4024500&bui=AWzQHwrkGdalR1KzZo862nm05ap9aIF1UE7YfGBWL4YbLSGNh82tuy5DdfQjXvYrJbcMD8qhdAdSk643&spc=I-rgIRoihLWN_AtuHQdSzB9qnW93I9Vsc6DVqsVNW3CV-l3kEZd2tdS7jnjdCTEPx7xbFU7UIO7s5eeRl5Iw7OIO6qd5O_dO7s0&vprv=1&svpuc=1&mime=vide…"
    }
  }
]

Beispiele

Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.

API-README

YouTube Signed Video Stream URL API

Returns a signed playback stream URL ready for playback using a format itag and either a video_id or video_url.

Use cases

  • Stream a selected YouTube video format in a media player.
  • Obtain direct playback links based on a specific format itag.
  • Access playable video streams using either a video ID or full URL.

Request

curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/signed-stream-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"itag": 18}'

Parameters

NameTypeRequiredDescription
itagintegerYesFormat identifier, selected from formats list returned by get_video_streams
video_idstringNoVideo ID (recommended)
video_urlstringNoFull video URL (optional)

Notes

  • The itag value must come from the formats list returned by the video streams endpoint.
  • Supply either video_id (recommended) or video_url to specify the target video.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
YouTube$0.001 pro AufrufJSON
YouTube$0.001 pro AufrufJSON
YouTube$0.001 pro AufrufJSON
YouTube$0.001 pro AufrufJSON
YouTube$0.001 pro AufrufJSON
YouTube$0.001 pro AufrufJSON

Anleitungen:Best YouTube API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die YouTube Signed Video Stream URL API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/youtube/web-v2/signed-stream-url 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 YouTube Signed Video Stream URL API?

$0.001 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.

Welche Parameter akzeptiert die YouTube Signed Video Stream URL API?

Erforderlich: itag (integer). Optional: video_id (string) und video_url (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die YouTube Signed Video Stream URL API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).

Benötige ich ein YouTube-Entwicklerkonto oder einen API-Schlüssel?

Nein. YouTube Signed Video Stream URL 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 YouTube API beantragen.