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/callAu prix du fournisseur
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 onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
typechaîneFacultatifType of content to search for. Plural forms: videos | shorts | channels | playlists (not video/channel).videos
querychaîneObligatoireSearch query
regionchaîneFacultatif2 letter country code of the country to put the proxy in.US
sortBychaîneFacultatifOnly relevance|popular work. view_count, upload_date, and rating are NOT accepted (HTTP 400).relevance
durationchaîneFacultatifDuration 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
uploadDatechaîneFacultatifFilter by upload date. One of: today | this_week | this_month | this_year.
includeExtraschaîneFacultatifThis 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
continuationTokenchaîneFacultatifContinuation token to get more videos. Get 'continuationToken' from previous response.4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB
  • Paramètres de requête
  • typechaîneFacultatif

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

    Exemple : videos

  • querychaîneObligatoire

    Search query

  • regionchaîneFacultatif

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

    Exemple : US

  • sortBychaîneFacultatif

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

    Exemple : relevance

  • durationchaîneFacultatif

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

    Exemple : under_3_min

  • uploadDatechaîneFacultatif

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

  • includeExtraschaîneFacultatif

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

    Exemple : false

  • continuationTokenchaîneFacultatif

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

    Exemple : 4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB

Exemples de code

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

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-youtube-search?sortBy=relevance' \
  -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 à $0.00188/call, frais de service inclus.