Skip to main content

GET /v1/youtube/web_v2/get_post_detail

Get post detail

stable · 2 credits per success

Get YouTube post (community post) detail information;Includes post content, attachments, engagement data;Required;*post_id** (string);**Purpose**: Post ID;**How to get**: Extract from post URL, e.g., `https://www.youtube.com/post/UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy`;**Example**: `"UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy"`;Optional;*language_code** (string, optional) - Language code, default `"zh-CN…

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_detail?post_id=UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy&need_format=true&country_code=US&language_code=zh-CN' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
post{ 11 items }
channel_metadata{ 5 items }
comments_continuation_token:
"4qmFsgKzAhIoRkVjb21tZW50X3Bvc3RfZGV0YWlsX3BhZ2Vfd2ViX3RvcF9sZXZlbBqGAkVnVndiM04w..."
}
meta{
endpoint:"youtube.web_v2.get_post_detail"
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_idstringqueryyes帖子IDUgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy
    need_formatbooleanqueryno是否需要清洗数据,提取关键内容,移除冗余数据true
    country_codestringqueryno国家代码(如US, JP等)US
    language_codestringqueryno语言代码(如zh-CN, en-US等)zh-CN

    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