Welcome to the GeoIP API documentation! This API is free to use and is part of the services offered by ProxySpace.pro.
The API has three endpoints, one for IP addresses and one for domains:
/ip/<string:ip>
: Returns information about the specified IP address/domain/<string:domain>
: Returns information about the IP address associated with the specified domain/uptime
: Returns the uptime of the API server in years, weeks, days, hours, and secondsThe API returns a JSON object with the following fields:
ip
: The IP address being queriedasn_number
: The Autonomous System Number associated with the IP addressasn_organization
: The name of the organization that owns the ASNcountry
: The name of the country associated with the IP addresscountry_code
: The ISO code of the country associated with the IP addresslatitude
: The latitude of the location associated with the IP addresslongitude
: The longitude of the location associated with the IP addresstime_zone
: The time zone of the location associated with the IP addressHere is an example of how to use the API to get information about the IP address 8.8.8.8
:
curl https://geo.proxyspace.pro/ip/8.8.8.8
And here is an example of how to use the API to get information about the domain google.com
:
curl https://geo.proxyspace.pro/domain/google.com
You can also get information about your current IP address using
curl https://geo.proxyspace.pro/ip
© 2023 - ProxySpace.pro