Hreflang Tag Checker API | SEO Validator avatar

Hreflang Tag Checker API | SEO Validator

Pricing

from $1.00 / 1,000 dataset items

Go to Apify Store
Hreflang Tag Checker API | SEO Validator

Hreflang Tag Checker API | SEO Validator

Bulk validate website hreflang tags for international SEO. Audit multi-language sites for missing x-default tags, bidirectional errors, and ISO code compliance.

Pricing

from $1.00 / 1,000 dataset items

Rating

0.0

(0)

Developer

Andok

Andok

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Hreflang Tag Checker

Validate hreflang tag implementation across your website for international SEO compliance.

Features

  • Detects hreflang tags in HTML <link> elements and HTTP Link headers
  • Validates language/region codes against ISO 639-1 and ISO 3166-1
  • Checks for required x-default tag
  • Verifies self-referencing hreflang entries
  • Detects duplicate and conflicting entries
  • Grades each page (A/B/C/F) based on compliance
  • Batch processing for multiple URLs

Input

ParameterTypeDescription
urlsstring[]URLs to check
checkBidirectionalbooleanVerify bidirectional links (default: true)
timeoutintegerRequest timeout in ms (default: 15000)

Output

Each URL produces a dataset item with:

  • url — The checked URL
  • hreflangCount — Number of hreflang tags found
  • hasXDefault — Whether x-default is present
  • hasSelfReference — Whether self-referencing tag exists
  • tags — Array of all hreflang tags found
  • issues — List of errors and warnings
  • grade — A/B/C/F compliance grade

Use Cases

  • International SEO audits
  • Multi-language website validation
  • Migration testing for multilingual sites
  • Ongoing monitoring of hreflang implementation