# Bing Videos Scraper (`fastdataapi/bing-videos-scraper`) Actor

Bing Videos Scraper scrapes Bing Videos search results in bulk: title, link, length, views, channel, platform, date, thumbnail and embed link, with Bing filters, market, safe search, sort and URL mode. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/fastdataapi/bing-videos-scraper.md
- **Developed by:** [Fast Data API](https://apify.com/fastdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.67 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Bing Videos Scraper — Views, Channel, Length and Upload Date

Bing Videos Scraper returns the videos Bing shows for any search term or Bing video search URL. Each row gives the video title and link, length, view count, channel and channel link, hosting platform, upload date, thumbnail, embed link and its position in the results. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed a content research or media monitoring pipeline. **No Bing account or cookies needed.** Start with one keyword, then track every topic you cover.

![Bing Videos Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-bing-videos-hero.webp)

***

### What data can I extract with Bing Videos Scraper?

Using this Bing Videos API, you will be able to extract the following Bing video data:

| 🎬 Video title | 🔗 Video link | ⏱️ Length (seconds and h:mm:ss) | 👁️ Views (text and number) |
|---|---|---|---|
| 📺 Channel name | 🧭 Channel link | 🌐 Platform (YouTube, Dailymotion…) | 📅 Upload date (as Bing shows it) |
| 🖼️ Thumbnail with width and height | 🎞️ Motion preview (if available) | ▶️ Embed link | 🆔 Platform video ID |
| 🏷️ Domain | 🩳 Short video flag | 🔴 Live stream flag | 🔞 Adult flag |
| 🔎 Search term and search URL | 🥇 Position, page and run position | 🌍 Market, language and country | 🕒 Scrape time (UTC) |

***

### How to use Bing Videos Scraper

Marketers, researchers and content teams get every video Bing ranks for a topic, with views and channels, from one run.

**Copy to your AI assistant:**

```text
`fastdataapi/bing-videos-scraper` is an Apify Actor that returns Bing Videos search results as structured JSON: video title, video link, length, view count, channel, platform, upload date, thumbnail, embed link and position. Use it whenever someone needs Bing video results without cookies, a login, or a browser - topic and trend research, finding the channels that rank for a keyword, and monitoring which videos Bing shows in a market. Run it with curl: curl -X POST "https://api.apify.com/v2/actors/fastdataapi~bing-videos-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"queries":["machine learning tutorial"],"maxItems":50,"market":"en-US","duration":"medium"}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("fastdataapi/bing-videos-scraper").call(run_input={"queries": ["machine learning tutorial"], "maxItems": 50}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: queries (array of strings, search terms, used in search mode), mode (string, "search"|"url", default "search"), startUrls (array of Bing video search URLs, used in url mode), maxItems (integer, max videos per search term or URL, default 100), maxTotalItems (integer, optional cap for the whole run), market (string, language-COUNTRY such as "en-US"|"de-DE", default "en-US"), safeSearch (string, "moderate"|"strict"|"off", default "moderate"), sortBy (string, "relevance"|"views_desc"|"newest"|"duration_asc"|"duration_desc", default "relevance"), duration (string, "short"|"medium"|"long"), date (string, "day"|"week"|"month"|"year"), quality (string, "low"|"360"|"480"|"720"|"1080"), price (string, "free"|"paid"), source (string, site such as "youtube.com"), platforms (array of platform names or domains), minDurationSeconds (integer), maxDurationSeconds (integer), minViewCount (integer), includeShorts (boolean, default true), includeLive (boolean, default true), transformFields (array of field names to keep), noStrip (boolean, keep empty fields, default false), maxRetries (integer 0-10, default 3), proxyConfiguration (object, optional). Each dataset row is one video and is billed as one row_result event. Bing stops giving new videos after roughly 100 to 190 per search; the search then ends and the log says so. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/actors/fastdataapi~bing-videos-scraper/builds/default
```

#### Bing Videos Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this actor and it can read Bing Videos on its own: the videos, views, channels and upload dates Bing shows for any search, in any market. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/bing-videos-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Bing Videos Scraper](https://apify.com/fastdataapi/bing-videos-scraper) in the Apify Store.
3. Type your search terms (or switch the mode to URL and paste Bing video search URLs).
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Bing Videos Scraper to bulk

Put every keyword in the Search terms list, or every Bing video search URL in the URL list: one run searches all of them at the same time and each row carries the search term it came from. A recorded local run searched 3 terms and returned 45 videos (15 per term) in about 2 seconds of scraping. Use Max videos in total to cap a large run, or schedule the actor to see how the results for a topic change over time. Each video row is one `row_result` event.

***

### ✨ Features

Bing Videos Scraper fetches clean, structured video results from Bing Videos ⚡. It's ideal for topic and trend research, finding the channels and creators that rank for a keyword, tracking video results per country, and building video lists for content planning.

It extracts, per video:

- **Title and video link** – the video's name and the page where it is hosted
- **Views** – the view count as Bing shows it ("1.3M views") and as a number
- **Channel** – the channel or uploader name and the link to the channel
- **Platform and domain** – where the video lives, e.g. YouTube or Dailymotion
- **Length** – in seconds and as shown on Bing (27:38)
- **Upload date** – as Bing shows it ("3 days ago" or "Sep 26, 2022")
- **Embed link and platform video ID** – for YouTube, Dailymotion and Vimeo videos
- **Position** – the place in Bing's results, the page it came from and the place in the whole run

⚡ Uses Bing's own length, date, resolution, price and site filters, so filtered searches return only matching videos from the first result.

***

### Use cases 💡

- **Content marketer** — find the most viewed videos and channels for a topic before planning one.
- **SEO specialist** — track which videos Bing ranks for target keywords in each market.
- **Brand manager** — monitor new videos about a brand with the past-day date filter.
- **Researcher** — collect long videos from one site with the length and site filters.
- **AI agent builder** — feed video titles, channels and views into a RAG pipeline as fresh context.

Building an AI agent? [Connect Bing Videos Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

- **Every video Bing has for a search.** A recorded run for "gaming" returned 100 different videos in 5 seconds and stopped where Bing had no more to show.
- **The numbers behind each video.** A recorded video came back with 682,100 views, the IGN channel and its channel link, YouTube as the platform, a 30-second length and "15 hours ago" as the upload date.
- **23 input options, one Actor.** Search terms or Bing URLs, market, safe search, 5 sort orders, 5 Bing filters, 6 result filters and output controls.

***

### ⬇️ Input

![Bing Videos Scraper input form with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-bing-videos-input.webp)

The actor takes a list of search terms (search mode) or a list of Bing video search URLs (URL mode); one of the two lists is needed for the mode you pick.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `queries` | Yes in search mode | array | Search terms, one per line; each is searched on its own. | `["machine learning tutorial"]` |
| `mode` | No | string | `search` (search terms) or `url` (Bing video search URLs). Default `search`. | `"search"` |
| `startUrls` | Yes in URL mode | array | Bing video search URLs; filters in the URL are kept. | `[{"url": "https://www.bing.com/videos/search?q=cats"}]` |
| `maxItems` | No | integer | Max videos per search term or URL. Default 100. | `50` |
| `maxTotalItems` | No | integer | Optional cap for the whole run. | `200` |
| `market` | No | string | Bing market as language-COUNTRY. Default `en-US`. | `"de-DE"` |
| `safeSearch` | No | string | `moderate`, `strict` or `off`. Default `moderate`. | `"strict"` |
| `sortBy` | No | string | `relevance`, `views_desc`, `newest`, `duration_asc` or `duration_desc`. Default `relevance`. | `"views_desc"` |
| `duration` | No | string | Bing length filter: `short` (under 5 min), `medium` (5-20 min), `long` (over 20 min). | `"medium"` |
| `date` | No | string | Bing date filter: `day`, `week`, `month` or `year`. | `"week"` |
| `quality` | No | string | Bing resolution filter: `low`, `360`, `480`, `720` or `1080`. | `"1080"` |
| `price` | No | string | Bing price filter: `free` or `paid`. | `"free"` |
| `source` | No | string | Only videos hosted on this site. | `"youtube.com"` |
| `platforms` | No | array | Keep only these platforms, by name or domain. | `["YouTube"]` |
| `minDurationSeconds` | No | integer | Keep videos at least this long. | `120` |
| `maxDurationSeconds` | No | integer | Keep videos at most this long. | `600` |
| `minViewCount` | No | integer | Keep videos with at least this many views. | `100000` |
| `includeShorts` | No | boolean | Keep short videos (Shorts link or 60 seconds or less). Default true. | `false` |
| `includeLive` | No | boolean | Keep live streams. Default true. | `true` |
| `transformFields` | No | array | Keep only these fields in each row. | `["title", "external", "viewCount"]` |
| `noStrip` | No | boolean | Keep fields without a value (as null). Default false. | `false` |
| `maxRetries` | No | integer | Retries for a failed page, 0-10. Default 3. | `3` |
| `proxyConfiguration` | No | object | Proxy to start with; default is no proxy. | `{"useApifyProxy": false}` |

Videos left out by the result filters (platforms, length, views, shorts, live) do not count toward the maximum.

#### Free plan limits

Users on the Apify free plan can fetch up to 20 videos per run (all searches together)
and 200 videos per month. When the limit is reached the run finishes successfully with a
status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
    "queries": ["machine learning tutorial", "python for beginners"],
    "mode": "search",
    "startUrls": [],
    "maxItems": 50,
    "maxTotalItems": 100,
    "market": "en-US",
    "safeSearch": "moderate",
    "sortBy": "views_desc",
    "duration": "medium",
    "date": "year",
    "quality": "720",
    "price": "free",
    "source": "youtube.com",
    "platforms": ["YouTube"],
    "minDurationSeconds": 300,
    "maxDurationSeconds": 1200,
    "minViewCount": 10000,
    "includeShorts": false,
    "includeLive": false,
    "transformFields": [],
    "noStrip": false,
    "maxRetries": 3,
    "proxyConfiguration": {"useApifyProxy": false}
}
```

***

### ⬆️ Output

![Bing Videos Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-bing-videos-output.webp)

Every video is one typed, normalized JSON item with the same schema on every run; fields without a value are left out unless you turn on Keep empty fields. Export the results as JSON (default), CSV or Excel.

#### Example output

```json
{
    "id": "88B86017BE70A70C9B6188B86017BE70A70C9B61",
    "title": "GTA 6 (Grand Theft Auto 6) - Official Pre Load Now Trailer",
    "external": "https://www.youtube.com/watch?v=dvk24j5jLHA",
    "thumbnail": "https://th.bing.com/th?id=OVP.2+T7toiHXmylFWLjikVjXQ",
    "thumbnailWidth": 354,
    "thumbnailHeight": 199,
    "preview": "https://th.bing.com/th/id/OMB.YZsMp3C-F2C4iA?pid=2.1",
    "duration": 30,
    "durationFormatted": "00:30",
    "views": "682.1K views",
    "viewCount": 682100,
    "viewCountIsApproximate": true,
    "date": "15 hours ago",
    "platform": "YouTube",
    "channel": "IGN",
    "channelUrl": "https://www.youtube.com/channel/UCKy1dAqELo0zrOtPkf0eTMw",
    "domain": "youtube.com",
    "videoId": "dvk24j5jLHA",
    "embedUrl": "https://www.youtube.com/embed/dvk24j5jLHA",
    "isShort": true,
    "isLive": false,
    "isAdult": false,
    "type": "video",
    "url": "https://www.bing.com/videos/search?q=gaming&view=detail&mid=88B86017BE70A70C9B6188B86017BE70A70C9B61",
    "query": "gaming",
    "searchUrl": "https://www.bing.com/videos/search?mkt=en-US&adlt=moderate&q=gaming",
    "market": "en-US",
    "language": "en",
    "country": "US",
    "safeSearch": "moderate",
    "sortBy": "relevance",
    "page": 1,
    "position": 6,
    "globalPosition": 6,
    "scrapedAt": "2026-11-11T06:02:09Z"
}
```

***

### How does it work?

The actor reads the same public video results any visitor sees on Bing Videos — no Bing account, login or cookies. It runs your search with the market, safe search and filters you chose, goes through the results page by page and removes videos it has already seen, then applies your result filters and sort order. It connects directly first; if Bing blocks a request it retries and switches to a datacenter and then a residential proxy on its own. With the default relevance order, videos are saved page by page, so the table fills while the run is going. The output schema is normalized and stays the same from run to run, and the log tells you when Bing has no more videos for a search.

***

### How do you integrate Bing Videos Scraper into your stack?

It works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using Bing Videos Scraper with the Apify API

```python
import requests

resp = requests.post(
    "https://api.apify.com/v2/actors/fastdataapi~bing-videos-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"queries": ["machine learning tutorial"], "maxItems": 50, "sortBy": "views_desc"},
)
for item in resp.json():
    print(item["title"], item.get("viewCount"))
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Register the actor once and your agent can search Bing Videos whenever a task needs it, for example to find the most viewed videos on a topic or the channels that cover it.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/bing-videos-scraper"
```

This registers Bing Videos Scraper as a tool your agent can call directly. It works in Claude Code, Cursor and Windsurf.

#### No-code tools (n8n, Make, LangChain)

- **n8n** — use the Apify node ("Run an Actor") with `fastdataapi/bing-videos-scraper`, or the HTTP Request node pointed at the run-sync endpoint with your token.
- **Make** — add the Apify app's "Run an Actor" module, then "Get Dataset Items" to pass the videos to the next step.
- **LangChain** — install `langchain-apify` and use `ApifyActorsTool("fastdataapi/bing-videos-scraper")` as an agent tool.

***

### Is it legal to scrape Bing data?

Scraping publicly available search results is generally legal. Bing Videos Scraper returns only public data — the videos, titles, view counts and channel names any visitor sees on Bing Videos without logging in. Some rows name channels or uploaders; under GDPR, collecting public data is generally permissible, but storing and using it must comply with local data-protection law. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Bing Videos Scraper return?

Each video comes with its title and link, view count, channel, platform, length and upload date, plus the thumbnail, embed link and its position in Bing's results. See [the data fields section](#what-data-can-i-extract-with-bing-videos-scraper) for the full list.

#### Does Bing Videos Scraper require a Bing account or login?

No. Only public video results are extracted, and no credentials are needed.

#### How fast does Bing Videos Scraper run?

A recorded run returned 100 videos for "gaming" in 5 seconds of scraping, and 5 videos came back in 1 to 3 seconds. The data is live from Bing, not cached.

#### What happens if a search has no videos or a URL is wrong?

A search Bing has no more videos for ends with a line in the log, and the videos found so far are kept. A URL that is not a Bing video search URL is skipped with a log line, and an empty input stops the run at once with a message saying what to add.

#### Can I scrape multiple Bing searches at once?

Yes. Put every keyword in the Search terms list (or every URL in the URL list); all of them run in the same run and each row carries its search term.

#### Does Bing Videos Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Bing Videos Scraper is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/bing-videos-scraper"
```

Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Bing Videos Scraper return data in a format LLMs can use directly?

Yes. Every video is typed, normalized JSON with consistent field names. No HTML parsing, no selectors. Pass it straight to an LLM, index it into a vector store, or feed it to an agent tool — no transformation step.

#### What happens when Bing changes its layout or updates its anti-bot system?

This actor is maintained and updated. When Bing changes, the actor is updated — your calls keep returning the same JSON schema with no changes on your end.

#### Can I use Bing Videos Scraper without managing proxies or browser infrastructure?

Yes. Retries and switching to a proxy when Bing blocks a request run on the actor's side, and no browser is needed. You send one request and get structured JSON back.

#### Which Bing video fields work best for AI training data and RAG indexing?

For RAG: the video title, channel name, platform and upload date. For training data: the view count, length in seconds, position and the short, live and adult flags. All fields are typed primitives — strings, integers, booleans — no normalization needed.

***

### Your feedback

Found a bug or missing a field? Let us know on the actor's Issues tab. Every report is read, and fixes ship as new versions of the actor.

# Actor input Schema

## `queries` (type: `array`):

Keywords to search on Bing Videos, one per line (e.g. "machine learning tutorial"). Each term is searched on its own and every row carries the term it came from. Used in Search mode.

## `mode` (type: `string`):

Search = search the terms above. URL = scrape the Bing video search URLs below exactly as they are (their own filters are kept).

## `startUrls` (type: `array`):

Bing video search result pages, e.g. https://www.bing.com/videos/search?q=cats. Used in URL mode. Filters in the URL are kept; the Bing filters below are added only when the URL has none of its own, and the result filters always apply.

## `maxItems` (type: `integer`):

Maximum videos for each search term or URL. A search ends earlier when Bing has no more videos for it (usually after about 100 to 190). Free plan: up to 20 videos per run (all searches together) and 200 per month; paid plans have no limit.

## `maxTotalItems` (type: `integer`):

Optional cap on the number of videos for the whole run, over all searches together. Empty = no cap.

## `market` (type: `string`):

Bing market as language-COUNTRY, e.g. en-US, en-GB, de-DE, fr-FR, ja-JP. Sets the language and country of the results.

## `safeSearch` (type: `string`):

Bing safe search level for adult content.

## `sortBy` (type: `string`):

Order of the videos within each search. Relevance keeps Bing's order and saves videos page by page; the other orders sort each search's videos once all of them are collected.

## `duration` (type: `string`):

Only videos of this length: short (under 5 minutes), medium (5 to 20 minutes) or long (over 20 minutes).

## `date` (type: `string`):

Only videos published within the past day, week, month or year.

## `quality` (type: `string`):

Only videos of this resolution: lower than 360p, or 360p, 480p, 720p or 1080p.

## `price` (type: `string`):

Only free or only paid videos.

## `source` (type: `string`):

Only videos hosted on this site, e.g. youtube.com or dailymotion.com.

## `platforms` (type: `array`):

Keep only videos from these platforms, by name or domain (e.g. YouTube, Dailymotion, vimeo.com). Empty = all platforms.

## `minDurationSeconds` (type: `integer`):

Keep only videos at least this many seconds long. Videos without a length (e.g. live streams) are left out.

## `maxDurationSeconds` (type: `integer`):

Keep only videos at most this many seconds long. Videos without a length (e.g. live streams) are left out.

## `minViewCount` (type: `integer`):

Keep only videos with at least this many views. Videos without a view count are left out.

## `includeShorts` (type: `boolean`):

Keep short videos (a Shorts link, or 60 seconds or less). Turn off to leave them out.

## `includeLive` (type: `boolean`):

Keep live streams (videos shown without a length). Turn off to leave them out.

## `transformFields` (type: `array`):

Keep only these fields in every row, e.g. title, external, viewCount. Empty = all fields.

## `noStrip` (type: `boolean`):

Keep fields that have no value (as null). Off = fields without a value are left out of the row.

## `maxRetries` (type: `integer`):

How many times a failed page is retried before that search stops.

## `proxyConfiguration` (type: `object`):

Proxy to start with. Leave off to start without a proxy; the actor still switches to a proxy when it is blocked.

## Actor input object example

```json
{
  "queries": [
    "machine learning tutorial"
  ],
  "mode": "search",
  "maxItems": 10,
  "market": "en-US",
  "safeSearch": "moderate",
  "sortBy": "relevance",
  "includeShorts": true,
  "includeLive": true,
  "noStrip": false,
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `stats` (type: `string`):

No description

## `channel` (type: `string`):

No description

## `media` (type: `string`):

No description

## `details` (type: `string`):

No description

## `search` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "machine learning tutorial"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastdataapi/bing-videos-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["machine learning tutorial"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("fastdataapi/bing-videos-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "machine learning tutorial"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call fastdataapi/bing-videos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fastdataapi/bing-videos-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/GvKZjZFeeHf6LBvR8/builds/Wyk3EVJfKZcBV4Mle/openapi.json
