Home / APIs / User-Agent Parser

User-Agent Parser API

Parse any User-Agent into browser, engine, OS, device, and bot detection — single or batch.

Get it on RapidAPI ↗

User-Agent Parser turns any User-Agent string into structured data — browser name and version, rendering engine, operating system, device type/vendor/model, CPU architecture, and a bot/crawler flag — powered by the battle-tested ua-parser-js. Omit the ua parameter and it parses the caller's own User-Agent header.

Parse one at a time or up to 100 in a single batch call. Stateless and instant, with nothing logged. Ideal for analytics, device-aware rendering, bot filtering, and access logs.

Endpoints

MethodPathDescription
GET/parseparse a UA
POST/parse-batchup to 100
GET/is-botbot check

Quick start

cURL (via RapidAPI)
curl --request curl \
  --url 'https://user-agent-parser14.p.rapidapi.com/-G "https://user-agent-parser14.p.rapidapi.com/parse" -d "ua=Mozilla/5.0%20(Windows%20NT%2010.0)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/92.0.4515.159%20Safari/537.36" -H "X-RapidAPI-Key: YOUR_KEY" -H "X-RapidAPI-Host: user-agent-parser14.p.rapidapi.com"' \
  --header 'X-RapidAPI-Key: YOUR_KEY' \
  --header 'X-RapidAPI-Host: user-agent-parser14.p.rapidapi.com' \
  --header 'content-type: application/json' \
  --data '{}'
JavaScript (fetch)
const res = await fetch('https://user-agent-parser14.p.rapidapi.com/-G "https://user-agent-parser14.p.rapidapi.com/parse" -d "ua=Mozilla/5.0%20(Windows%20NT%2010.0)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/92.0.4515.159%20Safari/537.36" -H "X-RapidAPI-Key: YOUR_KEY" -H "X-RapidAPI-Host: user-agent-parser14.p.rapidapi.com"', {
  method: 'curl',
  headers: {
    'X-RapidAPI-Key': 'YOUR_KEY',
    'X-RapidAPI-Host': 'user-agent-parser14.p.rapidapi.com',
    'content-type': 'application/json'
  },
  body: JSON.stringify({})
});
const data = await res.json();
Example response
{
  "ua": "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36",
  "browser": {
    "name": "Chrome",
    "version": "92.0.4515.159",
    "major": "92"
  },
  "engine": {
    "name": "Blink",
    "version": "92.0.4515.159"
  },
  "os": {
    "name": "Windows",
    "version": "10"
  },
  "device": {
    "type": null,
    "vendor": null,
    "model": null
  },
  "cpu": {
    "architecture": null
  },
  "isBot": false
}

Pricing

Subscribe on RapidAPI. Start free; upgrade as you scale.

Basic
Free
1,000 requests / mo
Pro
$5 / mo
100,000 requests / mo
Ultra
$20 / mo
1,000,000 requests / mo
Mega
$50 / mo
2,000,000 requests / mo

Frequently asked questions

Does it detect bots accurately?

Uses an up‑to‑date signature database for bot detection.

Is there a request size limit?

Single UA strings up to 2 KB; batch up to 100 entries.

Data retention?

No data is stored after processing.

Ready to build with User-Agent Parser?

Grab your key on RapidAPI and start on the free tier.

Get it on RapidAPI ↗