# লাইভ YouTube Comments অ্যাডভান্সড

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/youtube/video_comments/live/advanced`

**Tags:** DataForSEO

YouTube-এ একটি YouTube ভিডিওর কমেন্ট সিঙ্ক্রোনাসভাবে ফেরত দেয়। `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count` ও `items` ফেরত দেয়। `advanced` ডিফল্ট পছন্দ; শুধু র‍্যাংক করা তালিকা গুরুত্বপূর্ণ হলে `regular` নিন আর পার্সার কী বাদ দিয়েছে দেখতে চাইলে `html`। DataForSEO-র এনভেলপে মোড়া: ডেটা `tasks[0].result`-এ, ফলাফল `tasks[0].status_code`-এ — প্রত্যাখ্যাত রিকোয়েস্টও HTTP 200 ফেরত দেয়।

### মূল্য রেফারেন্স

- মিটারিং: রিপোর্ট করা রেসপন্স খরচ
- রেফারেন্স রিকোয়েস্ট অনুমান: USD 0.004
- রেফারেন্স গ্রাহক গুণক: 1.0। নিষ্পত্তিকৃত গ্রাহক অঙ্কে এটি আবার প্রয়োগ করবেন না।

এটি কেবল রেফারেন্স মেটাডেটা; অ্যাকাউন্টের কোটেশন, নিশ্চিত মূল্য বা ব্যয়সীমা নয়। রিসোর্স ক্রেডিট Felo ক্রেডিট নয়। চূড়ান্ত চার্জ Felo-এর বিলিং রেকর্ড অনুযায়ী হয়।

## Related links

- [YouTube Organic](<https://docs.dataforseo.com/v3/serp/youtube/organic/live/advanced/>)

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "video_id": {
            "type": "string",
            "description": "<em>ভিডিওর ID</em><br><strong>আবশ্যক ফিল্ড</strong><br>আপনি ভিডিও ID URL-এ অথবা YouTube Organic ফলাফলের 'youtube_video' item-এ পাবেন<br>উদাহরণ:<br><code>vQXvyV0zIP4</code>"
          },
          "location_name": {
            "type": "string",
            "description": "<em>সার্চ ইঞ্জিন অবস্থানের পূর্ণ নাম</em><br><strong><code>location_code</code> নির্দিষ্ট না করলে আবশ্যক ফিল্ড</strong><br><strong>আপনি এই ফিল্ড ব্যবহার করলে <code>location_code</code> নির্দিষ্ট করার প্রয়োজন নেই</strong><br>আপনি <code>location_name</code>-সহ সার্চ ইঞ্জিনের উপলব্ধ অবস্থানের তালিকা <code>https://api.dataforseo.com/v3/serp/youtube/locations</code>-এ পৃথক রিকোয়েস্ট পাঠিয়ে পেতে পারেন<br>উদাহরণ:<br><code class=\"long-string\">United States</code>"
          },
          "location_code": {
            "type": "integer",
            "description": "<em>সার্চ ইঞ্জিন অবস্থান কোড</em><br><strong><code>location_name</code> নির্দিষ্ট না করলে আবশ্যক ফিল্ড</strong><br><strong>আপনি এই ফিল্ড ব্যবহার করলে <code>location_name</code> নির্দিষ্ট করার প্রয়োজন নেই</strong><br>আপনি <code>location_code</code>-সহ সার্চ ইঞ্জিনের উপলব্ধ অবস্থানের তালিকা <code>https://api.dataforseo.com/v3/serp/youtube/locations</code>-এ পৃথক রিকোয়েস্ট পাঠিয়ে পেতে পারেন<br>উদাহরণ:<br><code class=\"long-string\">2840</code>"
          },
          "language_name": {
            "type": "string",
            "description": "<em>সার্চ ইঞ্জিন ভাষার পূর্ণ নাম</em><br><strong><code>language_code</code> নির্দিষ্ট না করলে আবশ্যক ফিল্ড</strong><br><strong>আপনি এই ফিল্ড ব্যবহার করলে <code>language_code</code> নির্দিষ্ট করার প্রয়োজন নেই</strong><br>আপনি <code>language_name</code>-সহ সার্চ ইঞ্জিনের উপলব্ধ ভাষার তালিকা <code>https://api.dataforseo.com/v3/serp/youtube/languages</code>-এ পৃথক রিকোয়েস্ট পাঠিয়ে পেতে পারেন<br>উদাহরণ:<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": "string",
            "description": "<em>সার্চ ইঞ্জিন ভাষা কোড</em><br><strong><code>language_name</code> নির্দিষ্ট না করলে আবশ্যক ফিল্ড</strong><br><strong>আপনি এই ফিল্ড ব্যবহার করলে <code>language_name</code> নির্দিষ্ট করার প্রয়োজন নেই</strong><br>আপনি <code>language_code</code>-সহ সার্চ ইঞ্জিনের উপলব্ধ ভাষার তালিকা <code>https://api.dataforseo.com/v3/serp/youtube/languages</code>-এ পৃথক রিকোয়েস্ট পাঠিয়ে পেতে পারেন<em><br></em>উদাহরণ:<em><br></em><code class=\"long-string\">en</code>"
          },
          "device": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ডিভাইসের ধরন</em><br>ঐচ্ছিক ফিল্ড<br>একমাত্র মান: <code>desktop</code>"
          },
          "os": {
            "type": [
              "string",
              "null"
            ]
          },
          "depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>পার্সিং গভীরতা</em><br>ঐচ্ছিক ফিল্ড<br>SERP-এ ফলাফলের সংখ্যা<br>ডিফল্ট মান: <code>20</code><br>সর্বোচ্চ মান: <code>200</code><br><strong>নোট:</strong> সর্বোচ্চ 20টি ফলাফল থাকা প্রতিটি SERP-এর জন্য আপনার অ্যাকাউন্ট থেকে বিল নেওয়া হবে;<br>তাই, <code>20</code>-এর বেশি গভীরতা সেট করলে অতিরিক্ত চার্জ হতে পারে যদি সার্চ ইঞ্জিন 20টির বেশি ফলাফল ফেরত দেয়;<br>নির্দিষ্ট গভীরতা response-এ ফলাফলের সংখ্যার চেয়ে বেশি হলে পার্থক্যটি স্বয়ংক্রিয়ভাবে আপনার অ্যাকাউন্ট ব্যালেন্সে ফেরত দেওয়া হবে"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ব্যবহারকারী-নির্ধারিত টাস্ক আইডেন্টিফায়ার</em><br>ঐচ্ছিক ফিল্ড<br><em>অক্ষরসীমা 255</em><br>এই প্যারামিটার দিয়ে টাস্ক শনাক্ত করে ফলাফলের সঙ্গে মিলিয়ে নিতে পারেন<br>নির্দিষ্ট <code>tag</code> মান response-এর <code>data</code> অবজেক্টে পাবেন"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_code": 2840,
            "video_id": "vQXvyV0zIP4"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_code": 2840,
      "video_id": "vQXvyV0zIP4"
    }
  ]
}
```

