Skip to main content

GET /v1/youtube/web_v2/get_post_comments

Get post comments

stable · 2 credits per success

Get YouTube post (community post) comments;Supports pagination for more comments;Required (at least one);*post_id** (string) - Post ID, required for first request;*continuation_token** (string) - Pagination token (from get_post_detail's comments_continuation_token or previous response);Optional;*language_code** (string, optional) - Language code, default `"zh-CN"`;*country_code** (string, optiona…

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/youtube/web_v2/get_post_comments?post_id=UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy&need_format=true&country_code=US&language_code=zh-CN&continuation_token=demo' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
comments[ 2 items ]
continuation_token:
"4qmFsgKJBRIoRkVjb21tZW50X3Bvc3RfZGV0YWlsX3BhZ2Vfd2ViX3RvcF9sZXZlbBrcBEVnVndiM04w..."
}
meta{
endpoint:"youtube.web_v2.get_post_comments"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    post_idstringqueryno帖子ID(首次请求时必填)UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy
    need_formatbooleanqueryno是否需要清洗数据,提取关键内容,移除冗余数据true
    country_codestringqueryno国家代码(如US, JP等)US
    language_codestringqueryno语言代码(如zh-CN, en-US等)zh-CN
    continuation_tokenstringqueryno分页token(分页时必填,也可用 get_post_detail 返回的 comments_continuation_token)demo

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All YouTube endpoints →

    Search

    Search endpoints and docs