Skip to main content
POST
YouTube Video Comment Reply
Product: Visual Intelligence — Social Media Scraping Use case: Fetch video metadata, transcripts, captions, and comments from YouTube, Instagram, TikTok, and Twitter/X Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
This API is used to get the reply list for YouTube video comments with pagination support.
Channel routing guide: see Social Media Scraping Overview. Endpoints with a channel request field let you choose apify, rapid, or memories.ai; endpoints without this field use managed routing.
Each API call costs $0.01 USD.

Channel Options

If your request supports a channel option, use it to control how scraper data is sourced:
Recommendation: Start with memories.ai unless you need to force a specific provider.
  • The maximum value for pagination parameter page_size is 100
  • next_page_token should be null for the first request, use the next_page_token returned from the previous response for subsequent requests
  • When next_page_token in the response is null, it indicates all replies have been retrieved

Code Example

Request Body

Response

Returns an object containing the reply list and pagination information.

Response Parameters

Authorizations

Authorization
string
header
required

Body

application/json
comment_id
string
required

Comment ID

Example:

"comment_id"

page_size
integer
default:100

Number of replies returned per page, maximum value is 100, default is 100

Required range: x <= 100
Example:

100

next_page_token
string | null

Next page token, should be null for the first request, use the value returned from the previous response for subsequent requests

Example:

null

Response

200 - application/json

Successfully returned reply list

items
object[]

Reply list array

next_page_token
string | null

Next page token, used to get the next page of data, null indicates all data has been retrieved

page_info
object

Pagination information