Skip to main content
GET
/
v1
/
youtube
/
comments
Get comments for a YouTube video
curl --request GET \
  --url https://api.urltodata.ai/v1/youtube/comments \
  --header 'Authorization: Bearer <token>'
{
  "comments": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.urltodata.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:your-api-key
required

API key as Bearer token (e.g. Bearer mp_abc123_secret)

Query Parameters

id
string
required

YouTube video ID

limit
integer

Max comments to return

sortBy
enum<string>

Sort order

Available options:
top,
newest

Response

Video comments

comments
object[]