YouTube Comments API

Public comments, replies and likes from a YouTube video.

  • Comment text
  • Author
  • Likes
  • Reply threads
  • Pinned and hearted
  • Posted
Collecting commentsPOST /v1/youtube/comments/results
Video URLyoutube.com/watch?v=a1B2c3D4e5FOrdertopInclude repliesOn
AuthorCommentLikesReplies
@benchdog_buildsFinally a dovetail video that goes slow enough.1,20418
@oak_and_ashWhat saw are you using at 4:10?3867
@weekend_joinerTried this tonight. First joint actually fit.2513
@shavings_everywhereThe marking tip saved me so much time.970
Sample data. The video, authors and comments are made up.Run your own search
per run
1,000 rows
per run
per comment
16 fields
per comment
comment order
Top or new
comment order
code or AI agents
REST and MCP
code or AI agents
Step 1 · The request

One POST request per video

  1. Your request
  2. Pulldata collects the comments
  3. Rows back as JSON
curl --max-time 90 -X POST 'https://pdb.pulldata.io/v1/youtube/comments/results' \  -H "Authorization: Bearer ${PULLDATA_API_KEY}" \  -H 'Content-Type: application/json' \  --data '{  "video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",  "order": "top",  "include_replies": false,  "max_total_results": 1}'
  • Point at a parameter to see it in the request.
Step 2 · The response

One row per comment, replies included

  • 16 fields
  • Replies linked by parent_id
  • Null when unavailable

Point at a field to see what it holds.

response.json200 OK
{  "success": false,  "jobId": "example-job-id",  "status": "RUNNING",  "completed": false,  "pollUrl": "/api/developer/v1/jobs/example-job-id/poll-results",  "walletDeductedUSD": 0,  "count": 0,  "data": []}
Reply threads

Keep every reply tied to its comment

Turn on include_replies and each reply comes back as its own row with its parent comment's ID.

rows per run
1,000
rows per run
on every reply
parent_id
on every reply
parent_id on top-level comments
null
parent_id on top-level comments

"video_url examples": [

  • https://www.youtube.com/watch?v=a1B2c3D4e5F
  • https://www.youtube.com/shorts/Q7r8S9t0U1v
  • Zx9Yw8Vu7Ts

]

One per request. Replies count toward max_total_results.
Use cases

What teams build with it

Read what viewers think

Comment text and likes, ready for sentiment analysis.

Fields usedtextlike_countpublished_text
YouTube Video Stats API
Sample rows
CommentLikes
Finally a dovetail video that goes slow enough.1,204
The audio drops out around the middle.142
Best explanation of marking I've seen.88
Claude · Pulldata MCP connected

Get the top 200 comments on youtube.com/watch?v=a1B2c3D4e5F and show me the most-liked questions viewers asked.

pulldata_run_scraper_sync · youtube-comments · 200 rowsdone

I read 200 top comments. These 3 questions got the most likes:

CommentLikes
What saw are you using at 4:10?386
Can you do a video on half-blind dovetails?214
Does this work with softwood?120
AI agents

Ask what viewers are saying

  1. 1Connect the MCP server
  2. 2Paste a video link
  3. 3Get comments back

Add to Claude Code

claude mcp add --transport sse pulldata \
  https://pdb.pulldata.io/api/mcp/sse \
  --header "x-api-key: YOUR_API_KEY"
MCP setup guide
Pricing

Pay per comment. Plans lower the rate.

YouTube Comments API ratesDelivered rows: $1 per 1,000Failed rows: FreeAll rates

Pay-as-you-go

Try it with no commitment.

$0

Only pay for what you use

$10 free balance to start
  • $10 free to start
  • Base result pricing
  • Standard extraction speed
  • Full REST API access
  • Scheduling (coming soon)
  • Results kept for 7 days
  • Community support
Start free
Most popular

Starter

For freelancers & early outbound.

$490/ yr

Billed annually

$588 of usage included
  • Starter plan discounts
  • Unlimited simultaneous runs
  • Fast extraction speed
  • Full REST API access
  • Scheduling (coming soon)
  • Results kept up to 6 months
  • Email support
Choose Starter

Scale

For teams running regular lists.

$1,990/ yr

Billed annually

$2,388 of usage included
  • Scale plan discounts
  • Unlimited simultaneous runs
  • Accelerated extraction speed
  • Full REST API access
  • Scheduling (coming soon)
  • Results kept up to 1 year
  • Priority support
Choose Scale

Business

For high-volume data operations.

$4,990/ yr

Billed annually

$5,988 of usage included
  • Business plan discounts
  • Unlimited simultaneous runs
  • Accelerated extraction speed
  • Full REST API access
  • Scheduling (coming soon)
  • Results kept up to 2 years
  • Dedicated manager + SLA
Choose Business

Every plan pays the same simple per-row rates — see full pricing.

Public comments only. You are responsible for how you use the data and for YouTube's terms.

FAQ

Questions, answered.

Everything you need to know about integrating and scaling with YouTube Comments API.

Up to 1,000 rows per run. Set the number with max_total_results; the default is 20.

Collect your first comments

Get a key and send your first video link.