Search the user agent database via the API

Web-based user agent database search frontend

The WhatIsMyBrowser.com API provides a Database search end point, allowing you to search our database for user agents without having to download and import hundreds of millions of records each week.

If you want to automate it, your servers can send requests depending on your requirements whenever you need them, but you can also search the database yourself, using this helpful search form. It also shows you what search options are available to help you integrate your systems with ours.

To get started, sign up and get an API key so that you can send search requests.

Database Search

Search terms

eg. Snow Leopard, Vista, 8.2

Software Type

For the Software Type General & Specific fields, you probably only want to use one of these fields: either search for a very "general" type (eg "bot"), OR use the "specific" field to search for a very particular type of bot (eg "crawler").

Hardware Type

For the Hardware Type General & Specific fields, you probably only want to use one of these fields: either search for a very "general" type (eg "mobile"), OR use the "specific" field to search for a very particular type of mobile (eg "phone").

Controls

Note: using this field can slow queries down. Please be patient.
Note: using this field can slow queries down. Please be patient.
Result format

Search Results

Here's what your search returned:

Code:
Message Code:
Message:
Select all results

One of the main ideas of this Search Frontend is to help you integrate your backend systems with the search API. You can use this interface to easily and quickly experiment with sending search requests, and once you've got it all figured out, you have the option of building it directly into your own system.

Read the Documentation for the User Agent Search API for detailed information about this end point.

Search URL

Based on what you selected, this is the search URL.

You can use this in your own systems if you automate your searches.

Sample curl Command

Here's a sample curl command that will demonstrate this query in action:


About the search results

The live database we provide for searching no longer contains every single user agent we've ever collected. This is because by the end of 2023 the database was close to being half a billion records and this was proving too large, and 99.9% of the records were never used in search results anyway.

The database is now limited in size, and only "newer" user agents are provided in it. We still provide the entire database of user agents we've ever collected, but to use it you will have to download the data files and import them into your own system, as you require.

About this search interface

Result format

The Result format field doesn't change anything about the request that gets sent to the API; the API will always respond with JSON with the structure described by the Integration Guide. The result format controls how the Javascript code in this page that makes this request shows you the response. You can choose to see the raw JSON response, but you can also view the results in an easy to read Table, get the results in CSV format or even just get a plain list of the user agents returned by the search (in that case, you don't get extra "meta data" or "parse" data (how many times each user agent has been seen, the software name or operating system etc). You simply get the user agents.

Source code

Be sure to View Source on this page to see the JavaScript which makes the request for you; feel free to copy it and use it in your own systems.

Would you prefer to import the database in to your own system?

The Search API is a great way to quickly and easily search our database, but sometimes you need a bit more power. You can get easy access to entire database dumps in MySQL, CSV, Plain Text and Parquet formats. Once it's in your system you can run very powerful SQL queries to get precisely what you need.