YouTubeYouTubeSocial

List your YouTube videos, private and unlisted included

youtube.youtube.channel.videos

List your own channel's videos, newest first (includes private and unlisted ones)

Price
freePelo preço do provedor
Success rate
100%Last 30 days · 64 calls
Latency p50
329 msp95 501 ms
Last verified
28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/youtube.youtube.channel.videos?part=snippet&type=video&channelId=UCBR8-60-B28hp2BmDPdntcQ&maxResults=2Preview
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
partstringObrigatóriosnippet
typestringObrigatóriomust be 'video' whenever forMine is set — the API rejects any other typevideo
orderstringOpcionaldate (default relevance) | rating | title | viewCountdate
forMinebooleanoObrigatóriorestricts results to the connected account's videostrue
pageTokenstringOpcionalnextPageToken from the previous response
maxResultsinteiroOpcional1–50, default 525
  • Parâmetros de consulta
  • partstringObrigatório

    Exemplo: snippet

  • typestringObrigatório

    must be 'video' whenever forMine is set — the API rejects any other type

    Exemplo: video

  • orderstringOpcional

    date (default relevance) | rating | title | viewCount

    Exemplo: date

  • forMinebooleanoObrigatório

    restricts results to the connected account's videos

    Exemplo: true

  • pageTokenstringOpcional

    nextPageToken from the previous response

  • maxResultsinteiroOpcional

    1–50, default 5

    Exemplo: 25

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/youtube.youtube.channel.videos?part=snippet&type=video&channelId=UCBR8-60-B28hp2BmDPdntcQ&maxResults=2' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a free, incluindo a taxa de serviço.