userstack offers a real-time, easy-to-use REST API interface capable of parsing User-Agent strings to detect device, browser and operating system information. Implementing the JSON/XML API in your frontend or backend system will give you all the tools you need