TLS is cool! Try it: https://ip.anysrc.net
IPv4 Address
checking...
checking...
IPv6 Address
checking...
checking...
Local Addresses
Browser
checking...
Provided by
checking... (checking...)

A simple "What is my IP?" API.
This API provides the current IP address, hostname and useragent of the visitor.

Choose a protocol version

IPv4
https://ip4.anysrc.net
IPv4
https://ip6.anysrc.net
Auto detection
https://ip.anysrc.net

Fair use

This API is free for everyone. Please use in your application cache mechanisms to prevent an overload of the server. If you are using this service, a short mail to the host of this service would be much appreciated.

ASCII Banner

$ curl "https://ip.anysrc.net/banner"


                        

JSON

$ curl "https://ip.anysrc.net/json"


                        

Plain text

Get a single value. See separated output for all available keys.

$ curl "https://ip.anysrc.net/plain/clientip"
$ curl "https://ip.anysrc.net/plain/help"


                        

Separated

$ curl "https://ip.anysrc.net/separated"


                        

XML

$ curl "https://ip.anysrc.net/xml"


                        

HEAD

$ curl -X HEAD -I "https://ip.anysrc.net/head"
$ curl -X HEAD -I "https://ip.anysrc.net/head/clientip"
$ curl -X HEAD -I "https://ip.anysrc.net/head/help"


                        

Disclaimer

THE PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW THE AUTHOR WILL BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.