YouTube

Fetch YouTube video comments

Changed on

Fetches a page of comments for a YouTube video. Returns comment text, author, like count, and reply count. Use nextPageToken from the response to paginate through additional pages.

<span>⚡ <strong>Rate limit:</strong> 300 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> 2 credits per page of results <span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

post/v1/youtube/video-comments

Request

  • Base URL
    https://api.fiber.ai
  • URL
    https://api.fiber.ai/v1/youtube/video-comments
  • Auth
    none declared

Request body

apiKeystring required

Your Fiber API key

videoIdstring required

YouTube video ID or full URL. Accepts a bare 11-character ID (e.g. '094y1Z2wpJg') or a full YouTube URL (e.g. 'https://www.youtube.com/watch?v=094y1Z2wpJg').

nextPageTokenstring nullable

Pagination token from a previous response to retrieve the next page of comments. Omit for the first page.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • info

      the response's property default value was removed for the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status