Convert IP to location.
POST/convert/iptogeo
Convert IP to location.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
ipstringrequired
The IP address.
Example:
87.155.190.147Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
statusstringrequired
Whether the operation succeeded.
Possible values: [success]
Example:
successcountrystringrequired
The name of the country.
Example:
GermanycountryCodestringrequired
The country code.
Example:
Deregionstringrequired
The region code.
Example:
RPregionNamestringrequired
The name of the region.
Example:
Rheinland-Pfalzcitystringrequired
The city the IP address comes from.
Example:
Waldfischbach-Burgalbenzipstringrequired
The zip code the IP address comes from.
Example:
67714latnumberrequired
The latitude of the location.
Example:
49.2794lonnumberrequired
The longitude of the location.
Example:
7.6671timezonestringrequired
The timezone the IP address is in.
Example:
Europe/Berlinispstringrequired
The internet service provider.
Example:
Deutsche Telekom AGorgstringrequired
The organization.
Example:
Deutsche Telekom AGasstringrequired
The AS code.
Example:
AS3320 Deutsche Telekom AGquerystringrequired
The IP address that was queried.
Example:
87.155.190.147{
"status": "success",
"country": "Germany",
"countryCode": "De",
"region": "RP",
"regionName": "Rheinland-Pfalz",
"city": "Waldfischbach-Burgalben",
"zip": "67714",
"lat": 49.2794,
"lon": 7.6671,
"timezone": "Europe/Berlin",
"isp": "Deutsche Telekom AG",
"org": "Deutsche Telekom AG",
"as": "AS3320 Deutsche Telekom AG",
"query": "87.155.190.147"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}