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

200 OKoutput
                  {
  "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

ProviderPrice
TikHubtikhub$0.00214 per call

A failed call costs nothing.

What it costs at your volume

ProviderPer callTotal
TikHubCheapest$0.00214$21.40

Only calls that succeed are charged.

Input

querystringRequired

The search query.

sortstring· default relevance

Order of the results: relevance (YouTube's ranking), newest, most_viewed or top_rated.

relevance
newest
most_viewed
top_rated
time_rangestring

Only videos published in the last hour, day, week, month or year.

hour
day
week
month
year
durationstring

Only videos of this length: short (under 4 minutes), medium (4 to 20 minutes) or long (over 20 minutes).

short
medium
long
next_page_tokenstring

Fetches 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
idstringRequired

YouTube's identifier of the video. The video is at https://www.youtube.com/watch?v= followed by it.

urlstring

Address of the video on youtube.com.

titlestring
snippetstring

An excerpt of the video's description, as the search shows it.

published_atstring

When the video was published, in ISO 8601.

duration_msinteger

Length of the video, in milliseconds.

preview_image_urlstring

Address of the video's thumbnail.

author_idstring

YouTube's identifier of the channel that published the video, which begins with UC.

author_usernamestring

The channel's handle, without the @.

author_namestring

The channel's name.

author_image_urlstring

Address of the channel's profile picture.

author_verifiedboolean

Whether YouTube marks the channel as verified.

view_countinteger

Number of times the video was watched.

paginationone object, 1 fields
next_page_tokenstringRequired

Send as next_page_token to fetch the next page.

Full reference for youtube.search.videos →

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.

Used in

One key for all of it.