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.147
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
statusstringrequired
Whether the operation succeeded.
Possible values: [success
]
Example:
success
countrystringrequired
The name of the country.
Example:
Germany
countryCodestringrequired
The country code.
Example:
De
regionstringrequired
The region code.
Example:
RP
regionNamestringrequired
The name of the region.
Example:
Rheinland-Pfalz
citystringrequired
The city the IP address comes from.
Example:
Waldfischbach-Burgalben
zipstringrequired
The zip code the IP address comes from.
Example:
67714
latnumberrequired
The latitude of the location.
Example:
49.2794
lonnumberrequired
The longitude of the location.
Example:
7.6671
timezonestringrequired
The timezone the IP address is in.
Example:
Europe/Berlin
ispstringrequired
The internet service provider.
Example:
Deutsche Telekom AG
orgstringrequired
The organization.
Example:
Deutsche Telekom AG
asstringrequired
The AS code.
Example:
AS3320 Deutsche Telekom AG
querystringrequired
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"
}