# listyoutubecommentthreads: List YouTube Comment Threads

> 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.

**Deprecated:** this function 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](https://1001fx.com/functions#serviceproviders)

- Group: YouTube
- Endpoint: `POST https://api.1001fx.com/youtube/listyoutubecommentthreads`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 2 credits per call
- Ready-made in: none, use an HTTP request
- Service provider: YouTube
- Docs: https://1001fx.com/functions/listyoutubecommentthreads

## Parameters

- `credentialKey` (string, required) – 1001fx Credential Key: Your 1001fx credential key. See https://1001fx.com/app/credentials/list
- `videoId` (string, required) – Video ID: The video to retrieve comment threads.
- `maxResults` (number, optional, default `20`, min 1, max 100) – Max Results: Defines how many comment threads to retrieve. Defaults to 20.
- `pageToken` (string, optional) – Page Token: If your last request did not retrieve all comment threads a nextPageToken is returned to fetch the next set of comment threads.
- `order` (enum, optional, one of `time`, `relevance`, default `time`) – Order: Defines the comment thread order. Defaults to time.

## Example: List YouTube Comment Threads

```bash
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"}'
```
