Skip to main content
$0.2 / 1k results Extract YouTube search results for a query, providing video, channel, and playlist titles, links, and descriptions

Endpoint

POST /api/v1/agents/youtube/search/run

Parameters

string
required
Text · The YouTube keywords to search for.
string
default:"video"
Dropdown · Filter by content type (videos, channels, playlists).Options: video, channel, playlist, movie, show, shorts
integer
default:50
Number · Total results to fetch. Use 0 for all (minimum: 20).
string
Dropdown · Sort order for the results. Relevance by default. Note: sorting is not available for Shorts.Options: relevance, rating, date, views
string
Dropdown · Filter by video length.Options: short, medium, long
string
Dropdown · Restrict results to a recent time range.Options: hour, today, week, month, year
string
Dropdown · Country to search YouTube from.View all 57 options →
string
Dropdown · Language for results.View all 36 options →

Response columns

Example

Example response

Response