Skip to main content
POST
cURL

Body

application/json

YouTube comments scraping parameters

query
string
required

Provide proper video id or url.

sort_type
enum<string>
default:relevance

Order in which comments should be sorted

Available options:
time,
relevance
reviews_to_fetch
number

Number of comments to fetch (default: all reviews, or within 30-second timeout)

is_text_formatted
boolean

returns the review text with visual formatting preserved

sync_date
string

Fetches reviews posted on a specific date using format: YYYY-MM-DD

Response

Comments fetched successfully

all_reviews
object[]

Array of fetched comments

extra_information
object
message
string

Status message about the comment extraction