Get your IP info.
This is run on a cloudflare worker
and just returns the parsed values from request.CF
{
"ip": "172.107.20.86",
"geo": {
"latitude": "38.92580",
"longitude": "-77.39390"
},
"asn": 40676,
"country": "US",
"city": "Ashburn",
"continent": "NA",
"postalCode": "20171",
"metroCode": "511",
"region": "Virginia",
"regionCode": "VA",
"timezone": "America/New_York"
}