User Agent Parser API

Introduction

When your customers use web browsers to access your website and other internet sources, their browser provides a User Agent string (UA) which is used to identify which browser is being used, what version, and on which operating system. This UA string can be utilised to monitor and identify access to your website by device type (understanding whether the majority of your traffic comes from mobile devices, for example) and can also tailor content to customer needs and capabilities, based on the web browser they are using.

The raw UA string can be tricky to interpret directly, since browsers often use different formats.  

This API solves the issue by providing an extremely quick and simple parser which can give you clearly readable and defined information based on a provided User Agent string.

Example Response

The response is only available in JSON format. The below response should be expected for the following request:



Awaiting request submission...

API Pricing

  1. Monthly Subscription
    FREE 10,000 queries/month
    Additional 10,000 queries US$1.00/month
  2. Annual Subscription
    FREE 10,000 queries/month
    Additional 10,000 queries US$0.80/month

Request Format

NEW! Payload compression is supported, simply add Accept-Encoding: gzip header.
Use the form below to try out this API.

Parameter Your Input Value Description
userAgentRaw User agent string
key Your API key

Don't have an API Key? Click here to register and get your free API Key

If you already have a BigDataCloud account, to automatically fill this field with your Api Key.



Response

Awaiting request submission...

Response Format

Field

Data type

Description

device

string

The Device parsed from the user agent string

os

string

The OS parsed from the user agent string

userAgent

string

The User Agent parsed from the user agent string

family

string

The family of the device, if available

versionMajor

string

Major version of the user agent, if available

versionMinor

string

Minor version of the user agent, if available

versionPatch

string

Patch version of the user agent, if available

isSpider

boolean

Returns true if the device is likely to be a spider or a bot device

userAgentDisplay

string

The user agent as a readbale string

userAgentRaw

string

The user agent string, the input for the UA parser

Related APIs