IPStack
http://api.ipstack.com/12.75.11.54?access_key=xxxxxxxxxx&format=1
{
"ip":"12.75.11.54",
"type":"ipv4",
"continent_code":"NA",
"continent_name":"North America",
"country_code":"US",
"country_name":"United States",
"region_code":"CA",
"region_name":"California",
"city":"San Diego",
"zip":"92030",
"latitude":30.86677932739258,
"longitude":-110.24823760986328,
"location":{
"geoname_id":5391511,
"capital":"Washington D.C.",
"languages":[
{
"code":"en",
"name":"English",
"native":"English"
}
],
"country_flag":"http:\/\/assets.ipstack.com\/flags\/us.svg",
"country_flag_emoji":"\ud83c\uddfa\ud83c\uddf8",
"country_flag_emoji_unicode":"U+1F1FA U+1F1F8",
"calling_code":"1",
"is_eu":false
}
}
IPAPI.co
https://ipapi.co/12.75.11.54/json/
{
"ip": "12.75.11.54",
"version": "IPv4",
"city": "San Jose",
"region": "California",
"region_code": "CA",
"country": "US",
"country_name": "United States",
"country_code": "US",
"country_code_iso3": "USA",
"country_capital": "Washington",
"country_tld": ".us",
"continent_code": "NA",
"in_eu": false,
"postal": "Sign up to access",
"latitude": "Sign up to access",
"longitude": "Sign up to access",
"timezone": "America/Los_Angeles",
"utc_offset": "-0700",
"country_calling_code": "+1",
"currency": "USD",
"currency_name": "Dollar",
"languages": "en-US,es-US,haw,fr",
"country_area": 9629091.0,
"country_population": 327167434.0,
"message": "Please message us at ipapi.co/trial for full access",
"asn": "AS8075",
"org": "MICROSOFT-CORP-MSN-AS-BLOCK"
}
Sources:
https://www.learmoreseekmore.com/2020/12/users-ip-geolocation-blazorwebasm.html
Comments