---
title: "Bing Videos API"
description: "Use SerpApi's Bing Videos API to scrape Bing Videos results. Links, titles, sources, and thumbnails"
url: https://serpapi.com/bing-videos-api
site: "SerpApi – Real-time search engine results API"
signup: https://serpapi.com/users/sign_up
engine: "bing_videos"
docs:
  pricing: https://serpapi.com/pricing.md
  integrations: https://serpapi.com/integrations.md
---

# Bing Videos API

Use SerpApi's Bing Videos API to scrape Bing Videos results. Links, titles, sources, and thumbnails

## Example Request

```
GET https://serpapi.com/search?api_key=YOUR_API_KEY&engine=bing_videos&q=QUERY
```

## API parameters

### Search Query

| Parameter | Required | Description |
|-----------|----------|-------------|
| `q` | **Yes** | Parameter defines the search query. You can use anything that you would use in a regular Bing Videos search. |

### Geographic location

| Parameter | Required | Description |
|-----------|----------|-------------|
| `mkt` | No | The market where the results come from (e.g. `en-US`). Typically, `mkt` is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing Videos API delivers results. The market must be in the form <language code>-<country code>. For example, en-US. The string is case insensitive. For a list of possible market values, see [Market Codes](https://learn.microsoft.com/en-us/previous-versions/bing/search-apis/bing-web-search/reference/market-codes).  NOTE: If known, you are encouraged to always specify the market. Specifying the market helps Bing route the request and return an appropriate and optimal response. If you specify a market that is not listed in [Market Codes](https://learn.microsoft.com/en-us/previous-versions/bing/search-apis/bing-web-search/reference/market-codes), Bing Videos API uses a best fit market code based on an internal mapping that is subject to change.  This parameter and the [cc](#cc) query parameter are mutually exclusive—do not specify both. |

### Localization

| Parameter | Required | Description |
|-----------|----------|-------------|
| `cc` | No | Parameter defines the country to search from. It follows the 2-character [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) format. (e.g., `us` for United States, `de` for Germany, `gb` for United Kingdom, etc.). |
| `setlang` | No | Parameter defines the language to search with. It follows the 2-character [ISO_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) format. (e.g., `us` for United States, `de` for Germany, `gb` for United Kingdom, etc.). You can view all valid language codes [here](https://learn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/market-codes#bing-supported-language-codes). |

### Pagination

| Parameter | Required | Description |
|-----------|----------|-------------|
| `first` | No | Parameter controls the offset of the organic results. This parameter defaults to `1`. (e.g., `first=10` will move the 10th organic result to the first position). |

### Advanced parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `length` | No | Parameter is used for filtering videos by duration. It can be set to:  `short` - Short (less than 5 minutes) `medium` - Medium (5-20 minutes) `long` - Long (more than 20 minutes) |
| `date` | No | Parameter is used for filtering videos by date. It can be set to:  `lt1440` - Past 24 hours `lt10080` - Past week `lt43200` - Past month `lt525600` - Past year |
| `resolution` | No | Parameter is used for filtering videos by resolution type. It can be set to:  `lowerthan_360p` - Lower than 360p `360p` - 360p or higher `480p` - 480p or higher `720p` - 720p or higher `1080p` - 1080p or higher |
| `source_site` | No | Parameter is used for filtering videos by source. It can be set to:  `dailymotion.com` - DailyMotion `vimeo.com` - Vimeo `metacafe.com` - Metacafe `hulu.com` - Hulu `vevo.com` - VEVO `myspace.com` - Myspace `mtv.com` - MTV `cbsnews.com` - CBS `foxnews.com` - FOX `cnn.com` - CNN `msn.com` - MSN |
| `price` | No | Parameter is used for filtering videos by price. It can be set to:  `free` - Free `paid` - Paid |

### SerpApi parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `engine` | **Yes** | Set parameter to `bing_videos` to use the Bing Videos API engine. |
| `device` | No | Parameter defines the device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser. |
| `no_cache` | No | Parameter will force SerpApi to fetch the Bing Videos 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. It can be set to `false` (default) to allow results from the cache, or `true` to disallow results from the cache. `no_cache` and `async` parameters should not be used together. |
| `async` | No | Parameter defines the way you want to submit your search to SerpApi. It can be set to `false` (default) to open an HTTP connection and keep it open until you got your search results, or `true` to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our [Searches Archive API](https://serpapi.com/search-archive-api) to retrieve your results. `async` and `no_cache` parameters should not be used together. `async` should not be used on accounts with [Ludicrous Speed](https://serpapi.com/plan) enabled. |
| `zero_trace` | No | Enterprise only. Parameter enables [ZeroTrace mode](https://serpapi.com/zero-trace-mode). It can be set to `false` (default) or `true`. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult. |
| `api_key` | **Yes** | Parameter defines the SerpApi private key to use. |
| `output` | No | Parameter defines the format of the result. It can be set to `json` (default) to get a structured JSON of the results, `html` to get the raw HTML retrieved, or `md` to get a Markdown-formatted version optimized for LLMs and AI agents. |
| `json_restrictor` | No | Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the [JSON Restrictor documentation](https://serpapi.com/json-restrictor) for more details. |

## Response Example

Truncated sample response. URLs are illustrative and not accessible.

```json
{
  "top_highlights": {
    "inline_video": {
      "title": "Coffee Experts Blind Taste Test Every Supermarket Coffee | The Taste Panel | Epicurious",
      "link": "https://www.youtube.com/watch?v=CnB2tA_CTNI",
      "thumbnail": "https://tse2.mm.bing.net/th/id/OVP.hUrEl223d0sLQnnGGqhUHQHgFo?w=424&h=238&c=7&rs=1&qlt=70&o=7&pid...",
      "date": "4 months ago",
      "description": "Today on Epicurious, we’ve asked coffee experts Anu Menon, Raina Roberts, and Jeremy Lyman to giv...",
      "source": "YouTube",
      "channel": "Epicurious",
      "length": "31:59",
      "views": "710.3K views",
      "extracted_views": 710300
    },
    "coffee_brewing_techniques_from_french_press_to_espresso": {
      "title": "Coffee Brewing Techniques: From French Press to Espresso",
      "results": [
        {
          "title": "The Ultimate French Press Technique",
          "link": "https://www.youtube.com/watch?v=st571DYYTR8",
          "thumbnail": "https://tse1.mm.bing.net/th/id/OVP.9eyLDrvf3fRJWJTQamZTDgHgFo?w=187&h=105&c=7&rs=1&qlt=70&o=7&pid...",
          "date": "Oct 2, 2016",
          "source": "YouTube",
          "channel": "James Hoffmann",
          "length": "3:34",
          "views": "6M views",
          "extracted_views": 6000000,
          "position": 1
        }
      ]
    },
    "shorts": {
      "title": "Shorts",
      "link": "https://www.bing.com/ck/a?!&&p=678d22fcJmltdHM9MTc4MDUzMTIwMA&ptn=3&ver=2&hsh=4&fclid=165f3a4e-0d...",
      "results": [
        {
          "title": "Homemade Spanish Latte - Perfect Iced Coffee",
          "link": "https://www.tiktok.com/@the_coffee_home/video/76396643",
          "thumbnail": "https://tse3.mm.bing.net/th/id/OVP.IWOTAugd8aRSsQmbTBamZQFmII?w=184&h=272&c=7&rs=1&qlt=70&o=7&pid...",
          "channel": "the_coffee_home",
          "length": "1:00",
          "position": 1
        }
      ]
    },
    "top_videos": {
      "title": "Top videos",
      "results": [
        {
          "title": "How to Make the 3 Most Popular Milk Coffees #barista #coffee",
          "link": "https://www.youtube.com/watch?v=r1m_SJSsUic",
          "thumbnail": "https://tse2.mm.bing.net/th/id/OVP.v4vJDJAiert_w8DczbciKAHgFo?w=187&h=105&c=7&rs=1&qlt=70&o=7&pid...",
          "date": "Sep 22, 2022",
          "source": "YouTube",
          "channel": "Artisti Coffee Roasters.",
          "length": "7:52",
          "views": "1.7M views",
          "extracted_views": 1700000,
          "position": 1
        }
      ]
    },
    "exploring_coffee_shops_in_des_moines": {
      "title": "Exploring Coffee Shops in Des Moines",
      "results": [
        {
          "title": "Top 10 Best Restaurants to Visit in Des Moines, IA",
          "link": "https://www.youtube.com/watch?v=XUSgNNEb9fY",
          "thumbnail": "https://tse4.mm.bing.net/th/id/OVP.eV02WfBA5hGUaKTAr0jQuAHgFo?w=187&h=105&c=7&rs=1&qlt=70&o=7&pid...",
          "date": "Apr 3, 2023",
          "source": "YouTube",
          "channel": "Truth Leader",
          "length": "11:11",
          "views": "5.1K views",
          "extracted_views": 5100,
          "position": 1
        }
      ]
    }
  },
  "video_results": [
    {
      "title": "Coffee Experts Blind Taste Test Every Supermarket Coffee | The Taste Panel | Epicurious",
      "link": "https://www.youtube.com/watch?v=CnB2tA_CTNI",
      "thumbnail": "https://tse2.mm.bing.net/th/id/OVP.hUrEl223d0sLQnnGGqhUHQHgFo?w=243&h=136&c=7&rs=1&qlt=70&o=7&pid...",
      "date": "4 months ago",
      "source": "YouTube",
      "channel": "Epicurious",
      "channel_thumbnail": null,
      "length": "31:59",
      "views": "710.3K views",
      "extracted_views": 710300,
      "position": 1
    }
  ],
  "shopping_results": [
    {
      "title": "Peet's Coffee, Dark Roast Keurig K-Cup Pods, 100% Arabica Coffee - Major Dickason's Blend 32 Coun...",
      "price": "$20.99",
      "extracted_price": 20.99,
      "link": "https://www.bing.com/aclick?ld=e8gfErgjnG12O-0dv2TriZ2DVUCUz8jiyeAOAIabB4XHIfAVP0O5_zQXVbaf9TLqPb...",
      "thumbnail": "https://tse1.mm.bing.net/th?id=OPHS.Za05U2rVECz%2flw474C474&w=200&h=220&rs=1&o=5&pid=21.1",
      "rating": 4.5,
      "reviews": 47000,
      "seller": "Amazon.com",
      "position": 1
    }
  ],
  "serpapi_pagination": {
    "next": "https://serpapi.com/search.json?count=35&device=desktop&engine=bing_videos&first=36&q=Coffee",
    "current": "https://serpapi.com/search.json?device=desktop&engine=bing_videos&q=Coffee"
  }
}
```

