YouTube Comments API: export video comments and replies as JSON

Send a YouTube video URL and get its comment threads back as JSON, then load the replies of any comment. You skip the Google Cloud project, the API key setup and the daily quota units that commentThreads.list uses up.

Buy credits

Use cases

Endpoints and cost

EndpointWhat it returnsCredits/callUSD/call (Freelance plan)
/v1/youtube/video_commentsComments1$0.0017
/v1/youtube/video_comment_repliesComment Replies1$0.0017

Endpoint details

/v1/youtube/video_comments

Comments 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
urlstringyesYouTube video URL
orderstringnoOrder of comments
next_cursor_tokenstringnoContinuation token to get more comments. Get 'continuationToken' from previous response.

Sample response (trimmed):

{
 "comments": [
  {
   "id": "UgwVfRopfS2F-WB3aF14AaABAg",
   "content": "I love how in the middle he said \"I've been able to work with 2 great coaches... Pete and Coach Tomlin\"... Side shade to Coach Sean Payton, love it :)",
   "published_time_text": "9 days ago",
   "published_time": "2025-01-23T23:14:02.948Z",
   "reply_level": 0,
   "author": {
    "name": "@SimonT80",
    "channel_id": "UC8JC3uSUmmXTCTKl-bgr1DA",
    "is_verified": false,
    "is_creator": false,
    "avatar_url": "https://yt3.ggpht.com/ytc/AIdro_lQ_2v9lDqwRrmdvEBfDNyFOvgQICl68X6WFkwZ5KI=s88-c-k-c0x00ffffff-no-rj",
    "channel_url": "https://youtube.com/@SimonT80"
   },
   "engagement": {
    "likes": 110,
    "replies": 5
   },
   "replies_continuation_token": "Eg0SC2RRdzR3OVdnWGNRGAYy1AEK..."
  }
 ],
 "next_cursor_token": "Eg0SCzVFV2F4bVd...."
}

/v1/youtube/video_comment_replies

Comment Replies 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
next_cursor_tokenstringyesContinuation token for the comment replies. Use 'repliesContinuationToken' from the Comments endpoint, or 'continuationToken' from a previous replies response t

Example: curl

curl -H "X-Scapi-Key: $SCAPI_KEY" "https://api.scrapall.bipsport.com/scapi/v1/youtube/video_comments"

Example: Python

import os, requests
r = requests.get("https://api.scrapall.bipsport.com/scapi/v1/youtube/video_comments",
    headers={"X-Scapi-Key": os.environ["SCAPI_KEY"]})
print(r.json())

FAQ

How is this different from commentThreads.list?

You get the same kind of data without a Google Cloud project or daily quota. You pay per successful call, and the cost table shows the price.

Can I get the replies to a comment?

Yes. Use the comment id from the comments response with the replies endpoint listed on this page.

Does it work on any public video?

It works on public videos with comments turned on. Videos with comments disabled return no comments.

How do I pay and get my API key?

Open the Buy page, pick the Freelance plan and pay in USDT on TRC20 or ERC20. The key is shown once, right after the payment is confirmed on-chain.

How many credits does one call use?

The cost table on this page lists credits per call for each endpoint. The Freelance plan is $45 for 27,000 credits per 30 days.

Get an API key and credits

Full reference: all youtube endpoints.