Embed

Free IP + network widget for your site

Drop a live "your IP and location" card into any web page with a single script tag. Pulls from our free API. No signup. No API key. Light or dark theme.

1 · Copy this snippet

<div id="myipspeed"></div>
<script async src="https://myipspeed.com/widget.js"></script>

Light theme variant

<div id="myipspeed" data-theme="light"></div>
<script async src="https://myipspeed.com/widget.js"></script>

Live preview · dark

Configuration

Customize via data-* attributes on the container div.

AttributeValuesDefaultWhat it does
data-themedark / lightdarkColor scheme
data-show-geo1 / 01Show location + network rows
data-show-speed1 / 01Show "Run speed test" call-to-action

iframe alternative

For sites that don't allow third-party scripts (sandboxed CMS, strict CSP), you can embed via iframe instead. Slightly heavier than the JS widget but fully isolated.

<iframe src="https://myipspeed.com/embed-frame" 
        width="420" height="260" frameborder="0" 
        sandbox="allow-scripts allow-same-origin allow-popups"
        loading="lazy" title="Your IP and network info"></iframe>

Licensing

The widget is free for any use — personal, commercial, or otherwise — as long as the "via myipspeed.com" attribution link remains visible. No tracking pixels, no analytics, no cookies set on your visitors. The widget makes one network request to myipspeed.com/api/lookup per page load.

For high-traffic deployments (1M+ requests/month) please email us — we may need to discuss rate-limit allowances.