Comments
Top-level comments on a video. Use `limit` to say how many.
POST
/api/public/v1/scrape/youtube/comments
Returns comment_api
Parameters#
video_id
string
required
The id from watch?v=<id> in the video URL.
Example: dQw4w9WgXcQ
limit
integer
optional
How many results you want. The run is sized from it, and you are billed for exactly that many.
Results#
GET /runs/:id/results answers with this once the run has finished — one comment per row.
Every row also carries raw_json — the platform's own object for that row, exactly as it arrived, with nothing removed. It is left out of the example for length.
This endpoint errs towards returning more rather than less, so expect a few extra rows alongside what you asked for. Everything still comes back typed and parsed the same way.