Fetch idvisitor, geo_location data and reffering site by idSite

I’m interesting is it possible to fetch id visitor’s location and referring site by id Site with help of API.

Now I’m only able to fetch xml from UserCountry.getCity which contains only location details (such as lon, lat, city, country and etc)/ It will be perfect to expand it somehow with ‘idvisitor’ and ‘referer_url’ value.

Or any SQL solutions to fetch this data.

Yes possible, use the Live API: Real Time Analytics - Analytics Platform - Matomo