How it works
You can make request using this https://api.userparser.com/1.1/detect?ua=YOUR_USER_AGENT&ip=YOUR_IP_ADDRESS&api_key=YOUR_API_KEY format.
The response
{ "info": { "status": "success", "message": "The user agent was parsed and IP lookup was complete successfully.", "ua": "Mozilla/5.0 (Linux; Android 11; SM-A505F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.101 Mobile Safari/537.36", , "ip": "80.207.161.200" }, "browser": { "name": "Chrome", "version": "98", "fullVersion": "98.0.4758.101", "engine": "Blink" }, "operatingSystem": { "name": "Android", "version": "11" }, "device": { "name": "Samsung Galaxy A50", "type": "Smartphone", "brand": "Samsung", "screenResolutionWidth": "1080px", "screenResolutionHeight": "2340px", "viewportWidth": "412px", "viewportHeight": "756px", "language": null, "isTouchScreen": true, "isMobile": true }, "crawler": { "isCrawler": false, "name": null, "owner": null, "category": null, "url": null, "lastSeen": null }, "location": { "countryName": "Italy", "countryCode2": "IT", "countryCode3": "ITA", "capitalCity": "Rome", "continentName": "Europe", "continentCode": "EU", "callingCode": "+39", "currencyCode": "EUR" } }