Hreflang & Canonical Validator - Bulk Hreflang Audit
Pricing
$0.50 / 1,000 page checked (hreflang and canonical validated)s
Hreflang & Canonical Validator - Bulk Hreflang Audit
Check hreflang across pages or a whole sitemap: return links between every language version, self-references, x-default, language and region codes, canonical conflicts, noindex and redirecting alternates. Reciprocity CSV included. $0.0005 per page, no start fee.
Pricing
$0.50 / 1,000 page checked (hreflang and canonical validated)s
Rating
0.0
(0)
Developer
DigiVibeTech
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Hreflang & Canonical Validator — check hreflang across pages or a whole sitemap: return links between every language version, self-references, x-default, language and region codes, canonical conflicts, noindex and redirecting alternates.
Try it free: press Start — the prefilled input runs a small real job (up to 20 × page checked, about $0.010 in events). Apify's free plan includes monthly platform credit, so a first test costs you nothing. You can also set a maximum cost per run.
- What you get:
url,state,selfCode,hreflangCount,canonical,status - Who it's for: international SEO teams and multilingual site owners
- Price: $0.0005 per page checked
- Data source: Reads the public pages and sitemaps of sites you enter; respects robots.txt.
What is Hreflang & Canonical Validator?
Check the hreflang setup of a multilingual or multi-country site: paste a few page URLs or a whole sitemap and get, per page, every hreflang tag, the canonical, and a plain list of problems. Alternates are fetched too, so return links are checked across the whole language cluster.
✅ Why this one
- Fetches every alternate and checks return links across the whole language cluster, plus self-reference, x-default and ISO language/region codes with a suggested fix (
en-UK->en-GB). - Finds canonical conflicts and compares sitemap
xhtml:linkhreflang with the tags on the page. The most-used rival on the Store (Hreflang Tag Checker API, 9 users) does not list either. - $0.0005 per page checked with no start fee, against $0.001 per URL at that rival. Pages skipped by robots.txt are not charged.
- Also reads hreflang and canonical from HTTP Link headers (PDFs and other files), noindex pages and redirecting alternates.
📸 Real-run screenshots
From real run kbK7cwvQIYLEEzHoz on Apify, 20 Nov 2026 (build 1.0.3). Images are rendered from that run's own input, dataset and charged events.

