Skip to content
Browse all functions

List YouTube Comment Threads

youtube/listyoutubecommentthreads

listyoutubecommentthreads (List YouTube Comment Threads) is a 1001fx API function in the group YouTube: POST https://api.1001fx.com/youtube/listyoutubecommentthreads, 2 credits per call. It works in Make, n8n, scripts and AI agents as a plain HTTP call.

This function is deprecated and will be removed in a future release.

Lists YouTube comment threads for a specified videoId.

  • This service is provided by an external service provider: YouTube. The data of the call is sent to the provider. More about service providers

Try it in the 1001fx app

Run listyoutubecommentthreads in your browser with your API key – fill the form, click Run and get the answer or the file.

listyoutubecommentthreads in the 1001fx app: the form with example values
List YouTube Comment Threads in the 1001fx app

Endpoint

POSThttps://api.1001fx.com/youtube/listyoutubecommentthreads
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json

Parameters

  • credentialKeystringrequired

    Your 1001fx credential key. See https://1001fx.com/app/credentials/list

    Example:
    yourCredentialKey
  • videoIdstringrequired

    The video to retrieve comment threads.

    Example:
    kJQP7kiw5Fk
  • maxResultsnumberoptional

    Defines how many comment threads to retrieve. Defaults to 20.

    Default:
    20
    Min:
    1
    Max:
    100
    Example:
    10
  • pageTokenstringoptional

    If your last request did not retrieve all comment threads a nextPageToken is returned to fetch the next set of comment threads.

  • orderenumoptional

    Defines the comment thread order. Defaults to time.

    Values:
    time
    relevance
    Default:
    time
    Example:
    relevance

Examples

List YouTube Comment Threads

Returns a list of comment threads

Input

Expects a json body
{
  "credentialKey": "yourCredentialKey",
  "videoId": "kJQP7kiw5Fk",
  "maxResults": 10,
  "order": "relevance"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/youtube/listyoutubecommentthreads' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"credentialKey":"yourCredentialKey","videoId":"kJQP7kiw5Fk","maxResults":10,"order":"relevance"}'

Try listyoutubecommentthreads now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.019.04.2023created
Ask 1001fx