How to fetch Geo location details other than Country code.?

Currenty we are fetching country code using following header.the same way how to fetch region, city details.?
cf-ipcountry

The Google Geolocation API call is pretty sweet. Only downside is the call needs to be done on the front-end via js. I tend to use that and fall back to the IP geocoding on the backend should it fail.

You can also use the native HTML5 browser locate feature which is very accurate but will prompt the user with that annoying ‘we want to know your position’ popup.

Apart from what @saul said (you could maybe to the API call from a Worker) those details are added to each request when you use a Business plan. They are in the cf object of the request. The documentation shows them.

Thanks, will check.