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

YouTube Comment Replies

API dokümanları
https://api.sandbase.ai/v1/api/youtube/comment-replies

List replies to a YouTube comment using a continuation token with cursor pagination (text, author, likes, publish time).

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

Oynatma Alanı

Girdi
Replies continuation token from the comments endpoint, or the continuationToken from a previous replies response for further pagination.
Çı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 Comment Replies API

Returns a page of replies to one YouTube comment. You send a continuationToken and get back each reply's text, author, like count and publish time, plus a cursor for the next page.

Use cases

  • Read the full reply thread under a popular comment to see how viewers respond.
  • Collect reply text and likes for sentiment analysis on a single comment thread.
  • Find which authors reply most often under a creator's top comment.
  • Archive a complete reply thread by following nextCursor until no more pages come back.

Request

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

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

Parameters

NameTypeRequiredDescription
continuationTokenstringYesReplies continuation token from the comments endpoint, or the continuationToken from a previous replies response for further pagination.

Example response

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

{
  "data": {
    "comments": [
      {
        "authorAvatarUrl": "https://yt3.ggpht.com/dekDIHrFk6_0BKWxKBc3uxWWG52rCE4f0rOF08qAojl-bs9kAgXb3YMdHO…",
        "authorId": "UCtobA_pDuI8NedREy2N81vA",
        "authorName": "@manojsharoff4235",
        "authorUrl": "https://youtube.com/@manojsharoff4235",
        "authorVerified": false,
        "content": "Your welcome MrBeast!!!!!",
        "createdUtc": 1783064892,
        "id": "UgwitcFO_vki3Lx-C_d4AaABAg.AY-YZeYup8QAY-ZiQHH3Nb",
        "likes": 15,
        "publishedTime": "4 months ago"
      }
    ],
    "nextCursor": "Eg0SC19fZm1EajBaSjFRGAYy2AIK0AFnZXRfY29tbWVudF93aXRoX3JlcGxpZXNfc3RyZWFtLS1DbVlJ…"
  },
  "found": true
}

Response fields

FieldMeaning
data.comments[].contentText of the reply.
data.comments[].idID of the reply. It starts with the parent comment ID, followed by a dot and a reply suffix.
data.comments[].authorName / authorUrlHandle of the reply author and a link to their YouTube channel.
data.comments[].authorIdChannel ID of the reply author.
data.comments[].authorVerifiedtrue if the author has a verified badge, false otherwise.
data.comments[].authorAvatarUrlURL of the author's profile image.
data.comments[].likesNumber of likes on the reply.
data.comments[].publishedTimeRelative publish time as shown on YouTube, such as 4 months ago. It adds (edited) when the reply was edited.
data.comments[].createdUtcCreation time of the reply as a Unix timestamp in seconds.
data.nextCursorToken for the next page of replies. Send it as continuationToken in the next request.
foundtrue when the lookup returned data.

Notes

  • Get the first continuationToken from the replies entry of a comment returned by YouTube Video Comments.
  • To paginate, pass data.nextCursor from the last response as continuationToken in the next call.
  • createdUtc is the same for all replies in the sample response, while publishedTime is relative text. Use id to tell replies apart.

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

YouTube Comment Replies 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 Comment Replies API'si hangi parametreleri kabul eder?

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

YouTube Comment Replies 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 Comment Replies, 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.