## Responses

### 200 — সফল অপারেশন

Headers:
- `X-Request-Id` (string) — Felo সাপোর্টে যোগাযোগের সময় অন্তর্ভুক্ত করার জন্য রিকোয়েস্ট আইডেন্টিফায়ার।

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedResponseInfo"
    }
  ]
}
```

### 400 — রিকোয়েস্ট প্রক্রিয়া করা যায়নি। রিকোয়েস্ট প্যারামিটার যাচাই করুন।

### 401 — একটি বৈধ Felo API key আবশ্যক।

### 402 — বিলিং শর্ত পূরণ না হওয়ায় রিকোয়েস্ট এগোতে পারছে না।

### 403 — অ্যাকাউন্টটিকে এই অপারেশন করার অনুমতি নেই।

### 429 — রিকোয়েস্ট বা ব্যয়ের সীমায় পৌঁছে গেছে।

### 502 — পরিষেবা রিকোয়েস্টটি সম্পন্ন করতে পারেনি।

### 503 — API বা বিলিং পরিষেবা সাময়িকভাবে অনুপলভ্য।

### 504 — রিকোয়েস্ট প্রক্রিয়াকরণের সময় পরিষেবার সময় শেষ হয়ে গেছে।

### default — ত্রুটি রেসপন্স; আপস্ট্রিম passthrough রেসপন্স প্রোভাইডারের ফর্ম্যাট ব্যবহার করতে পারে।

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API-এর বর্তমান সংস্করণ"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "সাধারণ স্ট্যাটাস কোড\nসম্পূর্ণ response কোড তালিকা এখানে দেখতে পাবেন"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "সাধারণ তথ্যমূলক বার্তা\nসাধারণ তথ্যমূলক বার্তার সম্পূর্ণ তালিকা এখানে দেখতে পাবেন"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "মোট সম্পাদন সময়, সেকেন্ড"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "টাস্কের মোট খরচ, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks অ্যারেতে টাস্কের সংখ্যা",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "ত্রুটিসহ ফেরত দেওয়া tasks অ্যারেতে টাস্কের সংখ্যা",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "টাস্ক আইডেন্টিফায়ার\nআমাদের সিস্টেমে অনন্য টাস্ক আইডেন্টিফায়ার, UUID ফরম্যাটে"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "টাস্কের স্ট্যাটাস কোড\nDataForSEO কর্তৃক তৈরি, যা নিম্নলিখিত পরিসরে হতে পারে: 10000-60000\nসম্পূর্ণ response কোড তালিকা এখানে দেখতে পাবেন"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "টাস্কের তথ্যমূলক বার্তা\nসাধারণ তথ্যমূলক বার্তার সম্পূর্ণ তালিকা এখানে দেখতে পাবেন"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "সম্পাদনের সময়, সেকেন্ড"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "টাস্কের মোট খরচ, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result অ্যারেতে এলিমেন্টের সংখ্যা",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL পাথ"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "এতে POST রিকোয়েস্টে আপনি যে প্যারামিটারগুলো নির্দিষ্ট করেছিলেন সেগুলোই থাকে"
    }
  }
}
```

### Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>টাস্কের অ্যারে</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "video_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST অ্যারেতে পাওয়া ভিডিওর ID</em>"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST অ্যারেতে সার্চ ইঞ্জিন ডোমেইন</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>POST অ্যারেতে অবস্থান কোড</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST অ্যারেতে ভাষা কোড</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>সার্চ ইঞ্জিন ফলাফলের সরাসরি URL<br></em>এটি দিয়ে যাচাই করতে পারেন যে আমরা সঠিক ফলাফল দিয়েছি"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ফলাফল পাওয়ার তারিখ ও সময়</em><br>UTC ফরম্যাটে: “yyyy-mm-dd hh-mm-ss +00:00”<br>উদাহরণ:<br><code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>সার্চ ইঞ্জিনের অটোকরেকশন</em><br>সার্চ ইঞ্জিন যদি সংশোধিত কোনো কীওয়ার্ডের জন্য ফলাফল দেয়, তবে আমরা সার্চ ইঞ্জিন যে কীওয়ার্ড সংশোধন করেছে এবং অটোকরেকশনের ধরন উল্লেখ করব"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>SERP-এ সার্চ ফলাফলের ধরন</em><br>এতে SERP-এ পাওয়া সার্চ ফলাফলের (<code>items</code>) ধরন থাকে।<br>সম্ভাব্য আইটেম ধরন:<br><code>youtube_comment</code>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ভিডিওর শিরোনাম</em>"
    },
    "comments_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>ভিডিওতে মন্তব্যের সংখ্যা</em>",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><strong><code>items</code></strong> অ্যারেতে ফেরত দেওয়া ফলাফলের সংখ্যা</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_YoutubeComment"
          }
        ]
      },
      "description": "<em>SERP-এ পাওয়া সার্চ ফলাফলের এলিমেন্ট</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_SerpYoutubeVideoCommentsLiveAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>ফলাফলের অ্যারে</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "সার্চ ইঞ্জিন অটোকরেকশনের ফলে পাওয়া কিওয়ার্ড\n সংশোধিত কিওয়ার্ডের জন্য ফলাফল দেওয়া হবে"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "অটোকরেকশনের ধরন\n সম্ভাব্য মান:\n did_you_mean, showing_results_for, no_results_found_for, including_results_for\n নোট: Yahoo ও Yandex শুধু নিচের অটোকরেকশন ধরন সমর্থন করে:\n including_results_for"
    }
  }
}
```

### Response36Afe1097B20_YoutubeComment

`#/components/schemas/Response36Afe1097B20_YoutubeComment`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "এলিমেন্টের ধরন"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>SERP-এ গ্রুপ র‍্যাংক</em><br>একই <code>type</code> মানের এলিমেন্টের গ্রুপের মধ্যে অবস্থান<br>ভিন্ন <code>type</code> মানের এলিমেন্টের অবস্থান <code>rank_group</code> থেকে বাদ দেওয়া হয়"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> লক্ষ্য ডোমেইনের জন্য SERP-এ পরম র‍্যাংক</em><br>SERP-এর সব উপাদানের মধ্যে পরম অবস্থান"
    },
    "author_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>মন্তব্যের লেখকের নাম</em>"
    },
    "author_thumbnail": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>লেখকের চ্যানেল লোগো যে পেজে হোস্ট করা তার URL</em>"
    },
    "author_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>লেখকের চ্যানেলের URL</em>"
    },
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>মন্তব্যের টেক্সট</em>"
    },
    "publication_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>প্রদর্শিত প্রকাশের তারিখ</em>"
    },
    "timestamp": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ফলাফল প্রকাশের তারিখ ও সময়</em><br>UTC ফরম্যাটে: “yyyy-mm-dd hh-mm-ss +00:00”<br>উদাহরণ:<br><code>2022-11-15 12:57:46 +00:00</code>"
    },
    "likes_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>মন্তব্যে লাইকের সংখ্যা</em>",
      "format": "int64"
    },
    "reply_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>মন্তব্যে উত্তরগুলোর সংখ্যা</em>",
      "format": "int64"
    }
  }
}
```
