# Yahoo Video Search API

<p><strong>Yahoo Video Search API documentation</strong> for developers who need Yahoo video results as JSON. Scrappa's <code>GET /api/yahoo/videos</code> endpoint returns about 60 videos per page with link, embed link, thumbnail, duration, source site and description.</p><h2>How to call the endpoint</h2><p>Send a <code>GET</code> request with a required <code>q</code> and your API key in the <code>x-api-key</code> header. Page with <code>page</code> (1-10). Yahoo has about 4 pages for most queries; a page past the end returns an empty <code>data</code> list and is not billed. Narrow the set with <code>duration</code> (<code>short</code>, <code>medium</code>, <code>long</code>), <code>age</code> (<code>day</code>, <code>week</code>, <code>month</code>, <code>year</code>) and <code>site</code> (<code>youtube</code>, <code>vimeo</code>, <code>dailymotion</code>, <code>cnn</code>, <code>msn</code>, <code>mtv</code>, <code>cbsnews</code>, <code>foxnews</code>). Each value returns a different set of videos. Some sites have few or no videos for a query.</p><h2>Response fields</h2><p>Each video has <code>position</code>, <code>title</code>, <code>url</code>, <code>embed_url</code> (when the site offers one), <code>thumbnail</code>, <code>duration</code>, <code>duration_seconds</code>, <code>source</code>, <code>domain</code>, <code>views</code> and <code>description</code>. With <code>duration</code>, videos outside the length band are removed. <code>has_more</code> tells you if another page is likely.</p>

- **Documentation:** [https://scrappa.co/docs/yahoo-search-api/yahoo_videos](https://scrappa.co/docs/yahoo-search-api/yahoo_videos)
- **API group:** Yahoo Search API
- **Endpoint:** `GET https://scrappa.co/api/yahoo/videos`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | Yes | <p>Video search query (max 500 characters).</p><p><strong>Example:</strong> <code>cats</code></p> |
| `page` | integer | No | <p>Page number, about 60 videos per page. Yahoo has about 4 pages for most queries.</p><p><strong>Range:</strong> 1-10</p><p><strong>Default:</strong> 1</p> |
| `duration` | string | No | <p>Video length: <code>short</code> (under 5 minutes), <code>medium</code> (5 to 20 minutes) or <code>long</code> (over 20 minutes).</p> |
| `age` | string | No | <p>Only videos up to this age: <code>day</code>, <code>week</code>, <code>month</code> or <code>year</code>.</p> |
| `site` | string | No | <p>Only videos from one site: <code>youtube</code>, <code>vimeo</code>, <code>dailymotion</code>, <code>cnn</code>, <code>msn</code>, <code>mtv</code>, <code>cbsnews</code> or <code>foxnews</code>.</p> |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The q parameter is missing, or page, duration, age or site failed validation. |
| 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. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
