Embeddable widget

Show a visitor's IP address or the details of an AS number on your own website. One line of HTML, no account and no API key.

Visitor's IP address

Shows the address of the person looking at your page, with location and network.

<script async src="https://ip-fd.net/js/widget.js" data-type="ip"></script>

Preview

AS number

Shows the name, country, number of announced prefixes and the rating position of one AS. Replace the number with yours.

<script async src="https://ip-fd.net/js/widget.js" data-type="asn" data-asn="3333"></script>

Preview

Options and details

  • data-theme: light, dark or auto (follows the visitor's system, the default).
  • The widget draws in an isolated box, so your page styles do not change it and it does not change your page. It is 300 pixels wide at most.
  • It sets no cookies and stores nothing in the browser. It reads the public API of this site, and the visitor's address is only used to look that address up.
  • If this site cannot be reached, the widget shows a short notice and your page keeps working.
  • Operators of networks can also use the SVG badges for health, RPKI and rank.