The IP address lookup API (city-level) supports IPv4/IPv6, with city-level location precision and daily updates.Using this API requires an API Key from the team. Once you obtain a Key, you can call the interface (contact us).
{
"country": "",
"country_code": "",
"region": "",
"city": "",
"latitude": ,
"longitude": ,
"location": "",
"asn": ,
"organization": "",
"api_by": "二次元API https://www.ecylt.top"
}
{
"error": "IP parameter cannot be empty"
}
Getting started
IP address lookup (city-level)
Get city-level IP data
{
"country": "",
"country_code": "",
"region": "",
"city": "",
"latitude": ,
"longitude": ,
"location": "",
"asn": ,
"organization": "",
"api_by": "二次元API https://www.ecylt.top"
}
{
"error": "IP parameter cannot be empty"
}