YouTubeYouTubeSocial

List YouTube comments by id or parent comment id

youtube.x.youtube-comments-list

comments.list — Retrieves a list of resources, possibly filtered.

Price
freeAu prix du fournisseur
Success rate
—Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/youtube.x.youtube-comments-listPreview
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
idchaîneFacultatifReturns the comments with the given IDs for One Platform.
partchaîneObligatoireThe *part* parameter specifies a comma-separated list of one or more comment resource properties that the API response will include.
parentIdchaîneFacultatifReturns replies to the specified comment. Note, currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.
pageTokenchaîneFacultatifThe *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
maxResultsentierFacultatifThe *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
textFormatchaîneFacultatifThe requested text format for the returned comments.
  • Paramètres de requête
  • idchaîneFacultatif

    Returns the comments with the given IDs for One Platform.

  • partchaîneObligatoire

    The *part* parameter specifies a comma-separated list of one or more comment resource properties that the API response will include.

  • parentIdchaîneFacultatif

    Returns replies to the specified comment. Note, currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.

  • pageTokenchaîneFacultatif

    The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

  • maxResultsentierFacultatif

    The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.

  • textFormatchaîneFacultatif

    The requested text format for the returned comments.

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/youtube.x.youtube-comments-list' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.