# Mobile Friendly Test - Bulk URL Audit with Pass/Fail Verdict (`tenfoldfleet/mobile-friendly-test`) Actor

Check if a website or web page is mobile friendly: test URLs in bulk for a PASS/FAIL verdict, a 0-100 score and issues (viewport, responsive CSS, fixed widths, small text, zoom, Flash), plus indexability via robots.txt and noindex. $4 per 1,000 URLs; blocked and failed URLs are free.

- **URL**: https://apify.com/tenfoldfleet/mobile-friendly-test.md
- **Developed by:** [Tenfold Fleet](https://apify.com/tenfoldfleet) (community)
- **Categories:** SEO tools, Agents, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 url testeds

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

### What does Mobile Friendly Test do?

**Mobile Friendly Test** checks whether web pages work on a phone, **in bulk**. Paste a list of URLs (or a whole sitemap's worth) and get one row per URL with a **PASS/FAIL verdict**, a **0-100 mobile score** and the exact issues found: missing or fixed-width viewport, no responsive CSS, content wider than the screen, tiny text, blocked pinch-zoom and Flash or Java plugins. Each row also says whether the URL is **indexable** (HTTP status, `noindex` tags and robots.txt rules for Googlebot).

It works as a **mobile-friendly checker API**: call it from the Apify API, a schedule, Make, Zapier, n8n or an AI agent through the Apify MCP server, and read the results as JSON, CSV or Excel.

**Important:** the verdict is **our own heuristic**, computed from each page's HTML, CSS and HTTP headers. It is **not Google's or Bing's result** and does not reproduce either search engine's internal test. Google retired its public Mobile-Friendly Test tool in December 2023; this Actor gives you a transparent, rule-based replacement you can run on thousands of URLs. Not affiliated with Google or Microsoft.

### Why use it?

- **SEO audits at scale:** find every page on a site that still has no viewport tag or a desktop-only layout, before it costs you mobile rankings.
- **Agency client reports:** test a prospect's key pages in one run and show a clear PASS/FAIL table.
- **Migration and redesign QA:** rerun the same URL list after a launch and compare verdicts.
- **Lead generation:** find businesses whose websites fail on mobile and offer them a redesign.
- **Monitoring:** schedule a weekly run and get alerted when a page drops from PASS to FAIL or becomes non-indexable.

Need a full on-page SEO crawl (titles, meta descriptions, canonicals, broken links, structured data)? Use our [SEO Audit Tool](https://apify.com/tenfoldfleet/seo-audit-tool). To collect every URL of a site first, run [Sitemap URL Extractor](https://apify.com/tenfoldfleet/sitemap-url-extractor) and feed its output here.

### What data can it extract?

![Sample output of Mobile Friendly Test, rows from a real run: URL, Verdict, Score, Viewport, Responsive CSS, Indexable](https://api.apify.com/v2/key-value-stores/4TBgG7fopkYMNWnX2/records/mobile-friendly-test-output.png)

| Field | What it tells you |
|---|---|
| `verdict` / `mobileFriendly` | PASS or FAIL (true/false) |
| `score` | 0-100 mobile score (100 = no issues found) |
| `issues` | List of issues with `id`, `severity` (critical, major, minor, info) and a plain-English message |
| `viewport`, `viewportWidth`, `initialScale`, `zoomDisabled` | The meta viewport tag, parsed |
| `hasResponsiveCss`, `mediaQueryCount` | Width-based media queries found in the page and its linked CSS |
| `fixedWidthElements` | Elements or CSS rules 980px or wider that make the page scroll sideways |
| `smallFontCount`, `pluginCount` | Text below 12px, Flash/Java/Silverlight elements |
| `indexable`, `indexabilityIssues` | Whether Google may index the URL, and why not |
| `robotsTxtAllowed`, `robotsTxtRule`, `metaRobots`, `xRobotsTag` | The crawl and index rules behind that answer |
| `canonicalUrl`, `canonicalIsSelf`, `ampUrl`, `mobileAlternateUrl` | Canonical, AMP and separate mobile (m.) page links |
| `statusCode`, `finalUrl`, `redirected`, `responseTimeMs`, `htmlBytes` | How the URL responded |

### How to run a bulk mobile friendly test

1. Open the Actor and paste your URLs into **URLs to test**, one per line. Bare domains such as `example.com` test the home page.
2. Keep **Check robots.txt and indexability** on if you also want the `indexable` answer.
3. Click **Start**. Most URLs take 1-3 seconds; 1,000 URLs usually finish in a few minutes.
4. Open the **Mobile-friendly verdicts** table, filter by `verdict = FAIL`, and download the results as JSON, CSV or Excel.

### How is the verdict calculated?

Every page starts at 100 points. Each issue subtracts points by severity:

- **Critical (-40):** no viewport tag, a fixed viewport width (for example `width=1024`), a viewport with neither `width=device-width` nor `initial-scale`, Flash/Java/Silverlight plugins, or an HTTP error (404, 410, 5xx).
- **Major (-20):** no width-based media queries or responsive framework, or content 980px or wider outside media queries.
- **Minor (-5):** viewport without `width=device-width`, pinch-zoom disabled, 3 or more places with text under 12px, HTML over 1.5 MB.
- **Info (0):** notes such as "content is built by JavaScript" or "linked CSS could not be fetched".

A URL **passes** when it has no critical issue and scores 70 or more.

### How much does it cost?

**$4 per 1,000 URLs tested** ($0.004 per URL), plus a tiny start fee of $0.00005 per run. A 404 or 5xx URL is still a result (FAIL, not indexable) and is charged.

**Free:** URLs blocked by bot protection (HTTP 401/403/429, a challenge page or an empty reply), other refusals such as HTTP 400, 406 or 451, unreachable URLs, non-HTML files (images, PDFs), responses over 4 MB and invalid URLs. Each gives a row with an `error` and `errorType` and costs nothing. On the Apify free plan, the $5 monthly credit covers about **1,000 URLs**. Set a **maximum cost per run** and the Actor stops as soon as it is reached.

### Input

```json
{
    "urls": ["https://example.com/", "https://www.example.org/pricing", "example.net"],
    "checkRobotsTxt": true,
    "fetchStylesheets": true,
    "maxConcurrency": 10
}
```

### Output

```json
{
    "url": "https://www.spacejam.com/1996/",
    "finalUrl": "https://www.spacejam.com/1996/",
    "statusCode": 200,
    "verdict": "FAIL",
    "mobileFriendly": false,
    "score": 55,
    "issueCount": 2,
    "issueSummary": "viewport-missing, small-font",
    "issues": [
        { "id": "viewport-missing", "severity": "critical", "message": "No <meta name=\"viewport\"> tag: phones render the page at desktop width and shrink it." },
        { "id": "small-font", "severity": "minor", "message": "5 places set text below 12px, too small to read on a phone." }
    ],
    "viewport": null,
    "hasResponsiveCss": false,
    "indexable": true,
    "robotsTxtAllowed": true,
    "error": null
}
```

A blocked URL looks like this and is free:

```json
{ "url": "https://shop.example.com/", "statusCode": 403, "verdict": null, "errorType": "blocked", "error": "HTTP 403: the site refused the request (bot protection or login wall). Not charged. Try again with Apify Proxy (residential)." }
```

You can download the dataset as JSON, CSV, Excel, XML or HTML, or read it through the Apify API.

### Tips

- **Test the pages that matter**, not only home pages: product, category, blog and landing pages often use different templates.
- **Blocked rows:** rerun only the `errorType = blocked` URLs with **Proxy** set to Apify Proxy, residential group.
- **JavaScript-heavy sites:** when a row has the `js-rendered` info note, the HTML is mostly empty until scripts run. Viewport and CSS checks still apply, but layout issues that only appear after rendering may be missed.
- **Faster runs:** turn off **Read linked CSS files**. Pages without inline media queries may then show `responsive-css-unknown` instead of a firm answer.

### FAQ

#### Is this the same as Google's Mobile-Friendly Test?

No. Google shut its public Mobile-Friendly Test down in December 2023, and this Actor does not call Google or Bing. It applies its own published rules (above) to each page's HTML and CSS, so you always see why a page passed or failed.

#### Does it render pages in a browser?

No. It downloads the HTML and up to 12 linked stylesheets over plain HTTP with a mobile Chrome user agent. That keeps it fast and cheap. It does not measure tap-target spacing or take screenshots.

#### Why is a 404 page charged?

A 404, 410 or 5xx answer is real, useful information about the URL (broken page, not indexable), so it is reported as a FAIL row. Only bot walls and network failures are free, because they tell you nothing about the page.

#### Can I check whether Google is allowed to crawl my URLs?

Yes. With **Check robots.txt and indexability** on, the Actor reads each site's robots.txt once (following redirects; a missing robots.txt means everything is allowed), applies Google's matching rules for the Googlebot user agent, and combines the result with `noindex` meta tags, the `X-Robots-Tag` header and the HTTP status.

#### Can an AI agent use it?

Yes. Through the Apify MCP server or API, an agent can pass a list of URLs and read back the verdict, score and issues as structured JSON.

### Disclaimer

This Actor reads only public web pages, the same way a phone browser does. The mobile-friendly verdict is an automated heuristic provided as-is and may differ from what any search engine reports. It is not affiliated with, endorsed by or connected to Google, Microsoft or any website it tests.

### More tools from Tenfold Fleet

| Actor | Output |
|---|---|
| [Amazon Search Volume - Keyword Demand for Sellers & PPC](https://apify.com/tenfoldfleet/amazon-search-volume) | keyword with amazon volume |
| [ASO Keyword Rank Tracker: iOS & Android App Positions](https://apify.com/tenfoldfleet/aso-keyword-rank-tracker-app-store-google-play) | keyword check |
| [Backlinks Checker - Referring Domains, Anchors & Domain Rank](https://apify.com/tenfoldfleet/backlinks-checker) | backlink |
| [Bing Search Volume: Microsoft Ads Keyword Data in Bulk](https://apify.com/tenfoldfleet/bing-search-volume) | bing keyword batch |
| [ChatGPT Search Scraper: Brand Mentions & Citations per Prompt](https://apify.com/tenfoldfleet/chatgpt-search-scraper-answers-citations-brand-mentions) | prompt answered |
| [Google AI Overviews Checker - Citations & Domain Tracker](https://apify.com/tenfoldfleet/google-ai-overviews-checker) | keyword checked |
| [Google Images API - Image Search Results in 90+ Countries](https://apify.com/tenfoldfleet/google-images-api) | image result |
| [Google Keyword Planner Alternative - Ideas, Bids & Volume](https://apify.com/tenfoldfleet/google-keyword-planner) | keyword idea |
| [Google Maps Rank Tracker - Geo-Grid Rank Changes & Competitors](https://apify.com/tenfoldfleet/google-maps-rank-tracker) | grid point checked |
| [Google Trends Scraper - Search Interest by Region and Over Time](https://apify.com/tenfoldfleet/google-trends-scraper) | keyword |
| [Keyword Ideas & Related Keywords - Difficulty, Volume & CPC](https://apify.com/tenfoldfleet/keyword-ideas) | keyword idea |
| [Keyword Search Volume Checker - Bulk CPC & Keyword Difficulty](https://apify.com/tenfoldfleet/keyword-search-volume) | keyword with data |

All 122 tools: [apify.com/tenfoldfleet](https://apify.com/tenfoldfleet). If this Actor saves you time, save it (the bookmark on its Store page) and leave a review: both help other people find it. Found a bug or need another field? Tell us on the Issues tab of this page.

# Changelog

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

# Actor input Schema

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

Pages to check, one per line: full URLs (https://example.com/pricing) or bare domains (example.com, tested at its home page). One URL = one result at $0.004. Blocked, unreachable and non-HTML URLs are free. On the Apify free plan, the $5 monthly credit covers about 1,000 URLs.

## `checkRobotsTxt` (type: `boolean`):

Read each site's robots.txt (once per site) and report whether Googlebot may crawl the URL. Combined with noindex tags and the HTTP status into an indexable true/false field.

## `fetchStylesheets` (type: `boolean`):

When the page has no media queries in its own HTML, download up to 12 linked stylesheets to look for responsive CSS. More accurate, slightly slower. Turn off for the fastest run.

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

How many URLs to test in parallel.

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

Optional. Most sites work without a proxy. Sites behind bot protection come back as free 'blocked' rows: rerun those through Apify Proxy (residential).

## Actor input object example

```json
{
  "urls": [
    "https://www.apple.com/",
    "https://www.bbc.com/news",
    "https://example.com/"
  ],
  "checkRobotsTxt": true,
  "fetchStylesheets": true,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "urls": [
        "https://www.apple.com/",
        "https://www.bbc.com/news",
        "https://example.com/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenfoldfleet/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://www.apple.com/",
        "https://www.bbc.com/news",
        "https://example.com/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tenfoldfleet/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://www.apple.com/",
    "https://www.bbc.com/news",
    "https://example.com/"
  ]
}' |
apify call tenfoldfleet/mobile-friendly-test --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tenfoldfleet/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/DIqETpiJCPHdGCyj9/builds/xPDA3fb7Qc57MSrcz/openapi.json
