User Agent Parser API

Parse browser, OS, device type, and detect bots from any User-Agent string. Built for analytics and targeting.

<50ms
Response
Bot detect
30+ patterns
Auto-detect
From request

How It Works

Step 1
Send UA String
Pass a User-Agent string or auto-detect from request
Step 2
We Parse
Regex-based detection of browser, OS, device, bots
Step 3
Get Details
Receive structured data with all parsed information

Playground

3 free requests/day without API key

Click Parse to detect your browser info

API Documentation

Base URL
https://ua-parser-flame.vercel.app
Authentication
X-API-Key: your_key (header) or ?key=your_key (query)Get your free key below
GET/api/parse?ua=...

Parse a User-Agent string. If no ua parameter is provided, auto-detects from the request's User-Agent header.

Response

{
  "user_agent": "Mozilla/5.0 ...",
  "browser": { "name": "Chrome", "version": "125.0" },
  "os": { "name": "macOS", "version": "14.5" },
  "device": { "type": "desktop", "brand": "Apple" },
  "is_bot": false,
  "is_mobile": false
}

Error Responses

// 401 โ€” Unauthorized
{ "error": "Invalid API key" }

// 429 โ€” Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }

Get API Key

Get a free API key for 6 requests/day. No credit card required.

Usage

  • Add header: X-API-Key: your_key
  • Or query param: ?key=your_key

Limits

  • Playground (no key): 3 req/day
  • Free tier (with key): 6 req/day
  • Paid plans: see pricing below

Pricing

Start free. Pay only when you need more.

Free
$0
  • 6 requests/day
  • Full parsing
  • Bot detection
Starter
๐Ÿš€ Launch Price
$12$5/mo
  • 500 requests/day
  • Full parsing
  • Bot detection
Business
๐Ÿš€ Launch Price
$79$39/mo
  • 50,000 requests/day
  • Full parsing
  • Priority support