> ## Content Index
> Fetch the complete content index at: https://serpapi.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to scrape Bing Videos search results
- URL: https://serpapi.com/blog/how-to-scrape-bing-videos-search-results/
- Published: 2026-05-22T19:04:27.000Z
- Updated: 2026-05-22T19:07:34.000Z
- Description: Search for videos from across the web through Bing Videos and SerpApi, with simple JSON syntax.
- Author: Corbin Davenport
- Tags: Bing, videos

Bing can search for videos across YouTube, TikTok, Facebook, Instagram, Dailymotion, Netflix, Vudu, Vimeo, news agencies, and many other sources across the internet. It supports filtering by video length, upload date, resolution, and source, along with the usual web search operators like `domain:`, `intitle:`, `inbody:`, and others.

The Bing Videos API from SerpApi allows you to fetch video search results in simple JSON format. You can use it in [Python](https://serpapi.com/integrations/python), [JavaScript](https://serpapi.com/integrations/javascript), [Ruby](https://serpapi.com/integrations/ruby), [PHP](https://serpapi.com/integrations/php), [Java](https://serpapi.com/integrations/java), and any other language and environment that supports simple GET requests. SerpApi handles the HTML parsing, proxy network, captcha puzzles, and other challenges for you, so you can spend more time on your actual project or business.

## What can you scrape from Bing Videos?

Here's everything you can pull from Bing's video search results with SerpApi:

- **Video metadata:** The title, publishing date, channel/creator, length, and view count of each video result. The view count is provided in both its original text form (like `2.2M views`) and a plain integer value (like `2200000`) for simple parsing.
- **Video link:** The URL for each video result.
- **Video thumbnail:** Bing's cached thumbnail image for each video result.
- **Video source:** The original source of each video result, such as `YouTube`, `TikTok`, `Instagram`, or `Netflix`.
- **Ads results:** Advertisements that appear in the search result pages, including the title, description, and embedded links.
- **Related and suggested searches:** Lists of related searches from Bing that may appear on search results.
- **Shopping results:** Any shopping results that appear alongside the videos.
- **Short videos:** Video results that Bing has identified as "short videos," which are usually vertical videos from platforms like TikTok and YouTube.

## Getting started with SerpApi

Before you can pull results from Bing Videos, you need a free SerpApi account. SerpApi can also extract data from [Google Videos](https://serpapi.com/google-videos-api) and [Yahoo Videos](https://serpapi.com/yahoo-videos-api), along with more general-purpose search engines like [Google Search](https://serpapi.com/search-api), [Bing Search](https://serpapi.com/bing-search-api), [DuckDuckGo](https://serpapi.com/duckduckgo-search-api), and others. You can [upgrade to a paid account](https://serpapi.com/pricing) later if you need more search capacity, faster speeds, or other features.

If you haven't already, [create an account](https://serpapi.com/users/sign%5Fup) and verify your email and other details. After that, you need to grab your API key, which can be found in [your account dashboard](https://serpapi.com/manage-api-key).

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2026/05/image-2.png)

You should [store your API key in a safe location](https://serpapi.com/blog/how-to-securely-store-api-keys/) if you are sharing or publishing your code. If the key is leaked or stolen, you can regenerate it from the SerpApi account dashboard.

### Install the SerpApi library (optional)

You can use [SerpApi's official libraries](https://serpapi.com/integrations) for Python, JavaScript, Ruby, Java, and other languages. They provide a simple wrapper around the API requests.

You can also use a simple GET request, using cURL, `fetch()` in Node.js, and other similar methods. This guide will cover both the GET method and several of the official integrations.

### Review the Bing Videos API documentation

Every API at SerpApi has extensive documentation that covers all the supported parameters and filters, code examples for popular languages, and example JSON responses. The [Bing Videos API documentation](https://serpapi.com/bing-videos-api) has everything you need.

[Bing Videos API - SerpApiUse SerpApi’s Bing Videos API to scrape Bing Videos results. Links, titles, sources, and thumbnails![](https://static.ghost.org/v5.0.0/images/link-icon.svg)SerpApiSerpApi![](https://serpapi.com/assets/serpapi-text-logo-621a467e3b1e907622c18a6ac81455032e9784d6a86e81a1b4f6407d3f0120a6.svg)](https://serpapi.com/bing-videos-api)

The only required setting is the search query, represented by the `q` parameter.

## How to scrape Bing Videos results

If you have your API key, you're ready to start pulling data from Bing Videos. No matter which integration or method you use for accessing SerpApi, the API results will be identical.

### GET request

Here's how you can perform a videos search for "Paris" with a GET request, with the search region set to the United States:

```
https://serpapi.com/search.json?engine=bing_videos&q=paris&mkt=en-US&api_key=YOUR_KEY_GOES_HERE
```

This filters the results to only videos from YouTube, and only videos uploaded in the past month:

```
https://serpapi.com/search.json?engine=bing_videos&q=paris+domain:youtube.com&date=lt43200&mkt=en-US&api_key=YOUR_KEY_GOES_HERE
```

Bing's search query filters [don't always work](https://learn.microsoft.com/en-us/answers/questions/2343318/bing-search-operators-do-not-function-properly-or), so make sure to check the output. YouTube isn't one of the filter options in SerpApi's `source_site` parameter, since it's not in the Bing website's dropdown menu, so the only alternative is the `domain:youtube.com` filter in the search query.

### Python

This searches for "Atlanta" with Bing Videos in the United States, and returns the URL for each video, using the [official Python library](https://serpapi.com/integrations/python):

```python
import serpapi

client = serpapi.Client(api_key=YOUR_KEY_GOES_HERE)
results = client.search({
  "engine": "bing_videos",
  "q": "atlanta",
  "mkt": "en-US"
})

for result in results["video_results"]:
    print(result["link"])
```

You could also display all the results from highest views to lowest views, by sorting the `video_results` array based on the `extracted_views` value:

```python
import serpapi

client = serpapi.Client(api_key=YOUR_KEY_GOES_HERE)
results = client.search({
  "engine": "bing_videos",
  "q": "atlanta",
  "mkt": "en-US"
})

sorted_videos = [obj for obj in results["video_results"] if "extracted_views" in obj]
sorted_videos = sorted(sorted_videos, key=lambda video: video["extracted_views"], reverse=True)
print(sorted_videos)
```

### Ruby

Here's how you can find video results for "Seattle," using the United States as the search region and no other settings, powered by the [official SerpApi Ruby gem](https://serpapi.com/integrations/ruby):

```ruby
require "serpapi"

client = SerpApi::Client.new(
    engine: "bing_videos",
    q: "seattle",
    mkt: "en-US",
    api_key: YOUR_KEY_GOES_HERE
)

puts client.search[:video_results]
```

This filters the results to only videos from Instagram, using a combination of Bing's `domain` web search filter and checking the video's URL path:

```ruby
require "serpapi"

client = SerpApi::Client.new(
    engine: "bing_videos",
    q: "seattle domain:instagram.com",
    mkt: "en-US",
    api_key: YOUR_KEY_GOES_HERE
)

for result in client.search[:video_results] do
    if result[:link].include? "instagram.com"
        print(result)
    end
end
```

Bing's search operators [don't always work as expected](https://learn.microsoft.com/en-us/answers/questions/2343318/bing-search-operators-do-not-function-properly-or), which is why this sample checks the output after the fetch is completed.

### JavaScript and Node.js

This is how you can search for "Richmond" on Bing Videos using the [official JavaScript library](https://serpapi.com/integrations/javascript), with the search region set to the United States:

```javascript
import { getJson } from 'serpapi';

const search = await getJson({
    engine: "bing_videos",
    q: "richmond",
    api_key: YOUR_KEY_GOES_HERE
});

search?.video_results.forEach(function (result) {
    console.log(result);
})
```

Here's the same search again, but the videos are sorted from most popular to least popular, using the `extracted_views` parameter:

```javascript
import { getJson } from 'serpapi';

const search = await getJson({
    engine: "bing_videos",
    q: "richmond",
    api_key: YOUR_KEY_GOES_HERE
});

if (search?.video_results) {
    let sortedResults = search.video_results;
    sortedResults.sort(function(a, b) {
        return parseInt(b.extracted_views) - parseInt(a.extracted_views);
    })
    console.log(sortedResults);
}
```

### cURL

This searches for "Montreal" with Bing Videos, with no region or other settings configured:

```shell
curl --get https://serpapi.com/search \
 -d engine="bing_videos" \
 -d q="montreal" \
 -d api_key="YOUR_KEY_GOES_HERE"
```

This is the same search again, but using the [JSON Restrictor feature](https://serpapi.com/json-restrictor) to only return the titles and URLs:

```shell
curl --get https://serpapi.com/search \
 -d engine="bing_videos" \
 -d q="montreal" \
 -d json_restrictor="video_results[]{title,link}" \
 -d api_key="YOUR_KEY_GOES_HERE"
```

### Other languages and no-code solutions

If there isn't an official SerpApi integration for your preferred language or environment, you can still use the API directly with GET requests. You can also use SerpApi with [Make.com](https://serpapi.com/blog/announcing-serpapis-make-app/), [N8N](https://serpapi.com/blog/boost-your-n8n-workflows-with-serpapis-verified-node/), and other tools.

## Conclusion

Bing's video search is an extensive database of the internet's uploaded videos, streaming movies and TV shows, and social media clips. With the [Bing Videos API](https://serpapi.com/bing-videos-api) from SerpApi, you can access all of those results programmatically in simple JSON format.

The Bing Videos API can be incredibly powerful for identifying trends, competitor analysis, archival tasks, and many other use cases. It can also work as an alternative to our [Google Videos API](https://serpapi.com/google-videos-api) and [Yahoo Videos API](https://serpapi.com/yahoo-videos-api), or you can combine the outputs to cover gaps in each engine's search index.

If you need help using SerpApi, please [contact us](https://serpapi.com/#contact).