Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

YouTube Channel URL Lookup

API dokümanları
https://api.sandbase.ai/v1/api/youtube/web/channel-url

Returns the standard channel URL and vanity handle URL for a specified YouTube channel. Takes a unique channel ID as input to resolve public web addresses.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Channel ID (e.g., UCeu6U67OzJhV1KwBansH3Dg)
ÇıktıÖrnek
Yanıtoutputs · 218 B · 9 satır
[
  {
    "data": {
      "channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
      "channel_url": "https://www.youtube.com/channel/UCeu6U67OzJhV1KwBansH3Dg",
      "vanity_url": "http://www.youtube.com/@CozyCraftYT"
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

YouTube Channel URL Lookup API

Returns the standard channel URL and the vanity handle URL for a YouTube channel. It needs one input, the channel ID in the channel_id parameter.

Use cases

  • Turn a stored channel ID into a clickable YouTube channel link.
  • Find the @handle URL of a creator when your database only holds the channel ID.
  • Check that the channel IDs in a creator list resolve to public web addresses.
  • Add both link formats to a profile page or export for a channel.

Request

curl -X POST "https://api.sandbase.ai/v1/api/youtube/web/channel-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channel_id": "UCeu6U67OzJhV1KwBansH3Dg"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
channel_idstringYesChannel ID (e.g., UCeu6U67OzJhV1KwBansH3Dg)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "channel_id": "UCeu6U67OzJhV1KwBansH3Dg",
  "channel_url": "https://www.youtube.com/channel/UCeu6U67OzJhV1KwBansH3Dg",
  "vanity_url": "http://www.youtube.com/@CozyCraftYT"
}

Response fields

FieldMeaning
channel_idThe channel ID you sent in the request, echoed back. It starts with UC.
channel_urlThe channel page URL built from the channel ID, in the form https://www.youtube.com/channel/<channel_id>.
vanity_urlThe channel page URL that uses the creator's @handle, for example http://www.youtube.com/@CozyCraftYT. This value uses http rather than https.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
YouTube$0.001 çağrı başınaJSON
YouTube$0.001 çağrı başınaJSON
YouTube$0.001 çağrı başınaJSON
YouTube$0.001 çağrı başınaJSON
YouTube$0.001 çağrı başınaJSON
YouTube$0.001 çağrı başınaJSON

Kılavuzlar:Best YouTube API in 2026: Pricing Compared

Sorular

SSS

YouTube Channel URL Lookup API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/youtube/web/channel-url adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

YouTube Channel URL Lookup API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

YouTube Channel URL Lookup API'si hangi parametreleri kabul eder?

Gerekli: channel_id (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

YouTube Channel URL Lookup API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir YouTube geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. YouTube Channel URL Lookup, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. YouTube API erişimi için ayrıca başvuru yapmanız gerekmez.