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

YouTube Trending Shorts

API dokümanları
https://api.sandbase.ai/v1/api/youtube/trending-shorts

List currently trending YouTube Shorts (title, channel, views, likes, duration).

Fiyat
Başlangıç fiyatı $0.0012USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Kullanılabilir giriş şeması yok
Çı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 Trending Shorts API

Returns a list of YouTube Shorts that are currently trending. It needs no input: send an empty JSON object {}. Each item has the title, channel, view, like and comment counts, duration, and links.

Use cases

  • Spot which Shorts are gaining views right now to find topics for your own content.
  • Track the channels and categories that appear most often in the trending list.
  • Build a dashboard or feed that shows trending Shorts with thumbnails and links.
  • Collect channel IDs from trending Shorts and pass them to a channel lookup for deeper research.

Request

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

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

Example response

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

{
  "data": {
    "shorts": [
      {
        "authorHandle": "globalmindapparel",
        "authorId": "UC2pn4FHmt3Td-A2kkhcYAqg",
        "authorUrl": "https://www.youtube.com/@globalmindapparel",
        "category": "People & Blogs",
        "channelTitle": "Global Mind Apparel",
        "comments": 16000,
        "createdUtc": 1790109026,
        "duration": "00:02:24",
        "durationMs": 144000,
        "id": "jm-1NeOounQ",
        "image": "https://img.youtube.com/vi/jm-1NeOounQ/maxresdefault.jpg",
        "likes": 321806
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.shorts[].idThe YouTube video ID of the Short.
data.shorts[].titleThe title of the Short.
data.shorts[].urlLink to the Short on YouTube.
data.shorts[].imageThumbnail image URL for the Short.
data.shorts[].views / likes / commentsCounts of views, likes and comments on the Short.
data.shorts[].duration / durationMsLength of the Short as an HH:MM:SS string and in milliseconds.
data.shorts[].channelTitle / authorHandleDisplay name and @ handle of the channel that posted the Short.
data.shorts[].authorId / authorUrlThe channel ID (starts with UC) and the channel page URL.
data.shorts[].categoryThe YouTube category of the Short, for example Entertainment.
data.shorts[].createdUtcCreation time of the Short as a Unix timestamp in seconds.

Notes

  • The endpoint takes no parameters. Send {} as the body.
  • Use authorId with YouTube Channel or YouTube Channel Shorts to look at the channel behind a Short.
  • Pass id to YouTube Video Details to get more data about a single Short.
  • duration can be longer than one minute, so check durationMs if you need to filter by length.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
YouTubeKullanım başına $0.0012'den itibarenJSON
YouTubeKullanım başına $0.00045'den itibarenJSON
YouTubeKullanım başına $0.0012'den itibarenJSON
YouTubeKullanım başına $0.0012'den itibarenJSON
YouTubeKullanım başına $0.0012'den itibarenJSON
YouTube$0.014286 çağrı başınaJSON

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

Sorular

SSS

YouTube Trending Shorts 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/trending-shorts adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

YouTube Trending Shorts API'sinin fiyatı nedir?

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

YouTube Trending Shorts API'si hangi parametreleri kabul eder?

YouTube Trending Shorts hiçbir giriş parametresi almaz; boş bir JSON gövdesi gönderin.

YouTube Trending Shorts 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 Trending Shorts, 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.