# Bing Mobile-Friendly Test & Indexing Audit (`automation-lab/bing-mobile-friendly-test`) Actor

Bulk-test page URLs with Bing's Mobile Friendliness Test. Get Bing's verdict, failed checks (viewport, text size, tap targets, content width), robots.txt crawl status and noindex status in one row per URL. Untested URLs are free.

- **URL**: https://apify.com/automation-lab/bing-mobile-friendly-test.md
- **Developed by:** [Automation Lab](https://apify.com/automation-lab) (community)
- **Categories:** SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.88 / 1,000 url auditeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 Mobile-Friendly Test & Indexing Audit

Test hundreds of page URLs with **Bing's own Mobile Friendliness Test** in one run, and get each page's **robots.txt crawl status** and **noindex status** in the same row. One row per URL: Bing's verdict, the checks it passed and failed, page resources blocked by robots.txt, HTTP status, final URL and canonical URL.

Google retired its Mobile-Friendly Test, so Bing Webmaster Tools is the last search-engine mobile test you can run on any public page without owning the site. This Actor runs that test for a whole list at once.

### What does Bing Mobile-Friendly Test & Indexing Audit do?

For every URL you give it, the Actor:

1. Asks Bing's public Mobile Friendliness Test to render the page on a phone and returns Bing's verdict (`mobileFriendly`) and every check Bing reports:
   - viewport configured correctly
   - page content fits the device width
   - text on the page is readable
   - links and tap targets are large enough
   - zoom control and resources blocked by robots.txt
2. Reads the site's `robots.txt` and tells you whether Bingbot (or Googlebot, or any crawler) may crawl the URL (`crawlAllowed`).
3. Fetches the page and reads meta robots tags and the `X-Robots-Tag` header to tell you whether indexing is allowed (`indexingAllowed`), with the exact source of any noindex.
4. Adds HTTP status, final URL after redirects, canonical URL, page title and meta viewport.

### Who is it for?

- **SEO agencies** auditing client page lists every week or after a redesign.
- **In-house SEO and web teams** checking that new templates are mobile friendly and not accidentally noindexed before a release.
- **Developers** adding a mobile and indexability gate to a deploy pipeline through the API.
- **Web design agencies** finding prospect sites that fail on phones.
- **Site migration teams** confirming redirects, canonicals and robots rules on the new URLs.

### Why use this Actor?

- **Bing's real verdict**, not a homemade guess from a viewport tag. Bing renders the page on a phone and runs its own checks.
- **Crawl and index status in the same row.** One export shows mobile issues, robots.txt blocks and noindex tags together.
- **Bulk.** Paste a list of URLs; up to 20 are tested in parallel.
- **Choose the crawler.** Check robots rules for Bingbot, Googlebot or any crawler.
- **Phone screenshots** on request, saved next to the results.
- **Untested URLs are free.** If Bing cannot test a page, you get a row with the reason and no charge.

### What data does it return?

| Field | Meaning |
|---|---|
| `url` | Tested URL (bare domains get `https://`) |
| `success` | `true` when Bing returned a verdict |
| `mobileFriendly` | Bing's mobile-friendly verdict |
| `verdict` | Bing's verdict text |
| `viewportOk`, `contentFitsWidth`, `textReadable`, `tapTargetsOk` | One flag per Bing check (`null` when Bing did not report it) |
| `passedChecks`, `failedChecks`, `warnings` | Bing check messages grouped by result |
| `checks` | Every check with `key`, `status`, `message` and Bing's advice |
| `blockedResources` | Page resources Bing could not load because robots.txt blocks them |
| `crawlAllowed` | robots.txt lets the chosen crawler fetch this URL |
| `indexingAllowed` | No noindex/none in meta robots or X-Robots-Tag for that crawler. `null` when bot protection (e.g. a Cloudflare challenge) blocked our page fetch or the page returned an error, so its real tags could not be read |
| `indexable` | Crawl allowed, indexing allowed and HTTP 2xx. `false` for a real 4xx/5xx page, `null` when bot protection blocked our fetch |
| `noindexSources` | Where a noindex was found |
| `httpStatus`, `finalUrl`, `redirected` | Page response after redirects |
| `canonicalUrl`, `pageTitle`, `metaViewport` | Key page tags |
| `metaRobots`, `xRobotsTag`, `robotsTxtUrl`, `robotsTxtStatus` | Raw robots evidence |
| `screenshotUrl` | Phone screenshot link, when enabled |
| `error`, `pageFetchError` | Why a test or our own page fetch failed |
| `checkedAt` | When the URL was tested |

### How much does it cost to test pages for Bing mobile-friendliness?

You pay per run start and per tested URL. URLs Bing cannot test are saved free.

| Event | Price |
|---|---|
| Run start (once per run) | $0.002 |
| URL audited, Free and Bronze plans | $0.0036 |
| URL audited, Silver plan | $0.00324 |
| URL audited, Gold, Platinum and Diamond plans | $0.00288 |

Examples on the Free and Bronze plans:

- 10 URLs: $0.002 + 10 × $0.0036 = **$0.038**
- 100 URLs: **$0.362**
- 1,000 URLs: **$3.602**

Platform usage is included in these prices. Set **Maximum charge per run** in the run options to cap spending; the Actor stops cleanly at that limit.

### How to test URLs with Bing's Mobile Friendliness Test

1. Open the Actor and paste your page URLs into **URLs to test**, one per line.
2. Optional: choose the crawler for robots rules (Bingbot by default).
3. Optional: turn on **Save phone screenshots**.
4. Click **Start**. Each URL takes about 10 to 25 seconds at Bing, and 10 run at the same time by default (up to 20 with 1 GB memory).
5. Open the **Audit results** tab, or export to CSV, Excel or JSON.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `urls` | array of strings | required | Page URLs, one per line. Duplicates are tested once. Invalid entries are skipped with a log warning. |
| `crawlerUserAgent` | `bingbot`, `googlebot`, `*` | `bingbot` | Crawler the robots.txt, meta robots and X-Robots-Tag rules are checked for |
| `saveScreenshots` | boolean | `false` | Save Bing's phone screenshot for each page and add `screenshotUrl` |
| `maxConcurrency` | integer 1–20 | `10` | URLs tested at the same time; at most one per 50 MB of run memory (10 at the default 512 MB, 20 at 1 GB) |
| `proxyConfiguration` | proxy | Apify datacenter proxy | Proxy for requests to Bing's tool. Each URL is tested from its own session so Bing does not throttle parallel tests |

Example input:

```json
{
    "urls": [
        "https://apify.com",
        "http://info.cern.ch/hypertext/WWW/TheProject.html"
    ],
    "crawlerUserAgent": "bingbot",
    "saveScreenshots": false
}
```

### Output example

A real row for a page that is not mobile friendly:

```json
{
    "url": "http://info.cern.ch/hypertext/WWW/TheProject.html",
    "success": true,
    "mobileFriendly": false,
    "verdict": "This page is not mobile friendly",
    "viewportOk": false,
    "contentFitsWidth": false,
    "textReadable": false,
    "tapTargetsOk": false,
    "passedChecks": ["Zoom control is not restricted"],
    "failedChecks": [
        "Viewport not configured correctly",
        "Page content does not fit device width",
        "Text on page is too small",
        "Links and tap targets are too close/small"
    ],
    "warnings": [],
    "blockedResources": [],
    "httpStatus": 200,
    "finalUrl": "http://info.cern.ch/hypertext/WWW/TheProject.html",
    "redirected": false,
    "pageTitle": "The World Wide Web project",
    "metaViewport": null,
    "canonicalUrl": null,
    "crawlAllowed": true,
    "robotsTxtStatus": 404,
    "indexingAllowed": true,
    "indexable": true,
    "noindexSources": [],
    "crawlerUserAgent": "bingbot",
    "error": null,
    "checkedAt": "2026-11-23T08:10:12.481Z"
}
```

A page with a noindex header shows `"indexingAllowed": false` and `"noindexSources": ["X-Robots-Tag: noindex"]`. A page behind a bot challenge that refused our own fetch shows `"indexingAllowed": null` and `"pageFetchError": "Page blocked our fetch (HTTP 403 Cloudflare bot challenge); noindex status unknown"`. The challenge page's own noindex tag is never reported as yours.

### Tips and limits

- **Timing.** Bing renders every page, so one URL takes about 10 to 25 seconds. In our tests 25 URLs took about 6 minutes at the default settings and 59 URLs about 10 minutes with 20 parallel tests at 1 GB, including the retry pass for pages Bing could not load. The default run timeout is one hour; raise it for very large lists.
- **Public pages only.** Bing must be able to reach the page. Pages behind a login, a firewall or a VPN cannot be tested.
- **Untested URLs.** When Bing answers with its own "momentary issue" error, the Actor tries the page again right away and once more in a slower pass at the end of the run (three tries). If it still fails, the row has `success: false` and an `error` message, and it is not charged.
- **Robots rules.** A missing robots.txt (HTTP 4xx) allows crawling. If robots.txt answers 5xx or cannot be reached, `crawlAllowed` is `null`.
- **Our own page fetch** uses a mobile Chrome user agent. Sites that block automated requests may give a different `httpStatus` than Bingbot sees; Bing's verdict is not affected.
- **Results reflect Bing's tool.** The checks and verdict text come from Bing Webmaster Tools and can change when Bing changes its test.

### Integrations and workflows

- **Weekly audit:** save an Actor task with your page list and add a weekly schedule. Connect a webhook to Slack or email when `failedChecks` is not empty.
- **Release gate:** call the Actor from CI after deploying a staging or production page set and fail the pipeline when any row has `mobileFriendly: false` or `indexable: false`.
- **Google Sheets:** export the dataset to Sheets for client reports.
- **Sitemap audits:** extract URLs with Sitemap XML URL Extractor and feed them into this Actor.

### Use the Actor through the API

cURL:

```bash
curl -X POST "https://api.apify.com/v2/acts/automation-lab~bing-mobile-friendly-test/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://apify.com", "https://example.com"]}'
```

JavaScript:

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('automation-lab/bing-mobile-friendly-test').call({
    urls: ['https://apify.com', 'https://example.com'],
    crawlerUserAgent: 'bingbot',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const row of items) console.log(row.url, row.mobileFriendly, row.failedChecks, row.indexable);
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("automation-lab/bing-mobile-friendly-test").call(
    run_input={"urls": ["https://apify.com", "https://example.com"]}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["url"], row["mobileFriendly"], row["failedChecks"], row["indexable"])
```

### Use with AI agents through MCP

Add the Actor to Claude Code:

```bash
claude mcp add --transport http apify \
  "https://mcp.apify.com?tools=automation-lab/bing-mobile-friendly-test"
```

JSON configuration for Claude Desktop, Cursor or VS Code:

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=automation-lab/bing-mobile-friendly-test"
        }
    }
}
```

Example prompts:

- "Check these 20 landing pages with Bing's mobile-friendly test and list the ones that fail, with the failed checks."
- "Are any of these URLs blocked for Bingbot in robots.txt or marked noindex?"

The run can take longer than one MCP call waits. Keep the returned run ID, check the same run until it finishes, then read the dataset in pages instead of starting a new run.

### Is it legal to use?

The Actor uses Bing's public Mobile Friendliness Test, the same tool anyone can open in a browser, and fetches only the public pages and robots.txt files you list. It does not log in or collect personal data. Test pages you own or are authorized to audit, follow Bing's terms of use, and keep request volumes reasonable.

This Actor is not affiliated with, endorsed by, or sponsored by Microsoft or Bing. Bing is a trademark of Microsoft Corporation and is named only to identify the public tool the Actor uses.

### FAQ

**Is this the same test as in Bing Webmaster Tools?**
Yes. The verdict and checks come from Bing's public Mobile Friendliness Test at bing.com/webmaster/tools/mobile-friendliness.

**Do I need a Bing Webmaster Tools account or to verify my site?**
No. The public test works for any reachable page.

**Why did a URL come back with `success: false`?**
Bing could not test it, usually because the page was unreachable for Bing or Bing's tool had a temporary error. The `error` field says which. These rows are not charged; run them again later.

**Why is `crawlAllowed` null?**
The site's robots.txt answered with a server error or could not be reached, so crawl permission is unknown.

**Can I check Google's robots rules instead of Bing's?**
Yes. Set **Crawler for robots rules** to Googlebot. The mobile verdict still comes from Bing.

**The run is slow. Can I speed it up?**
Raise **Parallel tests** up to 20 and set run memory to 1 GB so the run has CPU for them. Bing needs 10 to 25 seconds per page, so a single URL cannot go faster.

### Related Actors

- [Sitemap XML URL Extractor](https://apify.com/automation-lab/sitemap-xml-url-extractor) to build the URL list from a sitemap.
- [Robots.txt & Sitemap Analyzer](https://apify.com/automation-lab/robots-sitemap-analyzer) for a full robots.txt and sitemap review of a site.
- [Website Lighthouse SEO Audit](https://apify.com/automation-lab/website-lighthouse-seo-audit) for Lighthouse performance and SEO scores.
- [Bulk URL Status Checker](https://apify.com/automation-lab/bulk-url-status-checker) for fast status and redirect checks on large lists.
- [Website Contact Finder](https://apify.com/automation-lab/website-contact-finder) to find contacts for sites that fail the test.

### Error reporting

Failed operations report sanitized diagnostic input, Actor, build and run IDs and exceptions to our private GlitchTip service. Secret fields and URL query strings are removed. Reports are kept for 30 days.

# Changelog

This Actor's version history is a separate document: https://apify.com/automation-lab/bing-mobile-friendly-test/changelog.md

# Actor input Schema

## `urls` (type: `array`):

Page URLs to audit, one per line. Bare domains such as example.com are tested as https://example.com/. Each URL gives one result row.

## `crawlerUserAgent` (type: `string`):

Which crawler the robots.txt, meta robots and X-Robots-Tag rules are checked for. Bingbot matches Bing's own crawling. Googlebot lets you audit Google crawl rules in the same row. Any crawler (\*) applies only the generic rules.

## `saveScreenshots` (type: `boolean`):

Save the phone-size screenshot Bing renders for each page to the run's key-value store and add its link as screenshotUrl.

## `maxConcurrency` (type: `integer`):

How many URLs are tested at the same time. Bing takes about 10 to 25 seconds per page, so higher values finish large lists sooner. Each test needs a little CPU, so the run uses at most one parallel test per 50 MB of memory (10 at the default 512 MB, 20 at 1 GB).

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

Proxy for requests to Bing's test tool. Each URL is tested from its own proxy session, which keeps Bing from throttling parallel tests. Apify datacenter proxy (the default) is enough; your own pages and robots.txt are fetched without a proxy.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "http://info.cern.ch/hypertext/WWW/TheProject.html"
  ],
  "crawlerUserAgent": "bingbot",
  "saveScreenshots": false,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows: one per URL with mobileFriendly, failedChecks, crawlAllowed, indexingAllowed, httpStatus and finalUrl.

## `screenshots` (type: `string`):

Key-value store keys of the phone screenshots, saved only when "Save phone screenshots" is on.

# 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 = {
    "urls": [
        "https://apify.com",
        "http://info.cern.ch/hypertext/WWW/TheProject.html"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/bing-mobile-friendly-test").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 = {
    "urls": [
        "https://apify.com",
        "http://info.cern.ch/hypertext/WWW/TheProject.html",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/bing-mobile-friendly-test").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 '{
  "urls": [
    "https://apify.com",
    "http://info.cern.ch/hypertext/WWW/TheProject.html"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automation-lab/bing-mobile-friendly-test --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation-lab/bing-mobile-friendly-test"
        }
    }
}
```

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/49x4LwZONWhOXixfP/builds/12XrEaxhbw102dncw/openapi.json
