Mobile-Friendly Test in Bulk: Real Chrome [USD 2/1K] avatar

Mobile-Friendly Test in Bulk: Real Chrome [USD 2/1K]

Pricing

from $2.00 / 1,000 page testeds

Go to Apify Store
Mobile-Friendly Test in Bulk: Real Chrome [USD 2/1K]

Mobile-Friendly Test in Bulk: Real Chrome [USD 2/1K]

Test a list of URLs for mobile-friendliness in a real phone-sized Chrome: viewport, content width, text size, tap targets and plugins, with the numbers, plus HTTP status, robots.txt, noindex and canonical. USD 2 per 1,000 pages.

Pricing

from $2.00 / 1,000 page testeds

Rating

0.0

(0)

Developer

Useful API

Useful API

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Mobile-Friendly Test in Bulk: real phone-sized Chrome

Give it a list of URLs. Each page is opened in a real headless Chromium at a phone size (412 x 915 CSS px, touch, mobile) and measured. You get a yes or no for mobile-friendliness, the list of checks that failed, and the numbers behind every check, plus the indexing facts that decide whether search engines can use the page: HTTP status, redirect chain, robots.txt for Googlebot and Bingbot, noindex, X-Robots-Tag and canonical.

Google retired its own Mobile-Friendly Test tool. This Actor checks the same five kinds of problem that tool reported, but with limits we chose and calibrated ourselves on real pages, and it shows the measured numbers behind each check, so you can see why a page failed. It does not reproduce Google's old verdict or Bing's verdict (see the FAQ).

What is checked

