Get location by email address
GET https://ip-geolocation.whoisxmlapi.com/api/v1?email=support@whoisxmlapi.com
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
email | string | Email address or domain name to search location by it's MX servers. | |
reverseIp | null | If 1, then 5 domains associated with the IP address will be shown. | |
outputFormat | null | Response output format. Acceptable values: JSON |
RESPONSES
status: OK
{"ip":"52.94.124.7","location":{"country":"US","region":"Virginia","city":"Ashburn","lat":39.04372,"lng":-77.48749,"postalCode":"20146","timezone":"-05:00","geonameId":4744870},"domains":["smtp-fw-7002.amazon.com"],"as":{"asn":16509,"name":"AMAZON-02","route":"52.94.124.0/22","domain":"http://www.amazon.com","type":"Enterprise"},"isp":"Amazon.com, Inc.","connectionType":""}