User Agent Parse API

Sick of trying to decode user agents? Let us do the hard work for you.

Our API Parse response contains over 35 different fields describing various aspects of their web browser in varying levels of detail.

We've made it really easy for you to reliably get the information you need - whether it's a clear top-line description of their system, or a very particular version number - if we can detect it, it's in the parse response!

Here's some of the highlights:

A Readable description of their system

Get human readable descriptions of their web browser and their operating system or operating platform.

This is top-line information, perfect for describing a user's browsing set-up in a friendly way - it's the same format as the homepage of whatismybrowser.com.

"simple_software_string": "Chrome 58 on Android (Nougat)", "simple_sub_description_string": null, "simple_operating_platform_string": "Google Pixel",
"simple_software_string": "Internet Explorer 10 on Windows 7", "simple_sub_description_string": "Internet Explorer 7 Compatibility View", "simple_operating_platform_string": "Compaq Presario A7F",
"software": "Chrome 60", "software_name": "Chrome", "software_name_code": "chrome", "software_version": "60", "software_version_full": [ "60", "0", "3112", "90" ],

Detailed web browser information

We provide web browser information in various levels of detail - all ready for you to go. If you just want to display the browser name, you can. If you want the browser name and version number; it's there too.

Operating System information

For a lot of operating systems, we provide not just the Simple and Detailed version number, but also the branded name of it.

"operating_system": "Mac OS X (Mavericks)", "operating_system_name": "Mac OS X", "operating_system_version": "Mavericks", "operating_system_version_full": [ "10", "9", "5" ], "operating_system_name_code": "mac-os-x",
"hardware_type": "large-screen", "hardware_sub_type": "game-console", "hardware_sub_sub_type": null,
"hardware_type": "mobile", "hardware_sub_type": "phone", "hardware_sub_sub_type": null,
"hardware_type": "mobile", "hardware_sub_type": "wearable", "hardware_sub_sub_type": "glasses",

More hardware than a Home Depot

We detect tons of different hardware types, making it very easy for you to determine what kind of device they're using to access your website.

And it's hierarchical - so for example you can just look for "mobile" type devices, or you can drill down into what kind of sub-type of mobile device it is (phone/tablet/wearable) and so on..

Keep the bots at bay

Is that visitor really human or is it a crawler? Is it here to crawl your site or analyse it for problems? Is your user in their actual web browser or are they browsing using some kind of embedded browser in a mail client or game?

We detect many, many different software types, from browsers, billboards, in-app browsers, crawlers, analyers and so on, so that you know exactly what kind of agent is making the request to your site.

"software_type": "bot", "software_sub_type": "crawler",
"software_type": "browser", "software_sub_type": "in-app-browser",
"version_check": { "is_checkable": true, "is_up_to_date": false, "latest_version": [ "64", "0", "3282", "119" ], "update_url": "https://www.whatismybrowser.com/guides/how-to-update-your-browser/chrome", "download_url": "https://www.google.com/chrome/" }

Are they up to date?

Not only does the User Agent Parse result tell you which browser they're using, but it will also check if it's up to date!

If it's not, then it's very easy to what the latest version is and encourage them to update their browser.

Find out more about this feature: Check if your users are up to date

But wait, there's more...

We could go on and on about the other things that the user agent parser will detect; including platform model numbers, malicious user agents, HTML rendering engines, browser toolbars and capabilities, but it's probably just best to see it for yourself.

Want the details?

The best place to start is with our Integration Guide and the interactive API Specification

Get started

The parser is free to use and easy to set up, so why not get started right now.