YouTube Community Post Comments

https://api.sandbase.ai/v1/api/youtube/web-v2/post-comments

Returns comments from a YouTube community post with support for pagination, formatted output, and regional localization settings.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
0 required · 5 optional
Production route

Try the model

Playground

Open playground
Input
Next page token
Country code, default `"US"`
Language code, default `"zh-CN"`
Whether to format data, default `true`
Post ID, required for first request
OutputExample
Responseoutputs · 19.4 KB · 435 lines
[
  {
    "data": {
      "comments": [
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/LZeUOuOM8lzINkYAKi1X3pCQz1xsSD_EndPUR1vOGesaGavUtyM_-bCUq7Gld-LPX_R7uieWsA=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCkRfArvrzheW2E7b6SVT7vQ",
            "channel_url": "https://www.youtube.com/@youtubecreators",
            "display_name": "@youtubecreators",
            "is_artist": false,
            "is_creator": true,
            "is_verified": true
          },
          "comment_id": "UgwZHdfuY046UGc1mTV4AaABAg",
          "content": "Let us know what you're MOST excited to share on your Community tab in the comments!",
          "creator_thumbnail_url": null,
          "like_count": "228",
          "like_count_a11y": "228 次赞",
          "published_time": "2年前",
          "reply_continuation_token": "4qmFsgLQAhIrRkVjb21tZW50X3Bvc3RfZGV0YWlsX3BhZ2Vfd2ViX3JlcGxpZXNfcGFnZRqgAkVnVndiM04wYzhvQko3SUJKRlZuYTNocFExTlNaa1EyWnpkVFVHeFhSMUJFWVROMllsQTNZVWx6ZVhSWVVtdDJlZW9DQkJBQkdBR3FBNXdCR21rU0dsVm5kMXBJWkdaMVdUQTBObFZIWXpGdFZGWTBRV0ZCUWtGbklnSUlBQ29ZVlVOclVtWkJjblp5ZW1obFZ6SkZOMkkyVTFaVU4zWlJRQUZJQ25va1ZXZHJlR2xEVTFKbVJEWm5OMU5RYkZkSFVFUmhNM1ppVURkaFNYTjVkRmhTYTNaNWdnRUNDQUZDTDJOdmJXMWxiblF0Y21Wd2JHbGxjeTFwZEdWdExWVm5kMXBJWkdaMVdUQTBObFZIWXpGdFZGWTBRV0ZCUWtGbg%3D%3D",
          "reply_count": "133",
          "reply_count_a11y": "133 条回复",
          "reply_count_text": "133 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/Cpo6AeYSn7ZbCrbf0pkaxFHOowzl5olD_01FDjoQJhdocu6zZ3kw9Z2v-GeJepjSmgZSqbc4xQ=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCWBltH-mr5IJtZUBm3TGExQ",
            "channel_url": "https://www.youtube.com/@abirkhulna52",
            "display_name": "@abirkhulna52",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "Ugyb5vFcLnDb7vwASmx4AaABAg",
          "content": "Thank you for YouTube Family",
          "creator_thumbnail_url": null,
          "like_count": "1",
          "like_count_a11y": "1 次赞",
          "published_time": "1年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/89rQUcTgD_wfJkr3zNUH4AGwR0hpcOZGi64xWvLom7JJF3OJShratQ0UYO11tD5h5_spompNSQ=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCekLircmkkktFJJJoOSR_RQ",
            "channel_url": "https://www.youtube.com/@YasirG-921",
            "display_name": "@YasirG-921",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "Ugzvvr4m9flSxDpV2al4AaABAg",
          "content": "Tanks you tube family",
          "creator_thumbnail_url": null,
          "like_count": "1",
          "like_count_a11y": "1 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/U8MYP5u0XGKiw8BLq3lwSSJaMMFoofNq18UnMo-z4HYy7jW5ta_tGKcXXTj9i8nSrMMX6IHarg=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCvvWC0uWn7qgPYT-wHDvslQ",
            "channel_url": "https://www.youtube.com/@CoolTechGadget",
            "display_name": "@CoolTechGadget",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "UgwsirCGUQkV0N1dJLp4AaABAg",
          "content": "Thank youTube",
          "creator_thumbnail_url": null,
          "like_count": "0",
          "like_count_a11y": "0 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/IjkJhOTgbSem3i7Zn9z_T6E3H2Q3xDyzSDWLUiYc3kK4waofTobLuijIUL4SloDHNUWLOBpZHw=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UClvxOVQfQOY01pGCgsebZeg",
            "channel_url": "https://www.youtube.com/@koushiklet6528",
            "display_name": "@koushiklet6528",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "Ugz4cQ6PHGKIUwiBPEp4AaABAg",
          "content": "Love you my YouTube",
          "creator_thumbnail_url": null,
          "like_count": "0",
          "like_count_a11y": "0 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/uPe-e08woNTPQa8794dfuaOLSxk6op7KH2bAEaKri5AMwLfdmKrovcYvr4wAOTsrdJfgiSNRODI=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCHLprVZLydnWDOb0DLrk60Q",
            "channel_url": "https://www.youtube.com/@Pakhrin2",
            "display_name": "@Pakhrin2",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "Ugwqmoh1A4aqj0V0Tc94AaABAg",
          "content": "Super 😍😍",
          "creator_thumbnail_url": null,
          "like_count": "23",
          "like_count_a11y": "23 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/J7Wui95VSETVwz_6-CmQLDltmTUYFE6sONzVUFf0BuhyhebkAkxjq5Wgh8laVpG1xokUA3fh=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCqvF-eq8h32Ju20v4_KVwbA",
            "channel_url": "https://www.youtube.com/@Romio.king.94",
            "display_name": "@Romio.king.94",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "UgxYwbGlCR211eFZsRZ4AaABAg",
          "content": "Thank you you tube family",
          "creator_thumbnail_url": null,
          "like_count": "5",
          "like_count_a11y": "5 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/NdB74p7rera-0GVpGs0Idz_0GAGhkm8F6uB5xxIQ0A6ROZRi26sM43rXIJZv5DFafAwfqWJ47A=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCQC5HaVg9UgqnfXRmWDTD1Q",
            "channel_url": "https://www.youtube.com/@Tribal_Punjab_Sandeep_Ji375",
            "display_name": "@Tribal_Punjab_Sandeep_Ji375",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "Ugw2k9467NPOgDb4wbB4AaABAg",
          "content": "🙏🙏🙏🙏🙏🙏",
          "creator_thumbnail_url": null,
          "like_count": "1",
          "like_count_a11y": "1 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/WDM2fOK1nNTu1lVv1dIRNeXckesz-KB9UUo-j3FixdPp8gAfMAmkOjSirt72LfObRFpz5G04qg=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCuqweVgdssYmSHqoA2dnhag",
            "channel_url": "https://www.youtube.com/@RARES_GOAT",
            "display_name": "@RARES_GOAT",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "UgyjMzbdkoiT2T3eTLh4AaABAg",
          "content": "Thank you so much YouTube Family!",
          "creator_thumbnail_url": null,
          "like_count": "1",
          "like_count_a11y": "1 次赞",
          "published_time": "3个月前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/tsI8xfkkZiVZOUPgdBch2bohaU9IiuEKpmPjxI1qEoDyWPUb-BzBRs_ImaNDbltnfMhT7ghNeA=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UC_iI2McXC1zxunw51pNvUAw",
            "channel_url": "https://www.youtube.com/@NubiPlaysYT",
            "display_name": "@NubiPlaysYT",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "Ugw--m73UbRxVa1M5L54AaABAg",
          "content": "Super cool project.  👍👍",
          "creator_thumbnail_url": null,
          "like_count": "19",
          "like_count_a11y": "19 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/0Xw-mbZsHonP_aEUi1jxn6cxwtJJ-9mj5whwq0JXxZV_UUmoYgxOrvQ24xVYY4xTUdMuiDTpWA=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCjRXDQ_XIKF4SI3dFXvfjIA",
            "channel_url": "https://www.youtube.com/@Crazygameszone1",
            "display_name": "@Crazygameszone1",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "UgzGLNVFdgIS_hYIBhd4AaABAg",
          "content": "This is fantastic 😍 Option for all creators, Thank you YouTube team for Information show  on YouTube app",
          "creator_thumbnail_url": null,
          "like_count": "22",
          "like_count_a11y": "22 次赞",
          "published_time": "2年前",
          "reply_continuation_token": "4qmFsgLQAhIrRkVjb21tZW50X3Bvc3RfZGV0YWlsX3BhZ2Vfd2ViX3JlcGxpZXNfcGFnZRqgAkVnVndiM04wYzhvQko3SUJKRlZuYTNocFExTlNaa1EyWnpkVFVHeFhSMUJFWVROMllsQTNZVWx6ZVhSWVVtdDJlZW9DQkJBQkdBR3FBNXdCR21rU0dsVm5la2RNVGxaR1pHZEpVMTlvV1VsQ2FHUTBRV0ZCUWtGbklnSUlBQ29ZVlVOclVtWkJjblp5ZW1obFZ6SkZOMkkyVTFaVU4zWlJRQUZJQ25va1ZXZHJlR2xEVTFKbVJEWm5OMU5RYkZkSFVFUmhNM1ppVURkaFNYTjVkRmhTYTNaNWdnRUNDQUZDTDJOdmJXMWxiblF0Y21Wd2JHbGxjeTFwZEdWdExWVm5la2RNVGxaR1pHZEpVMTlvV1VsQ2FHUTBRV0ZCUWtGbg%3D%3D",
          "reply_count": "1",
          "reply_count_a11y": "1 条回复",
          "reply_count_text": "1 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/w9y8MEEIkLKbqdv_tc8STgxTElYNR_3gbjRhgA9Onpy0351c4ncsRdL8gioReGyVpKRs-awz=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCC8NRZDNkoDwEJ3176sTLsw",
            "channel_url": "https://www.youtube.com/@journeywithmahadev_11",
            "display_name": "@journeywithmahadev_11",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "Ugy6r1RrxTFOQiHzS9F4AaABAg",
          "content": "Har Har Mahadev 🚩❤️",
          "creator_thumbnail_url": null,
          "like_count": "7",
          "like_count_a11y": "7 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/z_GFshmeqnkVaqa0pOyh54O36t54Ui1E7DBla1LrczJ8ozThJSyCGGrhVMH_CiK4vI_FH3Pk=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCz-Xy55KUBw-d13WZd0KiTg",
            "channel_url": "https://www.youtube.com/@-MAI-1977",
            "display_name": "@-MAI-1977",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "UgyfivCHzQssFlpPfWh4AaABAg",
          "content": "Thanks support, thanks YouTube family plan.",
          "creator_thumbnail_url": null,
          "like_count": "1",
          "like_count_a11y": "1 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",
          "reply_level": 0
        },
        {
          "author": {
            "avatar_thumbnails": null,
            "avatar_url": "https://yt3.ggpht.com/aihPSQ20AbP4AM3zlaRN8KvDdUtujIfe-SCcJAS7lzkUtlZG36uil50aGXF_9zxovzGjCkjOVw=s88-c-k-c0x00ffffff-no-rj",
            "channel_id": "UCPTmFwNmFTpJ613m4MCKQGw",
            "channel_url": "https://www.youtube.com/@HAMZ786",
            "display_name": "@HAMZ786",
            "is_artist": false,
            "is_creator": false,
            "is_verified": false
          },
          "comment_id": "UgzzgQIfTZimv2TAzWt4AaABAg",
          "content": "Thanks YouTube ☺️",
          "creator_thumbnail_url": null,
          "like_count": "1",
          "like_count_a11y": "1 次赞",
          "published_time": "2年前",
          "reply_count": "0",
          "reply_count_a11y": "0 条回复",

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

continuation_token
string · optional
country_code
string · optional
language_code
string · optional
need_format
boolean · optional
post_id
string · optional

Access

Provider
YouTube
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/youtube/web-v2/post-comments
Authentication
Bearer API key

API README

YouTube Community Post Comments API

Look up community post comments on YouTube by specifying a post_id. Supports localized results and pagination using continuation_token.

Use cases

  • Retrieve audience feedback on channel community posts.
  • Monitor user engagement and discussions across community updates.
  • Extract comment threads for sentiment and topic analysis.

Request

curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/post-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Parameters

NameTypeRequiredDescription
post_idstringNoPost ID, required for first request
need_formatbooleanNoWhether to format data, default true
country_codestringNoCountry code, default "US"
language_codestringNoLanguage code, default "zh-CN"
continuation_tokenstringNoNext page token

Notes

  • post_id is required for the first request.
  • Pass continuation_token to retrieve subsequent pages of comments.
  • Customize localization by setting country_code and language_code.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/youtube/web-v2/post-comments
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/post-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "post_id": "UgkxiCSRfD6g7SPlWGPDa3vbP7aIsytXRkvy",
  "need_format": true,
  "country_code": "US",
  "language_code": "zh-CN"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
YouTube$0.0015 per callJSONJul 31, 2026
YouTube$0.0015 per callJSONJul 31, 2026
YouTube$0.0015 per callJSONJul 31, 2026
YouTube$0.0015 per callJSONJul 31, 2026
YouTube$0.0015 per callJSONJul 31, 2026
YouTube$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the YouTube Community Post Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/youtube/web-v2/post-comments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the YouTube Community Post Comments API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the YouTube Community Post Comments API accept?

No parameters are required. Optional: continuation_token (string), country_code (string), language_code (string), need_format (boolean) and post_id (string). The Parameters table and the Playground on this page list every field.

What does the YouTube Community Post Comments API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a YouTube developer account or API key?

No. YouTube Community Post Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for YouTube API access separately.