Embed
Drop a WHOIS lookup on any page.
A small, theme-friendly iframe that lets your readers check any domain inline. Free to use, just keep the "Powered by" link.
Basic embed
Drop this anywhere on your page. Users type a domain, results render inline.
<iframe
src="https://whois.mokohost.com/embed/widget"
width="100%"
height="220"
loading="lazy"
title="MokoHost WHOIS lookup"
style="border:0;border-radius:12px;"
></iframe>Pre-fill a domain
Show a specific domain when the widget loads. Useful for product pages or news posts.
<iframe
src="https://whois.mokohost.com/embed/widget?domain=example.com&theme=light"
width="100%"
height="320"
loading="lazy"
title="MokoHost WHOIS lookup"
style="border:0;border-radius:12px;"
></iframe>Auto-resize (recommended)
The widget posts its height to the parent; this listener keeps the iframe sized to the content with no scrollbars.
<iframe
id="mokohost-whois"
src="https://whois.mokohost.com/embed/widget"
width="100%"
height="220"
loading="lazy"
title="MokoHost WHOIS lookup"
style="border:0;border-radius:12px;"
></iframe>
<script>
window.addEventListener("message", function (e) {
if (e.data && e.data.type === "mokohost-whois:resize") {
var f = document.getElementById("mokohost-whois");
if (f) f.style.height = e.data.height + "px";
}
});
</script>Live preview
What your readers will see
Enter a domain to see registrar, created date, expiry and availability.
URL params?domain=example.com pre-fills a lookup.?theme=light or ?theme=dark forces a theme.
No tracking pixels
The widget makes one call to our own WHOIS API. No third-party scripts are injected into your page.
Attribution
Please leave the "Powered by MokoHost WHOIS" link in place — it's how this stays free.