YouTube Search Tool
Type a few words to see the first 20 videos YouTube finds, with each one's views, length and channel, and save them as a CSV or JSON file.
How It Works
How to export YouTube search results
No account needed. 20 free runs a day.
Type the Words
What you would type into YouTube.
See the Videos
With views, length and channel.
Save the List
As CSV or JSON, one row a video.
The API
Search YouTube with the API
The tool is one SocialAPI endpoint. Call it from your own code for every link you have, with no daily limit.
- Endpoint
GET /v1/youtube/search- Cost
- 1 credit a call
- Failed Requests
- Free
- To Start
- 100 free credits, no card
import { SocialAPI } from "@socialapihq/sdk";
const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });
const { data, pagination } = await client.youtube.search({
query: "coffee",
uploaded: "month",
});
// {
// "data": [
// {
// "id": "CLsCU_JX1eU",
// "url": "https://www.youtube.com/watch?v=CLsCU_JX1eU",
// "text": "Thanks to Cometeer for sponsoring this video.…",
// …
// }
// ],
// …
// }import os
from socialapihq import SocialAPI
client = SocialAPI(api_key=os.environ["SOCIALAPI_API_KEY"])
page = client.youtube.search(query="coffee", uploaded="month")
# {
# "data": [
# {
# "id": "CLsCU_JX1eU",
# "url": "https://www.youtube.com/watch?v=CLsCU_JX1eU",
# "text": "Thanks to Cometeer for sponsoring this video.…",
# …
# }
# ],
# …
# }curl -G https://api.socialapi.sh/v1/youtube/search \
-H "Authorization: Bearer $SOCIALAPI_API_KEY" \
--data-urlencode "query=coffee" \
--data-urlencode "uploaded=month"
# {
# "data": [
# {
# "id": "CLsCU_JX1eU",
# "url": "https://www.youtube.com/watch?v=CLsCU_JX1eU",
# "text": "Thanks to Cometeer for sponsoring this video.…",
# …
# }
# ],
# …
# }More free tools
See All ToolsSearching YouTube without the clutter
The first 20 videos YouTube finds for your words, with views and length, as a list to sort or save.
Research before you film
See what already ranks for a topic, how long those videos run, and which channels hold the top spots.
Saving YouTube search results
Download the list as a CSV for a spreadsheet, or as JSON for code, with each video's link and channel.
Frequently Asked Questions
What YouTube Search Tool does, what it reads and how far it goes for free.
Have more questions? Reach out to us
Yes. Anyone can run it up to 20 times a day, with no account and no sign-up.
The first 20 videos YouTube's own search finds for your words, in its order, as a visitor who is not logged in sees them.
Not here. The API's search takes filters for the upload date, the length, features such as subtitles and live, and the sort order.
Every tool here runs on a SocialAPI endpoint. Call /v1/youtube/search from your own code to get every page of a search, with filters for as many links as you need, with 100 free credits to start.
Have more questions? Reach out to us