host.tools

Hreflang validator

HTTP /api/v1/http/hreflang

Find every <link rel="alternate" hreflang="…"> on a page and validate it.

Result
Raw JSON
API / curl
47 ms · live
{
    "url": "https://hostinfo.com",
    "count": 0,
    "entries": [],
    "issues": [
        "Missing x-default \u2014 Google recommends one per cluster."
    ],
    "has_x_default": false
}
{
    "ok": true,
    "slug": "http/hreflang",
    "title": "Hreflang validator",
    "ms": 47,
    "data": {
        "url": "https://hostinfo.com",
        "count": 0,
        "entries": [],
        "issues": [
            "Missing x-default \u2014 Google recommends one per cluster."
        ],
        "has_x_default": false
    },
    "source": "live",
    "meta": []
}
JSON endpoint
/api/v1/http/hreflang?q=https%3A%2F%2Fhostinfo.com
curl
curl -s '/api/v1/http/hreflang?q=https%3A%2F%2Fhostinfo.com'
How to use Hreflang validator
  1. 1
    Paste your input

    Enter the value at the top — domain, IP, URL, email, ASN, hash, whatever fits this tool. The smart input auto-detects type.

  2. 2
    Click "Inspect"

    host.tools issues real probes (DNS, HTTP, TCP, TLS, WHOIS where applicable) and renders the result in milliseconds.

  3. 3
    Open the API tab

    Every web tool has a sibling /api/v1/http/hreflang JSON endpoint with the same payload. One copy-as-curl click and you're scripting it.

Why this matters

Headers are how the modern web declares its security posture. Auditing them is the highest-ROI thing you can do this week.

API equivalent
/api/v1/http/hreflang?q=https%3A%2F%2Fhostinfo.com
curl -s '/api/v1/http/hreflang?q=https%3A%2F%2Fhostinfo.com'
Embed this tool
<iframe src="/http/hreflang?q={INPUT}&embed=1"
  width="100%" height="600" frameborder="0"></iframe>

Drop into any HTML page. The embed=1 flag hides nav and footer.

FAQ · Hreflang validator

Common questions

Is Hreflang validator free?
Yes — every tool is free on the web with a 200/hour rate limit per IP. The matching API endpoint /api/v1/http/hreflang is free up to 100 requests/hour, no key required.
Where does the data come from?
Real-time probes against authoritative sources (DNS root, RIRs, registries, the target server itself), plus partner data feeds from hostinfo.com (GeoIP/ASN) and hostcheck.com (reputation).
How fresh are the results?
Live by default. Cached for 5 minutes to make repeat queries instant; pass ?nocache=1 for a forced refresh.
Can I run this from the command line?
Yes — every tool ships with a copy-as-curl. There's also an official CLI: host.tools http hreflang YOUR_INPUT.
Can I monitor results over time?
Pro tier lets you schedule any tool to run every 1/5/15/60 min and alert on diff. See monitors.
host.tools Pro

Run Hreflang validator on a schedule. Get pinged when it changes.

Pro gets you bulk lookups, monitors, webhook alerts, history, exports and 10,000 API calls/day. $19/mo.

  • Schedule any tool — every 1, 5, 15, 60 min
  • Diff against last run, alert on change
  • Webhook + email + Slack + PagerDuty + OpsGenie
  • Bulk CSV upload, 1,000 inputs per job
  • Export results as CSV / NDJSON / Excel
  • 90-day history, comparison view