Skip to content
Scrappa Get API key
Yahoo Search API 1 credit/request

Yahoo Video Search API

GET https://scrappa.co/api/yahoo/videos

Yahoo Video Search API documentation for developers who need Yahoo video results as JSON. Scrappa's GET /api/yahoo/videos endpoint returns about 60 videos per page with link, embed link, thumbnail, duration, source site and description.

How to call the endpoint

Send a GET request with a required q and your API key in the x-api-key header. Page with page (1-10). Yahoo has about 4 pages for most queries; a page past the end returns an empty data list and is not billed. Narrow the set with duration (short, medium, long), age (day, week, month, year) and site (youtube, vimeo, dailymotion, cnn, msn, mtv, cbsnews, foxnews). Each value returns a different set of videos. Some sites have few or no videos for a query.

Response fields

Each video has position, title, url, embed_url (when the site offers one), thumbnail, duration, duration_seconds, source, domain, views and description. With duration, videos outside the length band are removed. has_more tells you if another page is likely.

Yahoo Video Search API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/yahoo/videos
Auth header
x-api-key
Cost
1 credit/request
q = coffee shops
Response preview
200 OK
{
    "data": [
        {
            "url": "https://www.youtube.com/watch?v=sppNnsF0gUk",
            "title": "You Can\u2019t Stop Laughing At These Cats \ud83d\ude02 TOP Funny Cats Video 2025",
            "views": "3.8M views",
            "domain": "youtube.com",
            "source": "YouTube",
            "duration": "29:40",
            "position": 1,
            "embed_url": "https://www.youtube.com/embed/sppNnsF0gUk?autoplay=0&wmode=transparent&html5=1&enablejsapi=1",
            "thumbnail": "https://up.yimg.com/ib/th/id/OVP.FnWWA52PJELHXQCWXdM7HwEsDh?pid=Api&h=225&w=300&c=7&rs=1&qlt=95",
            "description": "The Funniest Cats of 2025 Are Here! Prepare yourself for an avalanche of fluff, fun, and dramatic purr-sonalities!",
            "duration_seconds": 1780
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

4 optional filters available.

q string Required

Video search query (max 500 characters).

Example: cats

Example value coffee shops
page integer Optional

Page number, about 60 videos per page. Yahoo has about 4 pages for most queries.

Range: 1-10

Default: 1

Example value 1
duration string Optional

Video length: short (under 5 minutes), medium (5 to 20 minutes) or long (over 20 minutes).

Example value example
age string Optional

Only videos up to this age: day, week, month or year.

Example value example
site string Optional

Only videos from one site: youtube, vimeo, dailymotion, cnn, msn, mtv, cbsnews or foxnews.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data page query source filters has_more results_on_page

Common data fields

url title views domain
JSON Response
200 OK
{
    "data": [
        {
            "url": "https://www.youtube.com/watch?v=sppNnsF0gUk",
            "title": "You Can\u2019t Stop Laughing At These Cats \ud83d\ude02 TOP Funny Cats Video 2025",
            "views": "3.8M views",
            "domain": "youtube.com",
            "source": "YouTube",
            "duration": "29:40",
            "position": 1,
            "embed_url": "https://www.youtube.com/embed/sppNnsF0gUk?autoplay=0&wmode=transparent&html5=1&enablejsapi=1",
            "thumbnail": "https://up.yimg.com/ib/th/id/OVP.FnWWA52PJELHXQCWXdM7HwEsDh?pid=Api&h=225&w=300&c=7&rs=1&qlt=95",
            "description": "The Funniest Cats of 2025 Are Here! Prepare yourself for an avalanche of fluff, fun, and dramatic purr-sonalities!",
            "duration_seconds": 1780
        }
    ],
    "page": 1,
    "query": "cats",
    "source": "yahoo",
    "filters": [],
    "has_more": true,
    "results_on_page": 1
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

The q parameter is missing, or page, duration, age or site failed validation.

{
    "errors": {
        "q": [
            "The q parameter (search query) is required."
        ]
    },
    "message": "The request validation failed"
}
503

Yahoo Temporarily Unavailable

Yahoo did not return usable data after the bounded retry on a second route. The request is not billed. Retry shortly.

{
    "error": "Yahoo is temporarily unavailable. Please retry shortly.",
    "retryable": true,
    "error_code": "yahoo_upstream_unavailable"
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.