Is there any way to get the user location using REST API ? I have investigated the same in Marketo doc but couldn't find a solution.
Yes.. country, city etc. We need to know the visitors location. We have to display list of items in our website based on the location (country, city) where the visitors came.
You cannot use the REST API for this for a multitude of reasons:  the API is not designed to be used via the browser (including via proxy) or you have created a gaping Denial of Service hole;  the data isn't available when the Munchkin session is created.
Use a service designed for this, like MaxMind.