Response Format
The REST API returns the following fields and values.
code
String
Query result status code
message
String
If the request is successful, the content is success
data
JsonObject
The returned data field. If the request fails, please refer to the status code.
data Response
country
Country name.
country_code
Two-character country code based on ISO 3166.
region
Region or state name.
city
City name.
latitude
City latitude. Defaults to capital city latitude if city is unknown.
longitude
City longitude. Defaults to capital city longitude if city is unknown.
isp
Internet Service Provider or company's name.
time_zone
Current region's time zone.
area_code
A varying length number assigned to geographic areas for calls between cities.
postal
ZIP/Postal code.
weather_station_code
The special code to identify the nearest weather observation station.
elevation
Average height of city above sea level in meters (m).
currency
Currency of the country.
eu_member
Whether it belongs to the European Union.
country_capital
The name of the current country's capital.
radius
The current query positioning radius.
is_proxy
Whether it is a proxy IP.
risk_label
Possible risky behavior labels.
risk_score
The security score of the IP address, the higher the score, the more dangerous it is.
risk_level
The risk level is defined based on the risk score.
ip_usage_type
IP address usage types, including: Data center(IDC) Home broadband (ISP) Commercial(GTW) Government(GOV) Education(EDU) Content distribution(CDN) Mobile network(MOB) Reserved(BOGON)
asn
Autonomous system number (ASN).
asn_domain
The domain name associated with the Autonomous System Number (ASN).
asn_organization
Autonomous System Number (ASN) Owner.
asn_type
Autonomous System Number (ASN) usage types: Home broadband (ISP) Hosting(IDC) Education(EDU) Government(GOV) Commercial(GTW)
asn_country
Autonomous System Number (ASN) Country.
carrier_mcc
Mobile Country Codes (MCC) as defined in ITU E.212 for use in identifying mobile stations in wireless telephone networks, particularly GSM and UMTS networks.
carrier_mnc
Mobile Network Code (MNC) is used in combination with a Mobile Country Code (MCC) to uniquely identify a mobile phone operator or carrier.
carrier_name
The name of the mobile operator.
domains_total
The number of domain names associated with the IP.
domains_name
The domain name associated with the IP.
Last updated