# Bing Videos API

<p><strong>Bing Videos API documentation</strong> for developers who need Bing video search as JSON. Scrappa's <code>GET /api/bing/videos</code> endpoint returns video links with thumbnail, duration, channel, platform, view count and upload date.</p><h2>How to call the endpoint</h2><p>Send a <code>GET</code> request with a required <code>query</code> and your API key in the <code>x-api-key</code> header. Page with <code>page</code> (1-6, about 35 videos per page; pages can repeat a few videos, so de-duplicate by <code>id</code> when you merge pages). Narrow by upload age with <code>freshness</code>: <code>day</code>, <code>week</code> or <code>month</code>. Use <code>mkt</code>, <code>cc</code> and <code>setlang</code> for another market.</p><h2>Response fields</h2><p>Each video has <code>position</code>, <code>id</code>, <code>title</code>, <code>url</code>, <code>thumbnail</code>, <code>duration</code>, <code>channel</code>, <code>platform</code>, <code>views</code>, <code>posted</code> (Bing's text in the language of the market) and <code>posted_at</code> (approximate ISO time). With <code>freshness</code>, videos that are provably older are removed. Bing does not return video descriptions in this view.</p>

- **Documentation:** [https://scrappa.co/docs/bing-search-api/bing_videos](https://scrappa.co/docs/bing-search-api/bing_videos)
- **API group:** Bing Search API
- **Endpoint:** `GET https://scrappa.co/api/bing/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 |
| --- | --- | --- | --- |
| `query` | string | Yes | <p>Video search query.</p><p><strong>Example:</strong> <code>cats</code></p> |
| `q` | string | No | <p>Alias for <code>query</code>. Prefer <code>query</code> for new integrations.</p> |
| `page` | string | No | <p>Page number, about 35 videos per page. Bing has no videos beyond about page 6.</p><p><strong>Range:</strong> 1-6</p><p><strong>Default:</strong> 1</p> |
| `freshness` | string | No | <p>Only videos up to this age: <code>day</code>, <code>week</code> or <code>month</code>.</p> |
| `mkt` | string | No | <p>Bing market, language and region together, for example <code>de-DE</code> or <code>en-GB</code>. Results, wording and dates follow the market.</p><p><strong>Default:</strong> <code>en-US</code></p> |
| `cc` | string | No | <p>Two-letter country code, for example <code>DE</code>. Scrappa sends it together with <code>mkt</code>.</p><p><strong>Default:</strong> the country of <code>mkt</code></p> |
| `setlang` | string | No | <p>Interface language, for example <code>de</code>. Scrappa sends it together with <code>mkt</code>.</p><p><strong>Default:</strong> the language of <code>mkt</code></p> |

## Example response

```json
{
    "data": [
        {
            "id": "C189B1417D5CC7873D09C189B1417D5CC7873D09",
            "url": "https://www.youtube.com/watch?v=sppNnsF0gUk",
            "title": "You Can\u2019t Stop Laughing At These Cats TOP Funny Cats Video 2025",
            "views": "3.8M views",
            "posted": "10 months ago",
            "channel": "Funny And Cute Cat's Life",
            "duration": "29:40",
            "platform": "YouTube",
            "position": 1,
            "posted_at": "2025-12-31T00:00:00Z",
            "thumbnail": "https://ts3.mm.bing.net/th?id=OVP.FnWWA52PJELHXQCWXdM7HwEsDh&pid=15.1&W=160&H=120"
        }
    ],
    "page": 1,
    "query": "cats",
    "market": {
        "cc": "US",
        "mkt": "en-US",
        "setlang": "en"
    },
    "source": "bing",
    "freshness": null,
    "results_on_page": 1
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The query is missing, or page, freshness, mkt, cc or setlang failed validation. |
| 503 | Bing Temporarily Unavailable | Bing 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)
