ScrapeCreatorsYouTubeSocial

Search YouTube by keyword — videos, channels, playlists

scrapecreators.x.v1-youtube-search

Searches YouTube by keyword query and returns matching videos, channels, playlists, shorts, shelves, and live streams.

Price
$0.00188/callAl precio del proveedor
Success rate
100 %Last 30 days · 50.454 calls
Latency p50
1.2 sp95 3.7 s
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-search?sortBy=relevancePreview
Try onlinePróximamenteProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parámetros

ParámetroTipoObligatorioDescripciónEjemplo
Parámetros de consulta
typecadenaOpcionalType of content to search for. Plural forms: videos | shorts | channels | playlists (not video/channel).videos
querycadenaObligatorioSearch query
regioncadenaOpcional2 letter country code of the country to put the proxy in.US
sortBycadenaOpcionalOnly relevance|popular work. view_count, upload_date, and rating are NOT accepted (HTTP 400).relevance
durationcadenaOpcionalDuration of the video. Only applies to videos (not shorts). One of: under_3_min | between_3_and_20_min | over_20_min.under_3_min
uploadDatecadenaOpcionalFilter by upload date. One of: today | this_week | this_month | this_year.
includeExtrascadenaOpcionalThis will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. *This will slow down the response slightly.*false
continuationTokencadenaOpcionalContinuation token to get more videos. Get 'continuationToken' from previous response.4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
  • Parámetros de consulta
  • typecadenaOpcional

    Type of content to search for. Plural forms: videos | shorts | channels | playlists (not video/channel).

    Ejemplo: videos

  • querycadenaObligatorio

    Search query

  • regioncadenaOpcional

    2 letter country code of the country to put the proxy in.

    Ejemplo: US

  • sortBycadenaOpcional

    Only relevance|popular work. view_count, upload_date, and rating are NOT accepted (HTTP 400).

    Ejemplo: relevance

  • durationcadenaOpcional

    Duration of the video. Only applies to videos (not shorts). One of: under_3_min | between_3_and_20_min | over_20_min.

    Ejemplo: under_3_min

  • uploadDatecadenaOpcional

    Filter by upload date. One of: today | this_week | this_month | this_year.

  • includeExtrascadenaOpcional

    This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. *This will slow down the response slightly.*

    Ejemplo: false

  • continuationTokencadenaOpcional

    Continuation token to get more videos. Get 'continuationToken' from previous response.

    Ejemplo: 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB

Ejemplos de código

Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-search?sortBy=relevance' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.00188/call, incluida la tarifa de servicio.