YouTubeyoutube.search.videosLive
Search YouTube videos
Returns the YouTube videos that match a search, with channel, date and views. Use it to see which videos rank for a query.
$0.00214 per call
Example response
{
"videos": [
{
"id": "fpJL53G93lQ",
"url": "https://www.youtube.com/watch?v=fpJL53G93lQ",
"title": "All Coffees Explained",
"snippet": "Every Coffee Type Explained☕️ (part 1) Subscribe For Part 2! Milk Frother - https://s.click.aliexpress.com/e/_c4s56h4b ...",
"published_at": null,
"duration_ms": 946000,
"preview_image_url": "https://i.ytimg.com/vi/fpJL53G93lQ/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBPk_tBJSCUlsdgbJWGfBfHMUlMQA",
"author_id": "UCddXepURe7TTkRWrQXwwrgw",
"author_username": null,
"author_name": "FooDiscover",
"author_image_url": null,
"author_verified": null,
"view_count": 1551543
},
{
"id": "CFzttdZe7wQ",
"url": "https://www.youtube.com/watch?v=CFzttdZe7wQ",
"title": "POV - My Barista Shift at the Coffee Shop",
"snippet": "Thank you for watching this video, please consider subscribing. Espresso Machine - LA Marzocco Strada AV Grinders - Mahlkönig ...",
"published_at": null,
"duration_ms": 3687000,
"preview_image_url": "https://i.ytimg.com/vi/CFzttdZe7wQ/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLD28Ml4do0huFO4LL4OJ23fJK5QsA",
"author_id": "UCqPr7D4qL-7kutOt9n68OGA",
"author_username": null,
"author_name": "IssackxCoffee",
"author_image_url": null,
"author_verified": null,
"view_count": 1231936
},
{
"id": "xb3IxAr4RCo",
"url": "https://www.youtube.com/watch?v=xb3IxAr4RCo",
"title": "How I Make Espresso: Tools and Techniques",
"snippet": "Get Surfshark VPN at https://surfshark.deals/jameshoffmann and enter code 'jameshoffmann' for 83% off and 3 extra months free!",
"published_at": null,
"duration_ms": 1291000,
"preview_image_url": "https://i.ytimg.com/vi/xb3IxAr4RCo/hq720.jpg?sqp=-oaymwEjCOgCEMoBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLDBKx6UVixX24L-181Odux3ll3BXQ",
"author_id": "UCMb0O2CdPBNi-QqPk5T3gsQ",
"author_username": null,
"author_name": "James Hoffmann",
"author_image_url": null,
"author_verified": null,
"view_count": 5162548
}
],
"pagination": {
"next_page_token": "pt1.dGlraHViOkVwY0RFZ1pqYjJabVpXVWFqQU5EUVVGVFFXaEJRbE5DVTBOQlVYUnRZMFZ3VFU1VVRraFBWRTV6VlZsSlFrTXdUa2RsYmxJd1drWndiRTR6WkZKblowVk1aVWRKZWxOWWFFSmphbEpUVVRJdFEwRlJkRWRoYlRGdlZFaEJNazB4WkhCT1NVbENRM3BhYW1Nd1dtbFdSWEJaWVVaV1JtZG5SVXhsV0U1NFUxVTFTRTFVYUZSbFJVZERRVkYwTTFSRk1ERlpibkF3VFZob2NtTTBTVUpETTJNMFlrZG5lVlF3V21wVGVrVXdaMmRGVEZOdFJrTldXRUUxVGtSa1ZWTldWME5CVVhScVRUSm9VVlY2V2xCYVJWcHBZelJKUWtNd2VHcFZNV3hNWXpKU1lWRXdNRFJuWjBWTVZqTkdkazVZV25wVVJFNUlWa2N0UTBGUmRGQlBWbXgxVkVWYWVWUlVaRWRqTkVsQ1F6QlNhbE5ZY0VKUmFrVXlVbXRXU21kblJVeGtWbVJZVm1zMWVFNVZaRWxqUkZORFFWRjBNRlJWYUVsWFJFSnFWMnhaZEZkWlNVSkRNRVpEVFVaR1RXRnVTblpTYms1NloyZEZURk5FYXpCT1YzUnJWRE5OTVdSR1IwTkJVWFJSVmpGV1dsSkdWbXhoZWtKdllqUkpRa015ZUZkYVZUVlZZakphUlZGcVNuSnpaMFZIUTJkUlNVWkNRVU1ZZ2VEb0dDSUxjMlZoY21Ob0xXWmxaV1ElM0Q"
}
}
The output of a real call, each list cut to 3 items.
Providers and pricing
| Provider | Price |
|---|---|
TikHubtikhub | $0.00214 per call |
A failed call costs nothing.
What it costs at your volume
| Provider | Per call | Total |
|---|---|---|
| TikHubCheapest | $0.00214 | $21.40 |
Only calls that succeed are charged.
Input
querystringRequiredThe search query.
sortstringOrder of the results: relevance (YouTube's ranking), newest, most_viewed or top_rated.
relevancenewestmost_viewedtop_ratedtime_rangestringOnly videos published in the last hour, day, week, month or year.
hourdayweekmonthyeardurationstringOnly videos of this length: short (under 4 minutes), medium (4 to 20 minutes) or long (over 20 minutes).
shortmediumlongnext_page_tokenstringFetches the next page. Take it from pagination.next_page_token of the previous page, and send the same query, sort, time_range and duration.
Output
videoslist of rows, 13 fields
idstringRequiredYouTube's identifier of the video. The video is at https://www.youtube.com/watch?v= followed by it.
urlstringAddress of the video on youtube.com.
titlestringsnippetstringAn excerpt of the video's description, as the search shows it.
published_atstringWhen the video was published, in ISO 8601.
duration_msintegerLength of the video, in milliseconds.
preview_image_urlstringAddress of the video's thumbnail.
author_idstringYouTube's identifier of the channel that published the video, which begins with UC.
author_usernamestringThe channel's handle, without the @.
author_namestringThe channel's name.
author_image_urlstringAddress of the channel's profile picture.
author_verifiedbooleanWhether YouTube marks the channel as verified.
view_countintegerNumber of times the video was watched.
paginationone object, 1 fields
next_page_tokenstringRequiredSend as next_page_token to fetch the next page.
Common questions
How much does youtube.search.videos cost?
$0.00214 per call. It is debited from your balance, and only a call that succeeds is charged.
What does youtube.search.videos return?
Returns the YouTube videos that match a search, with channel, date and views. Use it to see which videos rank for a query. Fields include id, url, title, snippet, published_at, duration_ms and 7 more.
Which providers serve youtube.search.videos?
TikHub. The answer comes back in Voxoria's own format, whichever provider serves it.
What happens if a call fails?
The call fails and costs nothing.
Do I need a subscription?
No. There is no subscription and no seat fee. You add funds and pay per call. A new account starts with $1 in its balance.
How do I use youtube.search.videos from an AI agent?
Connect Voxoria over MCP, then ask your agent in plain language. It calls call_tool with the tool youtube.search.videos and its input. In Claude Code, connect with claude mcp add --transport http voxoria https://mcp.voxoria.ai.