YouTube Video Comment List API (V1)
Retrieve first-level comments for a YouTube video with sorting, locale options, and cursor pagination. Supply a video ID. Sample fields include comments and authors. Surface recurring topics and audience feedback. The GET request schema also lists videoId, languageCode. Use the data to compare content across accounts or review audience feedback by video.
- Selected price
- $0.015385 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
YouTube Video Comment List API (V1)
Prepare your request, then continue with your agent.
Selected price
$0.015385 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
codeintegerdataobjectcommentsobject[]authorobjectavatar_thumbnailsnullavatar_urlstringchannel_idstringchannel_urlstringdisplay_namestringis_artistbooleanis_creatorbooleanis_verifiedboolean
comment_idstringcontentstringcreator_thumbnail_urlnulllike_countstringlike_count_a11ystringpublished_timestringreply_countstringreply_count_a11ystringreply_levelinteger
continuation_tokenstring
messagenullrecordTimenull
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
code?: number;
data?: {
comments?: Array<{
author?: {
avatar_thumbnails?: null;
avatar_url?: string;
channel_id?: string;
channel_url?: string;
display_name?: string;
is_artist?: boolean;
is_creator?: boolean;
is_verified?: boolean;
};
comment_id?: string;
content?: string;
creator_thumbnail_url?: null;
like_count?: string;
like_count_a11y?: string;
published_time?: string;
reply_count?: string;
reply_count_a11y?: string;
reply_level?: number;
}>;
continuation_token?: string;
};
message?: null;
recordTime?: null;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent YouTube Video Comment List API (V1) · GET · View API reference | $0.015385 / call | — | —successP50— |
- Unit price
- $0.015385
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $1.5385
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/youtube/get-video-comment/v1- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/youtube/get-video-comment/v1?videoId=%3CREPLACE_VIDEOID%3E' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
videoId | URL query parametersquery | string | Yes | The unique identifier for a YouTube video. |
cursor | URL query parametersquery | string | No | Pagination cursor returned by the previous response. |
languageCode | URL query parametersquery | string | No | Language preference for response data. |
countryCode | URL query parametersquery | string | No | Region code for response data. |
sortBy | URL query parametersquery | string | No | Sort order for the comment list.
Available Values:
- `top`: Top comments
- `newest`: Newest comments enum: "top", "newest" |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"code": 0,
"data": {
"comments": [
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/q18klxmnfKX-gMkgcm3APD8Lmb_l_g7vd-7sJ_CxBzdob5N11pvF98XzxUebE56f8QMeu7gDdQ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCq4Cg_QBND1ZAqqdayd9vnQ",
"channel_url": "https://www.youtube.com/@ChristWilliammvillen",
"display_name": "@ChristWilliammvillen",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwoyP9gyP89Tn_OGHB4AaABAg",
"content": "Remember me bro",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "4小时前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/vkKPZXGtxr8UsXwJMtBU-rTyZ3wRI2oFWZKeu5rkBDf5D79Q6z365Sm18WI4LsPh2S4slQtlfU4=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC8pPWDSB5qCgsa1ismF16bA",
"channel_url": "https://www.youtube.com/@sathitkhun-j6j",
"display_name": "@sathitkhun-j6j",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgxH3_TmBO1hsqPzK8t4AaABAg",
"content": "9.21 Missile is rocket high destory",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "6小时前(修改过)",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/LvKMI0RBKcL7ZFu3azFwEeDKEWibrwNX0EqV3Y6_P1x5L3j0tBfAD57u2979v1AY0AFHthMttw=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC7gli9IyYjO0UlL3KCn84nA",
"channel_url": "https://www.youtube.com/@gaellebaaboura",
"display_name": "@gaellebaaboura",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwQ772-QLhKQddE40l4AaABAg",
"content": "❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤😊❤😊❤",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "3天前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_nZfCLnM44mNUF7Crj4E-PgqfmlmAhJ-PV5eut_kfXa_yTwgefCrxm4i3Gyba6fyhYSEw=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCH3GteuWf0sCmhyg9wtenJA",
"channel_url": "https://www.youtube.com/@FanzRifz",
"display_name": "@FanzRifz",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugxrv3TzmbEqXAHwNJJ4AaABAg",
"content": "Cursed is real!",
"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/omrOFcpGYNNSTu-gsZwQ06_7cR-QR91PBDZbXy8jdQv4CWjE5DoGjJfjV-ddnXPDrRFXeTop=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCmeNfZfys4F0IPet0EaPAog",
"channel_url": "https://www.youtube.com/@arminjan-q4z",
"display_name": "@arminjan-q4z",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgxoSK-Cct_8IpDHiRh4AaABAg",
"content": "5:09 HUH! Is that cursed monster?",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "4天前(修改过)",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_neAWLH7sZOed0nxggmhltv1elkeHlOQumeJrdVd-uJprIR_0tQYDxrh34wywukW1kbeQ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC67sF0yKfcVJwHmkkDqdAlw",
"channel_url": "https://www.youtube.com/@SheryllQuinto-d4b",
"display_name": "@SheryllQuinto-d4b",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugzxf5nKVKZvBwPoFlh4AaABAg",
"content": "Maizen❤❤❤❤❤",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "6天前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/giTxayi7GkE2WZYJBH9shnx46Al1Cgmfw3KCA94l--mTU8GUuGmtrOoD6vHlWeL_usCkTJFqCg=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCql_rzc5X5lp2C7k-j11d-w",
"channel_url": "https://www.youtube.com/@Lea-pm5su",
"display_name": "@Lea-pm5su",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgygLGbExGa8exGxMwt4AaABAg",
"content": "JJ⚔️ALFARIZI",
"creator_thumbnail_url": null,
"like_count": "1",
"like_count_a11y": "1 次赞",
"published_time": "9天前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_kli0k3C-RDbTpqOliVbT34Ikn-oTv3_V2RCefRrDn7vl9ySG3kVOKW5vZSl9ROpKUKsg=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC3fwGnys_d856R72txZsxcQ",
"channel_url": "https://www.youtube.com/@abbiehilvano",
"display_name": "@abbiehilvano",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugz1zPx0UN9rdPwr0954AaABAg",
"content": "12:26 ummmmmmm why is everyone dressed in jj's red hoodie",
"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/ytc/AIdro_nqG5kNb9WDoM5cFrNSQr9fzliieK8lWbCqB52t7OKShdvcGjZ-DNkPlowQu3IE1MHYgQ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCWfE1Ud-UoTxqxHzbMeCXuA",
"channel_url": "https://www.youtube.com/@NizarAlfayyaadh",
"display_name": "@NizarAlfayyaadh",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugzv_oEKg50yY4Sf3IZ4AaABAg",
"content": "Itu bangunan terkutuk koca nanti dimakan loh",
"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/okoCB6JqEMrDvwl23TU6zIEGGpWTwAvYZi927Mn-eVTX2g5drO2Ka8gjg55CKrJNJ0SG5Xr-qg=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC_7czbg4qqBzapwinu8BSMw",
"channel_url": "https://www.youtube.com/@Sandymacapia",
"display_name": "@Sandymacapia",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugzky0bvSum_Ue88wbh4AaABAg",
"content": "Number one why the spirit say mikey is a turtle why they're wearing jj jackets rjj now",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "3周前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/VJIDnnuXiDE57O0ydkhTTxvfDporZlDWXMBdLHAMS9Tbfyd2mExA7ag9gXGmCHpCew7NftAx=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC4pJCz1ANHrrWpnVydCeTFw",
"channel_url": "https://www.youtube.com/@ElbertBatiancila-dp6se",
"display_name": "@ElbertBatiancila-dp6se",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwkCEY1nU-00v0GDI54AaABAg",
"content": "Curse is real",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/dYILew8AIcbNXNYgIXWAr5XdY4qdw4-f8g3jFFjvzZrbS_nARmqaAzN0m1JF6a4rsY2VYDZsAg=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC9T52lO0hYFpalvRzd8YxuQ",
"channel_url": "https://www.youtube.com/@tacoBUTCHER13",
"display_name": "@tacoBUTCHER13",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgzTNrxgDMIUKxT13j54AaABAg",
"content": "next video preview\r\ntry playing pokemon i lov it please\r\ntips: you can pick 3 starter pokemon and catch the otheres the goal is to caych em' all!\r\n\r\nstarter pokemon\r\ncharmander: a fire type pokemon it can spit fire and evolves into charmelon and then charmelon evolves into charizard next\r\n\r\nsquirtle: a water type pokemon that spits water it is just the first evolution to come, find the others!\r\n\r\nbulbasaur: a grass type pokemon that loves soaking in sunlight\r\n\r\nevery other pokemon is yet to be found go play it!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nthis is not nonsence because we learn something from it it is bulding and defending",
"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/QRRu6Ie4IjCrVCLtv1dQyEbV8xc2aloJvs3pQEKDfTIV17Qy61aoR_cy78oC2IJ03pLh6lYZ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC_RueBawstaNG09J7fOz7VA",
"channel_url": "https://www.youtube.com/@gurumilaut3036",
"display_name": "@gurumilaut3036",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgxdWMSYcf86c0fI0754AaABAg",
"content": "❤❤😂😂JJ🎉",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgzfbjChmrCi2rAx2sR4AaABAg",
"content": "JJ",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgxRfb77yVFBck8bG254AaABAg",
"content": "😱😱😱😭😭😭😢😟😕😲🙂",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugy892vOy3MFybCxsbh4AaABAg",
"content": "😢😢😢😢🥹🥹🥹😀😀😀😀😀😄😄😄😄😄😄",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwEn16ApTwhOyXXyMZ4AaABAg",
"content": "🖼️😈😢😢😮😮😮😮😮",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwLDYESl8zVvL920ap4AaABAg",
"content": "❤️💚",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_kLWpNZfXuiwmBzqy6CSbyVTAAo74Gtg0N2Xz-oTNjSAok=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC-ty2NQTcMZJPqH-pKGFHqQ",
"channel_url": "https://www.youtube.com/@ratneshbangre3852",
"display_name": "@ratneshbangre3852",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwuSWENU5ggV3fe-_54AaABAg",
"content": "Kamehame",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_nlK0XZCHPihWVQ4ZXtf5b8YpsaViKGdlcNQOujPdbuOV75OJmCMvjy0UMhDlldDDfeTw=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC2a6p83rsrxLxisA3nosWtg",
"channel_url": "https://www.youtube.com/@SangNyoman-d8k",
"display_name": "@SangNyoman-d8k",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugw4eRgocnlUFLRKzBF4AaABAg",
"content": "Maaf Miki itu sudah menjadi peraturan 😕",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
}
],
"continuation_token": "Eg0SC29hU05CejRxTVFZGAYytgEKemdldF9uZXdlc3RfZmlyc3QtLUNnZ0lnQVFWRjdmUk9CSUZDTWdnR0FBU0JRaWRJQmdCRWdVSWlTQVlBQklGQ0ljZ0dBQVNCUWllSUJnQUVnVUlxQ0FZQUJJRkNJZ2dHQUFpRFFvTENNeVpvdFVHRU9qdXlDSlFBRmdCIhEiC29hU05CejRxTVFZMAF4ASgUMAFCIWVuZ2FnZW1lbnQtcGFuZWwtY29tbWVudHMtc2VjdGlvbg%3D%3D"
},
"message": null,
"recordTime": null
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# YouTube Video Comment List API (V1)
Retrieve first-level comments for a YouTube video with sorting, locale options, and cursor pagination. Supply a video ID. Sample fields include comments and authors. Surface recurring topics and audience feedback. The GET request schema also lists videoId, languageCode. Use the data to compare content across accounts or review audience feedback by video.
## Available implementations
justoneapi · YouTube Video Comment List API (V1): https://openany.si/markets/apis/capabilities/youtube-video-comment-list-api-v1?offering=19277cc6-5c48-41fb-89ba-9f46c4c9f817 · $0.015385 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/youtube-video-comment-list-api-v1
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/youtube/get-video-comment/v1
Price: $0.015385 / call
Provider: justoneapi
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/justoneapi/api/youtube/get-video-comment/v1?videoId=%3CREPLACE_VIDEOID%3E' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "YouTube Video Comment List API (V1)",
"endpoint": "https://api.openany.si/v1/agent-apis/justoneapi/api/youtube/get-video-comment/v1",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "The unique identifier for a YouTube video.",
"location": "query",
"name": "videoId",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Pagination cursor returned by the previous response.",
"location": "query",
"name": "cursor",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Language preference for response data.",
"location": "query",
"name": "languageCode",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Region code for response data.",
"location": "query",
"name": "countryCode",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Sort order for the comment list.\n\nAvailable Values:\n- `top`: Top comments\n- `newest`: Newest comments",
"enum_values": [
"top",
"newest"
],
"location": "query",
"name": "sortBy",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "15385",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example · Historical response; independent request temp",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"videoId": "<REPLACE_VIDEOID>"
}
},
"response_body": {
"code": 0,
"data": {
"comments": [
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/q18klxmnfKX-gMkgcm3APD8Lmb_l_g7vd-7sJ_CxBzdob5N11pvF98XzxUebE56f8QMeu7gDdQ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCq4Cg_QBND1ZAqqdayd9vnQ",
"channel_url": "https://www.youtube.com/@ChristWilliammvillen",
"display_name": "@ChristWilliammvillen",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwoyP9gyP89Tn_OGHB4AaABAg",
"content": "Remember me bro",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "4小时前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/vkKPZXGtxr8UsXwJMtBU-rTyZ3wRI2oFWZKeu5rkBDf5D79Q6z365Sm18WI4LsPh2S4slQtlfU4=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC8pPWDSB5qCgsa1ismF16bA",
"channel_url": "https://www.youtube.com/@sathitkhun-j6j",
"display_name": "@sathitkhun-j6j",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgxH3_TmBO1hsqPzK8t4AaABAg",
"content": "9.21 Missile is rocket high destory",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "6小时前(修改过)",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/LvKMI0RBKcL7ZFu3azFwEeDKEWibrwNX0EqV3Y6_P1x5L3j0tBfAD57u2979v1AY0AFHthMttw=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC7gli9IyYjO0UlL3KCn84nA",
"channel_url": "https://www.youtube.com/@gaellebaaboura",
"display_name": "@gaellebaaboura",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwQ772-QLhKQddE40l4AaABAg",
"content": "❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤😊❤😊❤",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "3天前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_nZfCLnM44mNUF7Crj4E-PgqfmlmAhJ-PV5eut_kfXa_yTwgefCrxm4i3Gyba6fyhYSEw=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCH3GteuWf0sCmhyg9wtenJA",
"channel_url": "https://www.youtube.com/@FanzRifz",
"display_name": "@FanzRifz",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugxrv3TzmbEqXAHwNJJ4AaABAg",
"content": "Cursed is real!",
"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/omrOFcpGYNNSTu-gsZwQ06_7cR-QR91PBDZbXy8jdQv4CWjE5DoGjJfjV-ddnXPDrRFXeTop=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCmeNfZfys4F0IPet0EaPAog",
"channel_url": "https://www.youtube.com/@arminjan-q4z",
"display_name": "@arminjan-q4z",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgxoSK-Cct_8IpDHiRh4AaABAg",
"content": "5:09 HUH! Is that cursed monster?",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "4天前(修改过)",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_neAWLH7sZOed0nxggmhltv1elkeHlOQumeJrdVd-uJprIR_0tQYDxrh34wywukW1kbeQ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC67sF0yKfcVJwHmkkDqdAlw",
"channel_url": "https://www.youtube.com/@SheryllQuinto-d4b",
"display_name": "@SheryllQuinto-d4b",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugzxf5nKVKZvBwPoFlh4AaABAg",
"content": "Maizen❤❤❤❤❤",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "6天前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/giTxayi7GkE2WZYJBH9shnx46Al1Cgmfw3KCA94l--mTU8GUuGmtrOoD6vHlWeL_usCkTJFqCg=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCql_rzc5X5lp2C7k-j11d-w",
"channel_url": "https://www.youtube.com/@Lea-pm5su",
"display_name": "@Lea-pm5su",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgygLGbExGa8exGxMwt4AaABAg",
"content": "JJ⚔️ALFARIZI",
"creator_thumbnail_url": null,
"like_count": "1",
"like_count_a11y": "1 次赞",
"published_time": "9天前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_kli0k3C-RDbTpqOliVbT34Ikn-oTv3_V2RCefRrDn7vl9ySG3kVOKW5vZSl9ROpKUKsg=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC3fwGnys_d856R72txZsxcQ",
"channel_url": "https://www.youtube.com/@abbiehilvano",
"display_name": "@abbiehilvano",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugz1zPx0UN9rdPwr0954AaABAg",
"content": "12:26 ummmmmmm why is everyone dressed in jj's red hoodie",
"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/ytc/AIdro_nqG5kNb9WDoM5cFrNSQr9fzliieK8lWbCqB52t7OKShdvcGjZ-DNkPlowQu3IE1MHYgQ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCWfE1Ud-UoTxqxHzbMeCXuA",
"channel_url": "https://www.youtube.com/@NizarAlfayyaadh",
"display_name": "@NizarAlfayyaadh",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugzv_oEKg50yY4Sf3IZ4AaABAg",
"content": "Itu bangunan terkutuk koca nanti dimakan loh",
"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/okoCB6JqEMrDvwl23TU6zIEGGpWTwAvYZi927Mn-eVTX2g5drO2Ka8gjg55CKrJNJ0SG5Xr-qg=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC_7czbg4qqBzapwinu8BSMw",
"channel_url": "https://www.youtube.com/@Sandymacapia",
"display_name": "@Sandymacapia",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugzky0bvSum_Ue88wbh4AaABAg",
"content": "Number one why the spirit say mikey is a turtle why they're wearing jj jackets rjj now",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "3周前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/VJIDnnuXiDE57O0ydkhTTxvfDporZlDWXMBdLHAMS9Tbfyd2mExA7ag9gXGmCHpCew7NftAx=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC4pJCz1ANHrrWpnVydCeTFw",
"channel_url": "https://www.youtube.com/@ElbertBatiancila-dp6se",
"display_name": "@ElbertBatiancila-dp6se",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwkCEY1nU-00v0GDI54AaABAg",
"content": "Curse is real",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/dYILew8AIcbNXNYgIXWAr5XdY4qdw4-f8g3jFFjvzZrbS_nARmqaAzN0m1JF6a4rsY2VYDZsAg=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC9T52lO0hYFpalvRzd8YxuQ",
"channel_url": "https://www.youtube.com/@tacoBUTCHER13",
"display_name": "@tacoBUTCHER13",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgzTNrxgDMIUKxT13j54AaABAg",
"content": "next video preview\r\ntry playing pokemon i lov it please\r\ntips: you can pick 3 starter pokemon and catch the otheres the goal is to caych em' all!\r\n\r\nstarter pokemon\r\ncharmander: a fire type pokemon it can spit fire and evolves into charmelon and then charmelon evolves into charizard next\r\n\r\nsquirtle: a water type pokemon that spits water it is just the first evolution to come, find the others!\r\n\r\nbulbasaur: a grass type pokemon that loves soaking in sunlight\r\n\r\nevery other pokemon is yet to be found go play it!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nthis is not nonsence because we learn something from it it is bulding and defending",
"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/QRRu6Ie4IjCrVCLtv1dQyEbV8xc2aloJvs3pQEKDfTIV17Qy61aoR_cy78oC2IJ03pLh6lYZ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC_RueBawstaNG09J7fOz7VA",
"channel_url": "https://www.youtube.com/@gurumilaut3036",
"display_name": "@gurumilaut3036",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgxdWMSYcf86c0fI0754AaABAg",
"content": "❤❤😂😂JJ🎉",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgzfbjChmrCi2rAx2sR4AaABAg",
"content": "JJ",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgxRfb77yVFBck8bG254AaABAg",
"content": "😱😱😱😭😭😭😢😟😕😲🙂",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugy892vOy3MFybCxsbh4AaABAg",
"content": "😢😢😢😢🥹🥹🥹😀😀😀😀😀😄😄😄😄😄😄",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwEn16ApTwhOyXXyMZ4AaABAg",
"content": "🖼️😈😢😢😮😮😮😮😮",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UCbobvUfk3mhaIHdyHMSKWBg",
"channel_url": "https://www.youtube.com/@aiyannepurpleworldot7",
"display_name": "@aiyannepurpleworldot7",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwLDYESl8zVvL920ap4AaABAg",
"content": "❤️💚",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_kLWpNZfXuiwmBzqy6CSbyVTAAo74Gtg0N2Xz-oTNjSAok=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC-ty2NQTcMZJPqH-pKGFHqQ",
"channel_url": "https://www.youtube.com/@ratneshbangre3852",
"display_name": "@ratneshbangre3852",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "UgwuSWENU5ggV3fe-_54AaABAg",
"content": "Kamehame",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
},
{
"author": {
"avatar_thumbnails": null,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_nlK0XZCHPihWVQ4ZXtf5b8YpsaViKGdlcNQOujPdbuOV75OJmCMvjy0UMhDlldDDfeTw=s88-c-k-c0x00ffffff-no-rj",
"channel_id": "UC2a6p83rsrxLxisA3nosWtg",
"channel_url": "https://www.youtube.com/@SangNyoman-d8k",
"display_name": "@SangNyoman-d8k",
"is_artist": false,
"is_creator": false,
"is_verified": false
},
"comment_id": "Ugw4eRgocnlUFLRKzBF4AaABAg",
"content": "Maaf Miki itu sudah menjadi peraturan 😕",
"creator_thumbnail_url": null,
"like_count": "0",
"like_count_a11y": "0 次赞",
"published_time": "1个月前",
"reply_count": "0",
"reply_count_a11y": "0 条回复",
"reply_level": 0
}
],
"continuation_token": "Eg0SC29hU05CejRxTVFZGAYytgEKemdldF9uZXdlc3RfZmlyc3QtLUNnZ0lnQVFWRjdmUk9CSUZDTWdnR0FBU0JRaWRJQmdCRWdVSWlTQVlBQklGQ0ljZ0dBQVNCUWllSUJnQUVnVUlxQ0FZQUJJRkNJZ2dHQUFpRFFvTENNeVpvdFVHRU9qdXlDSlFBRmdCIhEiC29hU05CejRxTVFZMAF4ASgUMAFCIWVuZ2FnZW1lbnQtcGFuZWwtY29tbWVudHMtc2VjdGlvbg%3D%3D"
},
"message": null,
"recordTime": null
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Historical response; independent request temp
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
videoId- The unique identifier for a YouTube video.
cursor- Pagination cursor returned by the previous response.
languageCode- Language preference for response data.
countryCode- Region code for response data.
sortBy- Sort order for the comment list. Available Values: - `top`: Top comments - `newest`: Newest comments
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/youtube/get-video-comment/v1?videoId=%3CREPLACE_VIDEOID%3E' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "comments": [ { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/q18klxmnfKX-gMkgcm3APD8Lmb_l_g7vd-7sJ_CxBzdob5N11pvF98XzxUebE56f8QMeu7gDdQ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCq4Cg_QBND1ZAqqdayd9vnQ", "channel_url": "https://www.youtube.com/@ChristWilliammvillen", "display_name": "@ChristWilliammvillen", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgwoyP9gyP89Tn_OGHB4AaABAg", "content": "Remember me bro", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "4小时前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/vkKPZXGtxr8UsXwJMtBU-rTyZ3wRI2oFWZKeu5rkBDf5D79Q6z365Sm18WI4LsPh2S4slQtlfU4=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC8pPWDSB5qCgsa1ismF16bA", "channel_url": "https://www.youtube.com/@sathitkhun-j6j", "display_name": "@sathitkhun-j6j", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgxH3_TmBO1hsqPzK8t4AaABAg", "content": "9.21 Missile is rocket high destory", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "6小时前(修改过)", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/LvKMI0RBKcL7ZFu3azFwEeDKEWibrwNX0EqV3Y6_P1x5L3j0tBfAD57u2979v1AY0AFHthMttw=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC7gli9IyYjO0UlL3KCn84nA", "channel_url": "https://www.youtube.com/@gaellebaaboura", "display_name": "@gaellebaaboura", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgwQ772-QLhKQddE40l4AaABAg", "content": "❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤😊❤😊❤", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "3天前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/ytc/AIdro_nZfCLnM44mNUF7Crj4E-PgqfmlmAhJ-PV5eut_kfXa_yTwgefCrxm4i3Gyba6fyhYSEw=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCH3GteuWf0sCmhyg9wtenJA", "channel_url": "https://www.youtube.com/@FanzRifz", "display_name": "@FanzRifz", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "Ugxrv3TzmbEqXAHwNJJ4AaABAg", "content": "Cursed is real!", "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/omrOFcpGYNNSTu-gsZwQ06_7cR-QR91PBDZbXy8jdQv4CWjE5DoGjJfjV-ddnXPDrRFXeTop=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCmeNfZfys4F0IPet0EaPAog", "channel_url": "https://www.youtube.com/@arminjan-q4z", "display_name": "@arminjan-q4z", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgxoSK-Cct_8IpDHiRh4AaABAg", "content": "5:09 HUH! Is that cursed monster?", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "4天前(修改过)", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/ytc/AIdro_neAWLH7sZOed0nxggmhltv1elkeHlOQumeJrdVd-uJprIR_0tQYDxrh34wywukW1kbeQ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC67sF0yKfcVJwHmkkDqdAlw", "channel_url": "https://www.youtube.com/@SheryllQuinto-d4b", "display_name": "@SheryllQuinto-d4b", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "Ugzxf5nKVKZvBwPoFlh4AaABAg", "content": "Maizen❤❤❤❤❤", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "6天前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/giTxayi7GkE2WZYJBH9shnx46Al1Cgmfw3KCA94l--mTU8GUuGmtrOoD6vHlWeL_usCkTJFqCg=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCql_rzc5X5lp2C7k-j11d-w", "channel_url": "https://www.youtube.com/@Lea-pm5su", "display_name": "@Lea-pm5su", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgygLGbExGa8exGxMwt4AaABAg", "content": "JJ⚔️ALFARIZI", "creator_thumbnail_url": null, "like_count": "1", "like_count_a11y": "1 次赞", "published_time": "9天前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/ytc/AIdro_kli0k3C-RDbTpqOliVbT34Ikn-oTv3_V2RCefRrDn7vl9ySG3kVOKW5vZSl9ROpKUKsg=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC3fwGnys_d856R72txZsxcQ", "channel_url": "https://www.youtube.com/@abbiehilvano", "display_name": "@abbiehilvano", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "Ugz1zPx0UN9rdPwr0954AaABAg", "content": "12:26 ummmmmmm why is everyone dressed in jj's red hoodie", "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/ytc/AIdro_nqG5kNb9WDoM5cFrNSQr9fzliieK8lWbCqB52t7OKShdvcGjZ-DNkPlowQu3IE1MHYgQ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCWfE1Ud-UoTxqxHzbMeCXuA", "channel_url": "https://www.youtube.com/@NizarAlfayyaadh", "display_name": "@NizarAlfayyaadh", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "Ugzv_oEKg50yY4Sf3IZ4AaABAg", "content": "Itu bangunan terkutuk koca nanti dimakan loh", "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/okoCB6JqEMrDvwl23TU6zIEGGpWTwAvYZi927Mn-eVTX2g5drO2Ka8gjg55CKrJNJ0SG5Xr-qg=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC_7czbg4qqBzapwinu8BSMw", "channel_url": "https://www.youtube.com/@Sandymacapia", "display_name": "@Sandymacapia", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "Ugzky0bvSum_Ue88wbh4AaABAg", "content": "Number one why the spirit say mikey is a turtle why they're wearing jj jackets rjj now", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "3周前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/VJIDnnuXiDE57O0ydkhTTxvfDporZlDWXMBdLHAMS9Tbfyd2mExA7ag9gXGmCHpCew7NftAx=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC4pJCz1ANHrrWpnVydCeTFw", "channel_url": "https://www.youtube.com/@ElbertBatiancila-dp6se", "display_name": "@ElbertBatiancila-dp6se", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgwkCEY1nU-00v0GDI54AaABAg", "content": "Curse is real", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/dYILew8AIcbNXNYgIXWAr5XdY4qdw4-f8g3jFFjvzZrbS_nARmqaAzN0m1JF6a4rsY2VYDZsAg=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC9T52lO0hYFpalvRzd8YxuQ", "channel_url": "https://www.youtube.com/@tacoBUTCHER13", "display_name": "@tacoBUTCHER13", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgzTNrxgDMIUKxT13j54AaABAg", "content": "next video preview\r\ntry playing pokemon i lov it please\r\ntips: you can pick 3 starter pokemon and catch the otheres the goal is to caych em' all!\r\n\r\nstarter pokemon\r\ncharmander: a fire type pokemon it can spit fire and evolves into charmelon and then charmelon evolves into charizard next\r\n\r\nsquirtle: a water type pokemon that spits water it is just the first evolution to come, find the others!\r\n\r\nbulbasaur: a grass type pokemon that loves soaking in sunlight\r\n\r\nevery other pokemon is yet to be found go play it!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nthis is not nonsence because we learn something from it it is bulding and defending", "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/QRRu6Ie4IjCrVCLtv1dQyEbV8xc2aloJvs3pQEKDfTIV17Qy61aoR_cy78oC2IJ03pLh6lYZ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC_RueBawstaNG09J7fOz7VA", "channel_url": "https://www.youtube.com/@gurumilaut3036", "display_name": "@gurumilaut3036", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgxdWMSYcf86c0fI0754AaABAg", "content": "❤❤😂😂JJ🎉", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCbobvUfk3mhaIHdyHMSKWBg", "channel_url": "https://www.youtube.com/@aiyannepurpleworldot7", "display_name": "@aiyannepurpleworldot7", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgzfbjChmrCi2rAx2sR4AaABAg", "content": "JJ", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCbobvUfk3mhaIHdyHMSKWBg", "channel_url": "https://www.youtube.com/@aiyannepurpleworldot7", "display_name": "@aiyannepurpleworldot7", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgxRfb77yVFBck8bG254AaABAg", "content": "😱😱😱😭😭😭😢😟😕😲🙂", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCbobvUfk3mhaIHdyHMSKWBg", "channel_url": "https://www.youtube.com/@aiyannepurpleworldot7", "display_name": "@aiyannepurpleworldot7", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "Ugy892vOy3MFybCxsbh4AaABAg", "content": "😢😢😢😢🥹🥹🥹😀😀😀😀😀😄😄😄😄😄😄", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCbobvUfk3mhaIHdyHMSKWBg", "channel_url": "https://www.youtube.com/@aiyannepurpleworldot7", "display_name": "@aiyannepurpleworldot7", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgwEn16ApTwhOyXXyMZ4AaABAg", "content": "🖼️😈😢😢😮😮😮😮😮", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/l0jkFwPKSmFNfy3QGpCJdTpSq8sBpcXA2rD__dlZXfIwtwyabYK-NhIH2yTixoCGIu3IqCgJ=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UCbobvUfk3mhaIHdyHMSKWBg", "channel_url": "https://www.youtube.com/@aiyannepurpleworldot7", "display_name": "@aiyannepurpleworldot7", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgwLDYESl8zVvL920ap4AaABAg", "content": "❤️💚", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/ytc/AIdro_kLWpNZfXuiwmBzqy6CSbyVTAAo74Gtg0N2Xz-oTNjSAok=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC-ty2NQTcMZJPqH-pKGFHqQ", "channel_url": "https://www.youtube.com/@ratneshbangre3852", "display_name": "@ratneshbangre3852", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "UgwuSWENU5ggV3fe-_54AaABAg", "content": "Kamehame", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 }, { "author": { "avatar_thumbnails": null, "avatar_url": "https://yt3.ggpht.com/ytc/AIdro_nlK0XZCHPihWVQ4ZXtf5b8YpsaViKGdlcNQOujPdbuOV75OJmCMvjy0UMhDlldDDfeTw=s88-c-k-c0x00ffffff-no-rj", "channel_id": "UC2a6p83rsrxLxisA3nosWtg", "channel_url": "https://www.youtube.com/@SangNyoman-d8k", "display_name": "@SangNyoman-d8k", "is_artist": false, "is_creator": false, "is_verified": false }, "comment_id": "Ugw4eRgocnlUFLRKzBF4AaABAg", "content": "Maaf Miki itu sudah menjadi peraturan 😕", "creator_thumbnail_url": null, "like_count": "0", "like_count_a11y": "0 次赞", "published_time": "1个月前", "reply_count": "0", "reply_count_a11y": "0 条回复", "reply_level": 0 } ], "continuation_token": "Eg0SC29hU05CejRxTVFZGAYytgEKemdldF9uZXdlc3RfZmlyc3QtLUNnZ0lnQVFWRjdmUk9CSUZDTWdnR0FBU0JRaWRJQmdCRWdVSWlTQVlBQklGQ0ljZ0dBQVNCUWllSUJnQUVnVUlxQ0FZQUJJRkNJZ2dHQUFpRFFvTENNeVpvdFVHRU9qdXlDSlFBRmdCIhEiC29hU05CejRxTVFZMAF4ASgUMAFCIWVuZ2FnZW1lbnQtcGFuZWwtY29tbWVudHMtc2VjdGlvbg%3D%3D" }, "message": null, "recordTime": null }