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

YouTube Channel ID Lookup

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

Retrieves the unique YouTube channel ID associated with a specific channel name. Provide the target channel name to receive the matching channel identifier.

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

Oynatma Alanı

Girdi
Channel name.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

YouTube Channel ID Lookup API

This API returns the YouTube channel ID that matches a channel name. It needs one input, channel_name, and returns the ID with the name it matched.

Use cases

  • Convert a creator's channel name into a channel ID before you store it in a database.
  • Get the channel ID you need to call other YouTube channel APIs.
  • Check that a channel name maps to the channel ID you expect.

Request

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

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

Parameters

NameTypeRequiredDescription
channel_namestringYesChannel name.

Example response

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

{
  "channel_id": "UCXuqSBlHAE6Xw-yeJA0Tunw",
  "channel_name": "LinusTechTips"
}

Response fields

FieldMeaning
channel_idThe YouTube channel ID for the matched channel. It starts with UC, as in UCXuqSBlHAE6Xw-yeJA0Tunw.
channel_nameThe channel name in the response. It matches the channel_name you sent in the example request.

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 ID 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-id adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

YouTube Channel ID 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 ID Lookup API'si hangi parametreleri kabul eder?

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

YouTube Channel ID 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 ID 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.