Our Yahoo! Videos API allows you to scrape SERP results from Yahoo! Videos. The API is accessed through the following endpoint: /search?engine=yahoo_videos.
Api Details
EndpointGET https://serpapi.abcproxy.com/search
Description
A user may query the following: https://serpapi.abcproxy.com/search?engine=yahoo_videos utilizing a GET request. Head to the for a live and interactive demo.
using System;
using System.Net.Http;
class Program
{
static async Task Main()
{
var client = new HttpClient();
var query = System.Web.HttpUtility.ParseQueryString(string.Empty);
query["engine"] = "yahoo_videos";
query["p"] = "Coffee";
query["no_cache"] = "false";
query["api_key"] = "YOUR_API_KEY";
var response = await client.GetAsync(
$"https://serpapi.abcproxy.com/search?{query}"
);
Console.WriteLine(await response.Content.ReadAsStringAsync());
}
}
import java.net.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
String url = "https://serpapi.abcproxy.com/search" +
"?engine=yahoo_videos" +
"&p=Coffee" +
"&no_cache=false" +
"&api_key=YOUR_API_KEY";
HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection();
conn.setRequestMethod("GET");
BufferedReader in = new BufferedReader(
new InputStreamReader(conn.getInputStream())
);
String response = in.lines().collect(Collectors.joining());
System.out.println(response);
}
}
Parameters
Search Query
Name
Type
Required
Description
Example
p
string
Yes
Parameter defines the search query. You can use anything that you would use in a regular Yahoo! Videos search.
coffee
Localization
Name
Type
Required
Description
Example
yahoo_domain
string
No
fr.search.yahoo.com
Advanced Yahoo Videos Parameters
Name
Type
Required
Description
Example
durs
string
No
Parameter is used for filtering videos by length.
short - Short (less than 5 minutes)
medium - Medium (5-20 minutes)
long - Long (more than 20 minutes)
vage
string
No
Parameter is used for filtering videos by date.
day - Past 24 hours
week - Past week
month - Past month
year - Past year
vres
string
No
Parameter is used for filtering videos by resolution.
360p - 360p or higher
480p - 480p or higher
720p - 720p or higher
1080p - 1080p or higher
vsite
string
No
Parameter is used for filtering videos by source.
youtube - YouTube
dailymotion - Dailymotion
vimeo - Vimeo
mtv - MTV
cbsnews - CBS
foxnews - Fox
cnn - CNN
msn - MSN
Pagination
Name
Type
Required
Description
Example
b
int
No
Parameter defines the result offset. It skips the given number of results. It's used for pagination.
1 - (default) starts from the first result
61 - starts from the 61st result
121 - starts from the 121st result
Serpapi Parameters
Name
Type
Required
Description
Example
engine
string
Yes
Set parameter to yahoo_videos to use the Yahoo! Videos API engine.
yahoo_videos
no_c1ache
boolean
No
Parameter will force SerpApi to fetch the Google Patents results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month.
true or false
api_key
string
Yes
Parameter defines the SerpApi private key to use.
YOUR_API_KEY
Response
Success 200
Response Body
{
"code": 200,
"search_parameters": {
"engine": "yahoo_videos",
"no_cache": true,
"api_key": "YOUR_API_KEY",
"p": "Coffee"
},
"search_metadata": {
"yahoo_url": "https://video.search.yahoo.com/search/video?p=Coffee",
"raw_html_file": "https://webserp.abcproxy.com/files/de65ded752927e20/83a74f6f-887e-4f0f-9e90-551aeb78fa4c.html",
"xray_html_file": "https://webserp.abcproxy.com/files/de65ded752927e20/83a74f6f-887e-4f0f-9e90-551aeb78fa4c.xray",
"total_time_taken": "36.8282",
"id": "83a74f6f-887e-4f0f-9e90-551aeb78fa4c",
"json_endpoint": "https://webserp.abcproxy.com/files/de65ded752927e20/83a74f6f-887e-4f0f-9e90-551aeb78fa4c.json",
"created_at": "2025-04-09 14:17:02"
},
"ads": [
{
"seller": "Staples",
"price": {
"value": "$74.99",
"extracted_value": 74.99
},
"position": 1,
"title": "Dunkin' Decaf Coffee Keurig® K-Cup® Pods, Medium Roast, 88/Carton (400846)",
"link": "https://r.search.yahoo.com/rdclks/dWU9Nzh1cW5iNWp2NnJmYyZ1dD0xNzQ0MDA2NjM2ODkzJnVvPTc3OTk2NzY5NTY2NjMwMSZsdD0yJnM9MSZlcz1GU0pfMnJ5MVVmN3NWTEpvWnYyMGVIY1pVQTl2UjU4ODh1cUxfTEJsejcxXzJqc0t0amRES216Rl9OYXhKZjVXR2cwWk54S19mc0ZlemctLQ--/RV=2/RE=1746598637/RO=14/RU=https%3a%2f%2fwww.bing.com%2faclick%3fld%3de8jqrTCNk6-dD73DkhJCWDpzVUCUyYndsR-F_84C1JWs4wUQDJGK9n8MWrupXzjQs0LkO0m2vivy_BxHKp6-AUsk_WAD7ukepASXUA7O_zlUUU8V_WTb7vV_9n3gZW59UwtbolIqIgKGtFtGia0NVr3Na8gSie1eiKU4zaWpSuJU8zpebNFxled9AizjxyCnJWco2MVA%26u%3daHR0cHMlM2ElMmYlMmZ3d3cuc3RhcGxlcy5jb20lMmZkdW5raW4tZGVjYWYtY29mZmVlLWtldXJpZy1rLWN1cC1wb2RzLW1lZGl1bS1yb2FzdC04OC1jYXJ0b24tNDAwODQ2JTJmcHJvZHVjdF8yNjQ2Njg2JTNmY2lkJTNkcHMlM2FtcyUzYWRvdCUzYW5iJTNhcGxhJTNhZmIlMjZtc2Nsa2lkJTNkZDM1YTY4NzVhNDBkMTEzYTc2MDAwZjg2YzllMDJmY2QlMjZ1dG1fc291cmNlJTNkYmluZyUyNnV0bV9tZWRpdW0lM2RjcGMlMjZ1dG1fY2FtcGFpZ24lM2QlMjUyM1BMQSUyNTJGXygxKV9CTkdfKDIpX1VTXyg5KV9Gb29kJTI1MjBhbmQlMjUyMEJyZWFrcm9vbSUyNTdDJTI2dXRtX3Rlcm0lM2Q0NTgxNTk2MjQ1MjE5NjA1JTI2dXRtX2NvbnRlbnQlM2RBbGwlMjUyMFByb2R1Y3Rz%26rlid%3dd35a6875a40d113a76000f86c9e02fcd/RK=2/RS=MsajfRaiBCKCcMEyEUk7RlTixig-;_ylt=AwrEoy_sbfNnGK4PRAz7w8QF;_ylu=cG9zAzEEc2VjA292LXRvcC1wbGE-;_ylc=cnQDMA--?p=Coffee"
},
...
],
"suggested_searches": [
{
"position": 1,
"name": "Coffee Recipes",
"link": "https://images.search.yahoo.com/search/video;_ylt=AwrEoy_sbfNnGK4PNQz7w8QF;_ylu=c2xrA3RleHQEaXQDQWxzb1RyeQRzZWMDcmVsBHBvcwMx?p=Coffee+Recipes&fr2=p:s,v:v,m:rs-top,ct:relatedSearches&"
},
...
],
"videos_results": [
{
"link": "https://images.search.yahoo.com/video/play;_ylt=Awr92CYvovNno1IUXFT7w8QF;_ylu=c2VjA3NyBHNsawN2aWQEZ3BvcwMx?p=Coffee&vid=7984f64d7a5adb05adfdfb7cc348584a&turl=https%3A%2F%2Ftse2.mm.bing.net%2Fth%3Fid%3DOVP.tqHMEXT3yZ73adTsM3JPHgHgFo%26pid%3DApi%26h%3D360%26w%3D480%26c%3D7%26rs%3D1&rurl=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrLaVDQy0q8Y&tit=%3Cb%3ECoffee%3C%2Fb%3E+Menu+Explained+-+What+the+most+common+coffees+are+and+how+to+make+them&c=0&sigr=ICasURQ8upJL&sigt=Ju3o4l6hiSv8&sigi=5adimBMDGOi6&fr2=p%3As%2Cv%3Av&h=360&w=480&l=1009&age=1626335101&&tt=b",
"original": "https://www.youtube.com/watch?v=rLaVDQy0q8Y",
"preview": "https://tse2.mm.bing.net/th?id=OVP.tqHMEXT3yZ73adTsM3JPHgHgFo&pid=Api&h=360&w=480&c=7&rs=1",
"title": "Coffee Menu Explained - What the most common coffees are and how to make them",
"date": "3 years ago",
"source": "youtube.com",
"position": 1,
"thumbnail": "https://tse2.mm.bing.net/th?id=OVP.tqHMEXT3yZ73adTsM3JPHgHgFo&pid=Api&h=360&w=480&c=7&rs=1"
},
...
]
}
Response Fields
Field
Type
Description
search_parameters
object
Contains query parameters and search context
search_metadata
object
Contains timing and status information
videos_results
object[]
List of video search results
ads
object[]
List of advertisement results
suggested_searches
object[]
List of suggested search queries
Error Responses
Common Errors
HTTP Status
Error Code
Description
200
400
API Key can not be empty
200
401
Param error
200
402
API Key error
200
403
Insufficient Balance
200
404
Deduction failed
200
405
Failed to record usage count
200
406
Unsupported engine
200
407
Network error
200
408
File not found
200
409
Limit param error
200
410
Build url error
200
411
Failed to QueryRecentRecord
200
412
Failed to find json
200
413
Get html error
200
414
HTML is empty
200
429
Too many request
Error Example
{
"code": 400,
"message": "API Key can not be empty"
}
Parameter defines the Yahoo! domain to use. It defaults to search.yahoo.com. If specified domain is allowed, it will be prepended to the domain. You can check .