The IP address lookup API now supports IPv4/IPv6, location precision has been lowered, and update frequency has been increased (daily updates).
GET
Base API endpoint
string
required
ip address(IPv4 / IPv6)
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
{
"ip": "8.8.8.8",
"asn": "AS15169",
"as_name": "Google LLC",
"as_domain": "google.com",
"country_code": "US",
"country": "United States",
"continent_code": "NA",
"continent": "North America",
"api_by": "二次元API https://www.ecylt.top"
}
{
"error": "IP parameter cannot be empty"
}
Get country-level IP data
{
"ip": "8.8.8.8",
"asn": "AS15169",
"as_name": "Google LLC",
"as_domain": "google.com",
"country_code": "US",
"country": "United States",
"continent_code": "NA",
"continent": "North America",
"api_by": "二次元API https://www.ecylt.top"
}
{
"error": "IP parameter cannot be empty"
}