myip.rs

54.227.31.145

54.227.31.145 ec2-54-227-31-145.compute-1.amazonaws.com

Location

Ashburn, United States
Amazon.com, Inc.

User Agent

misc crawler, UNKNOWN

Operating System

UNKNOWN, UNKNOWN
  • API

    Every resource supports plain as well as JSON GET requests. JSON responses can be requested by setting the corresponding Accept header, i.e., Accept: application/json. myip.rs tries to identify whether a request is sent by CLI client and then only returns the plain response unless JSON is explicitly requested. In this way for example, a simple curl myip.rs/ retrieves your IP address. You can also add "/json" to any resource to force a JSON response regardless of the Accept header.

      • Plain
      • JSON
      • Plain
      • JSON
      • Plain
      • JSON
      • Plain
      • JSON
      • Plain
      • JSON
      • Plain
      • JSON
      • Plain
      • JSON
  • CLI Client Examples

    curl
    > curl myip.rs/
    
    wget
    > wget -qO - myip.rs/tcp
    
    httpie
    > http -b myip.rs/host
    
    curl for Json
    > curl -H "Accept: application/json" myip.rs/ip
    
    wget for Json
    > wget -qO- --header=Accept:application/json myip.rs/tcp
    
    httpie for Json
    > http -bj myip.rs/host
    
  • FAQ

    The IP address is wrong! WHT?
    Yes, that's possible. It turns out that determining the originating IP address of an HTTP request is not as easy as it might seem. For example, there might be transparent proxies, load balancers, and even NAT gateways on the path from your browser to myip.rs. Even though, myip.rs uses a heuristic to determine the originating IP address, information may be hidden or removed which might lead to wrong results. If you encounter such a scenario, open an issue on GitHub and let's try to enhance the heuristic together.
    Where is myip.rs hosted?
    The code runs on a free Heroku Autoscaling Dnyo that powers down when there are no service accesses for a period of time. This may lead to a large delay for the first request triggering a service restart.
    Does myip.rs support IPv6?
    Currently, no. Even though the code is agnostic regarding the IP version, Heroku currently does not support IPv6, so myip.rs is only available for IPv4. You can run your own instance of myip.rs at another, IPv6 supporting provider. Please see the project's Readme in the GitHub repository for details.
    Can I run my own instance of myip.rs?
    Yes please, you're welcome to. Just clone or fork the GitHub repository. If you find it useful for your purpose, I would highly appreciate you sending me a postcard from your hometown mentioning how you use myip.rs. Please see the project's Readme in the GitHub repository for details.
    Can you add <feature>, please?
    Yes, why not. Just contact me and let's discuss the details. Better, do it yourself and send me a pull request.
myip.rs is yet another "what's my IP address" service, currently running ifconfig-rs version 0.1.3. It is written in Rust (hence the .rs top-level domain) using the Rocket web framework and includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com. The UI is made with uikit. Feel free to use it as much as you like, to query it automatically, and to clone and to fork it. Please mind that rate limiting may be applied. If you like to get in touch, you can contact me on and .