⬇️ What data you get
- Return links (reciprocity): if page A lists B as an alternate, B must list A. Missing return links make search engines ignore the pair.
- Self-reference: each page should list itself.
- x-default: flagged when missing (can be switched off).
- Language and region codes: ISO 639-1 language and ISO 3166-1 country codes, with a suggested fix:
en-UK->en-GB,en_US->en-US,us-en->en-US,jp->ja, and regions that hreflang does not support (EU,419). - Duplicate codes pointing to different URLs, relative URLs, and hreflang placed in
<body>instead of<head>. - Alternates that redirect, return 4xx/5xx or cannot be fetched.
- Canonical conflicts: hreflang on a page whose canonical points elsewhere, alternates that are not canonical, more than one canonical.
- noindex pages inside a hreflang cluster.
<html lang>that does not match the page's own hreflang code.- Sitemap vs page: hreflang in sitemap
xhtml:linkentries compared with the tags on the page. - Hreflang and canonical sent in the HTTP Link header (used for PDFs and other files) are read too.
🎯 Use cases
- Audit hreflang return links across all language versions
- Find canonical conflicts and noindex alternates
- Export a reciprocity CSV for developers
▶️ How to use
- Open the actor; the input is prefilled with a small real example.
- Replace it with your own input and set
maxUrlsto control the cost. - Press Start. Results appear in the Output tab (Overview view).
- Download JSON, CSV or Excel, call the results via API, or schedule the actor.
⚙️ Input
| Field | Default | Meaning |
|---|---|---|
urls | Pages to check (one page per language cluster is enough) | |
sitemapUrls | Sitemaps or sitemap indexes (.xml or .xml.gz); every page in them is checked | |
checkAlternates | true | Fetch every alternate to check return links, status, canonical and noindex |
requireXDefault | true | Flag pages without x-default |
compareSitemap | true | Compare sitemap hreflang with the page |
maxUrls | 2000 | Most pages checked per run, alternates included |
Example input
{"urls": ["https://www.apple.com/uk/"],"maxUrls": 6}
⬆️ Output
One row per page: url, state (ok, issues, no hreflang, not checkable), status, selfCode, hreflangCount, alternates (code, URL, source: head, body or http header), canonical, htmlLang, noindex, issues, ok.
Key-value store: RECIPROCITY (CSV: page, hreflang, alternate, alternate status, return link yes/no, return code), ISSUES (only pages with problems), SUMMARY and ERRORS.
Example output (one record, alternates shortened)
Real record from a test run on the input above.
{"url": "https://www.apple.com/uk/","state": "issues","status": 200,"hreflangCount": 137,"selfCode": "en-gb","alternates": [{"hreflang": "en-US","url": "https://www.apple.com/","source": "head"},{"hreflang": "ar-AE","url": "https://www.apple.com/ae-ar/","source": "head"},{"hreflang": "en-AE","url": "https://www.apple.com/ae/","source": "head"},{"...": "134 more"}],"canonical": "https://www.apple.com/uk/","htmlLang": "en-GB","noindex": false,"issues": ["no x-default"],"ok": false,"checkedAt": "2026-10-22T15:04:28.753765+00:00"}
💵 Pricing and cost estimate
| Event | Price |
|---|---|
| Page checked (hreflang and canonical validated) | $0.0005 |
Every alternate that is fetched counts as a checked page. Pages skipped by robots.txt are free and there is no start fee. Set a maximum cost per run and the actor stops before going over it.
Cost estimate
| Page checkeds | Cost |
|---|---|
| 100 | $0.050 |
| 1,000 | $0.50 |
| 10,000 | $5.00 |
You pay only for these events: no subscription.
🔌 Integrations and API
Run it from n8n, Make, Zapier, Clay or any tool that can call an HTTP endpoint, connect a webhook to get notified when a run finishes, or let AI agents call it through the Apify MCP server (mcp.apify.com).
Run it and get the results in one call:
curl -X POST "https://api.apify.com/v2/acts/digivibetech~hreflang-canonical-validator/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"urls": ["https://www.apple.com/uk/"], "maxUrls": 20}'
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("digivibetech/hreflang-canonical-validator").call(run_input={"urls": ["https://www.apple.com/uk/"], "maxUrls": 20})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
⚠️ Limits
- robots.txt is respected for every page and sitemap; at most about one request per second per site.
- Only link tags, canonical tags,
<html lang>, robots meta and HTTP status are read. No page text is stored. - URLs are compared exactly (after lower-casing the host and removing
#fragments), the same way search engines match hreflang targets:/pageand/page/are different URLs.
🛡️ Data source, privacy and legality
Reads the public pages and sitemaps of sites you enter; respects robots.txt.
You are responsible for using the results in line with the source's terms and data-protection law (for example GDPR).
❓ FAQ
How much does Hreflang & Canonical Validator cost?
$0.0005 per page checked. See the cost estimate table above. There is no monthly fee.
Can I try it for free?
Yes. Press Start with the prefilled input: it runs a small real job (up to 20 × page checked, about $0.010 in events). Apify's free plan includes monthly platform credit, which covers a first test.
Is it legal to use Hreflang & Canonical Validator?
Reads the public pages and sitemaps of sites you enter; respects robots.txt. Use the results lawfully (terms of the source, GDPR where it applies). This is not legal advice.
Can I use it through the API or an MCP server?
Yes. Every run is available through the Apify API and the official client libraries, and AI agents can call the actor through the Apify MCP server. See Integrations and API above.
Something does not work. Where do I get help?
Open an issue on the Issues tab or use digivibetech.com/support. Include the run ID so we can reproduce it.
📝 Changelog
20 Nov 2026 — listing refresh
- README, listing text and input form restructured to the DigiVibeTech Apify quality standard v1. No feature or price change.
1.0 — builds 1.0.1 to 1.0.2
- First build 2026-10-26, latest build 2026-10-26 (2 successful builds).
🧩 More DigiVibeTech actors
- Website SEO & AI Search Audit (GEO/AEO)
- Broken Link & Image Checker - Sitemap or Crawl
- Bulk WHOIS & DNS Lookup - Domain Expiry, RDAP, SPF, DMARC
- Redirect Chain & Migration Map Checker
Maintained by DigiVibeTech. Questions or bugs: use the Issues tab or digivibetech.com/support; we reply within 2–5 business days.