GET /v1/utils/shorts-url-from-id

Shorts URL

Baut die /shorts/...-URL.

Essayez-le en direct

Un appel gratuit par session — pas d'inscription, pas de clé API. Passe par le portail d'Oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/youtube-api

Extraits de code

curl "https://api.oanor.com/youtube-api/v1/utils/shorts-url-from-id" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/youtube-api/v1/utils/shorts-url-from-id", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/youtube-api/v1/utils/shorts-url-from-id");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/youtube-api/v1/utils/shorts-url-from-id",
    headers={"x-oanor-key": "oanor_test_..."}
)