CheckWhat is measuredFails when
Viewport tagthe <meta name="viewport"> content, and the layout width the browser actually usedno tag, a fixed width, or the browser lays the page out wider than the screen
Content wider than the screendocument scroll width against the 412 px screen, and the elements that stick outcontent is more than 1 px wider than the screen
Text too smallshare of visible text characters under 12 CSS px (after the page's own zoom)more than 30% of the text is under 12 px
Tap targetslinks, buttons and form controls under 48 x 48 px that sit closer than 8 px to another one (tapTargetIssues), with up to 5 examplesour own rule: at least 10 tiny (under 32 px) crowded targets that make up at least half of all targets
Pluginsobject, embed and applet elements, and which are Flash, Silverlight or Javaany Flash, Silverlight or Java element

mobileFriendly is true when none of the five fails, false when at least one fails (failedChecks lists them), and null when the page could not be tested (see status). A blocked pinch zoom (user-scalable=no, maximum-scale under 2) is reported in warnings and does not fail a page.

The limits are ours, not Google's (Google never published its exact numbers). They are listed in the thresholds object in the run's OUTPUT record, and every row carries the measured values, so you can apply your own limits to the raw numbers. Links inside running text (a link with sentence text around it) are not counted as tap targets, as in WCAG 2.2.

The tap-target verdict is our own calibration. A plain "under 48 px and closer than 8 px" rule failed many large, well-built sites in our test runs (apple.com, wikipedia.org, stripe.com among them), because their footers and menus hold many small links. So the check only fails a page when most of its tap targets are tiny and crowded. The plain 48 px / 8 px count is still reported in tapTargetIssues if you want the stricter reading.

Input

{
"urls": ["https://www.bbc.com/", "https://news.ycombinator.com/", "example.com/pricing"],
"screenshots": false,
"maxUrls": 1000
}
  • urls: full URLs (the path matters) or bare domains (opened as https://, with fallbacks to www. and http://). Duplicates are dropped. IP addresses, localhost, odd ports and URLs with a user name get a free invalid_input row.
  • screenshots: saves the first phone screen of each tested page as a JPEG (412 x 915, about 55 KB in our test) and puts a signed link in screenshotUrl. Screenshots live in their own key-value store and expire after 7 days. The OUTPUT record has a ZIP link for all of them.
  • maxUrls: stop after this many URLs.

Output (one row per URL, trimmed from a real run)

{
"input": "https://www.berkshirehathaway.com/",
"status": "ok",
"httpStatus": 200,
"mobileFriendly": false,
"failedChecks": ["viewport", "contentWiderThanScreen", "textTooSmall"],
"warnings": [],
"checks": {
"viewport": { "pass": false, "problem": "no_viewport_tag", "metaViewport": null, "layoutViewportWidth": 980, "pageScale": 0.42 },
"contentWidth": { "pass": false, "viewportWidth": 412, "scrollWidth": 981, "overflowPx": 569, "widestElements": [{ "selector": "p", "right": 972, "width": 964 }] },
"textSize": { "pass": false, "smallTextShare": 0.998, "textChars": 1197, "smallestFontPx": 4.2, "minFontPx": 12, "examples": [{ "selector": "a", "fontPx": 6.7, "chars": 643 }] },
"tapTargets": { "pass": true, "tapTargets": 9, "smallerThan48": 9, "tapTargetIssues": 0, "crowdedTargets": 0 },
"plugins": { "pass": true, "pluginElements": 0, "incompatible": 0 }
},
"indexability": {
"indexable": true,
"robotsTxt": { "robotsTxt": "missing", "ourBot": { "allowed": true }, "googlebot": { "allowed": true }, "bingbot": { "allowed": true } },
"metaRobots": null, "xRobotsTag": null,
"canonical": { "status": "missing", "url": null }
},
"redirects": [{ "url": "https://www.berkshirehathaway.com/", "status": 200 }],
"finalUrl": "https://www.berkshirehathaway.com/",
"title": "BERKSHIRE HATHAWAY INC.",
"loadMs": 1180
}

(Shortened: the lists of examples are cut to one entry. Real rows also carry billedAs.)

Statuses

ok (tested), not_found (404 or 410), http_error (other 4xx or 5xx, also when the browser got an error the plain request did not), blocked (a bot wall or a refusal such as a Cloudflare challenge: we do not work around it), blocked_by_robots (the site's robots.txt does not allow our crawler, or it did not answer twice or answered with a server error, which RFC 9309 says to treat as closed; we did not open the page, and the Googlebot and Bingbot verdicts are still reported), dns_not_found, unreachable (no answer, refused, bad certificate), timeout (the page did not finish in time), not_html (a PDF, JSON, an image...), private_address (the URL or a redirect points to a private address; never fetched), invalid_input. A bad URL never fails the run: it becomes a row. When your maximum cost per run is reached, the run stops before the next URL: the URLs not started get no row, and OUTPUT says so (stoppedEarly, urlsNotStarted).

Pricing (pay per event)

EventPriceWhen
Run startUSD 0.005 per GB of memory (the Actor runs at 4 GB: USD 0.02 per run)once per run
Page testedUSD 0.002 (USD 2 per 1,000)the browser opened and measured the page
URL checked, no testUSD 0.0005dead, blocked, robots-blocked, error, not a page, timeout
Screenshot savedUSD 0.0005only with screenshots on

Worked example: 1,000 URLs of which 850 are tested and 150 are dead or blocked: 0.02 + 850 x 0.002 + 150 x 0.0005 = USD 1.795. The same run with screenshots: add 850 x 0.0005 = USD 0.425, USD 2.22 in all. A run of 10 tested URLs costs 0.02 + 10 x 0.002 = USD 0.04. Invalid input rows are free. Set a maximum cost per run and the Actor stops cleanly before reaching it (rows are kept, stoppedEarly says why). The minimum you can set is USD 0.03.

The run start covers starting a browser machine: Apify bills the seconds it takes to load the Actor (about 20 s on a fresh server) and the browser start, before any URL is opened.

Limits and honest notes

  • Our crawler identifies itself: the user agent is an Android Chrome string ending in (compatible; UsefulApiBot/1.0; +https://apify.com/usefulapi), as Googlebot Smartphone does with its own token. We obey robots.txt for UsefulApiBot (else the * group). A site that allows only Googlebot will come back blocked_by_robots even if Google can crawl it, and a site that shows a bot check comes back blocked.
  • A page must finish loading in about 12 seconds and each URL has a hard limit of 20 seconds, so very slow pages return timeout.
  • Two URLs at most per host at a time, with a short pause. The browser runs three pages in parallel.
  • A list where most URLs hang until their time limit can stop early with stoppedEarly set: each such URL is billed only USD 0.0005 but holds a browser slot for 20 seconds. Rows already written are kept; run the rest again.
  • Everything is measured at one phone size (412 x 915). Pages that change layout after user actions, behind logins or after consent walls are measured as the first load shows them.
  • Tap-target and text rules are heuristics with our limits (above). Another tool with other limits can give another verdict on the same page: in our side-by-side test of four pages, another Store Actor gave the same verdict on three and differed on stripe.com, where we fail the tap-target check (84 of 139 targets are footer links 20 px high, 4 px apart).
  • The Actor reads no contact data. An email address or an international phone number that turns up in a URL, and also a local-format phone number in a page title or an error text, is replaced by [removed] (pattern matching).
  • Private addresses are never contacted: every browser connection goes through a local proxy that resolves the host itself and refuses private, loopback, link-local and metadata addresses and ports other than 80, 443, 8080 and 8443.
  • Screenshots and unnamed storage expire after 7 days.

FAQ

Is this Google's verdict, or Bing's? Neither. Google's tool is gone, and its exact limits were never published; Bing runs its own test with its own rules. This is our measurement of the same kinds of problem in a real Chromium, with our limits, so a page can pass here and fail elsewhere (or the other way round). The robotsTxt and indexable fields tell you separately whether Googlebot and Bingbot may crawl and index the URL.

Why is a big site marked not friendly because of tap targets? Because most of its links are tiny and close together on a phone. Check checks.tapTargets.examples.

Does it store anything about my URLs? Only the run's own dataset and key-value store in your account.