Just One APIYouTubeSocial

Search YouTube by keyword

justoneapi.x.youtube-search-v1

Search YouTube by keyword with optional type, upload-date, duration, feature, and sort filters, or continue with a token.

Price
$0.01476/successZum Anbieterpreis
Success rate
99,8 %Last 30 days · 1.741 calls
Latency p50
2.5 sp95 3.9 s
Last verified
28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.youtube-search-v1?keyword=coffeePreview
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameter

ParameterTypErforderlichBeschreibungBeispiel
Abfrageparameter
typeZeichenketteOptionalFilter results by result type. Available Values: - `video`: Video results - `channel`: Channel results - `playlist`: Playlist results - `movie`: Movie results One of: video, channel, playlist, movie.
sortByZeichenketteOptionalSort order for search results. Available Values: - `relevance`: Sort by relevance - `upload_date`: Sort by upload date - `view_count`: Sort by view count - `rating`: Sort by rating One of: relevance, upload_date, view_count, rating.
keywordZeichenketteOptionalSearch keyword. Required on the first request; leave empty when using a continuation token.
durationZeichenketteOptionalFilter video results by duration. Supported request values: short, medium, long. Available Values: - `SHORT`: Short videos under 4 minutes - `MEDIUM`: Medium videos from 4 to 20 minutes - `LONG`: Long videos over 20 minutes One of: SHORT, MEDIUM, LONG.
featuresZeichenketteOptionalFeature filters separated by commas. Supported values: live, 4k, hd, subtitles, creative_commons, 360, vr180, 3d, hdr. One of: live, FOUR_K, hd, subtitles, creative_commons, THREE_SIXTY, vr180, THREE_D, hdr.
uploadDateZeichenketteOptionalFilter results by upload date. Available Values: - `last_hour`: Uploaded within the last hour - `today`: Uploaded today - `this_week`: Uploaded this week - `this_month`: Uploaded this month - `this_year`: Uploaded this year One of: last_hour, today, this_week, this_month, this_year.
continuationTokenZeichenketteOptionalPagination token returned by the previous response.
  • Abfrageparameter
  • typeZeichenketteOptional

    Filter results by result type. Available Values: - `video`: Video results - `channel`: Channel results - `playlist`: Playlist results - `movie`: Movie results One of: video, channel, playlist, movie.

  • sortByZeichenketteOptional

    Sort order for search results. Available Values: - `relevance`: Sort by relevance - `upload_date`: Sort by upload date - `view_count`: Sort by view count - `rating`: Sort by rating One of: relevance, upload_date, view_count, rating.

  • keywordZeichenketteOptional

    Search keyword. Required on the first request; leave empty when using a continuation token.

  • durationZeichenketteOptional

    Filter video results by duration. Supported request values: short, medium, long. Available Values: - `SHORT`: Short videos under 4 minutes - `MEDIUM`: Medium videos from 4 to 20 minutes - `LONG`: Long videos over 20 minutes One of: SHORT, MEDIUM, LONG.

  • featuresZeichenketteOptional

    Feature filters separated by commas. Supported values: live, 4k, hd, subtitles, creative_commons, 360, vr180, 3d, hdr. One of: live, FOUR_K, hd, subtitles, creative_commons, THREE_SIXTY, vr180, THREE_D, hdr.

  • uploadDateZeichenketteOptional

    Filter results by upload date. Available Values: - `last_hour`: Uploaded within the last hour - `today`: Uploaded today - `this_week`: Uploaded this week - `this_month`: Uploaded this month - `this_year`: Uploaded this year One of: last_hour, today, this_week, this_month, this_year.

  • continuationTokenZeichenketteOptional

    Pagination token returned by the previous response.

Codebeispiele

Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.

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

Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.01476/success einschließlich Servicegebühr abgerechnet.