User Agent Parser API

POST

Detect the browser, OS, and device behind every incoming request.

User Agent Parser extracts browser, operating system, and hardware details from user agent strings. It identifies device types, CPU architecture, and bot traffic on every incoming HTTP request.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/useragentparser
Body
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "ua": "Mozilla/5.0 (Windows NT 6.4) AppleWebKit/537.36.0 (KHTML, like Gecko) Chrome/60.0.0.0 Safari/537.36.0",
    "browser": {
      "name": "Chrome",
      "version": "60.0.0.0",
      "major": "60"
    },
    "engine": {
      "name": "Blink",
      "version": "60.0.0.0"
    },
    "os": {
      "name": "Windows",
      "version": "10"
    },
    "device": {},
    "cpu": {},
    "isMobile": false,
    "isBot": false,
    "deviceType": "desktop",
    "summary": "Chrome 60 on Windows 10"
  }
}

About the User Agent Parser API

User Agent Parser works by analyzing the user agent string provided and extracting information about the browser, operating system, and device. It uses advanced algorithms to parse the user agent string and return the information in a structured format.

What people use it for

Adaptive Asset Delivery
Web servers inspect the device type and mobile flag to serve lightweight media assets and alternate layouts to smartphones and tablets.
Crawler Traffic Segregation
When incoming requests arrive, API gateways read the bot flag to filter out search engine spiders and scrapers from application metrics.
Compatibility Banner Triggers
Flag outdated client environments before pages fail by evaluating the reported browser version against required feature sets.
Platform Installer Matching
To route downloads accurately, software distribution sites match the visitor's operating system and CPU architecture directly to the right installer package.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use User Agent Parser

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the User Agent Parser API.

Read the docs
Is it cheap enough to parse user agents on every incoming request?
Yes. Each parse costs 2 credits, allowing 100,000 user agent lookups each month on the Starter plan. That works out to about $0.30 per 1,000 calls, or $0.0003 per request. The Free plan includes 100 calls per month for testing.
Are rendering engine details and the summary string included on the Free plan?
No. Rendering engine name and version, the browser major version number, and the human-readable summary are premium fields. Free plan requests omit these attributes. Any paid plan, starting with Starter, unlocks all premium fields.
Can it detect automated bots and search engine crawlers?
Yes. The response includes a dedicated isBot flag alongside standard browser detection. When an automated crawler or bot agent is parsed, this field flags the traffic so your application can treat bot requests separately from regular human visitors.
What hardware and device information does the parser return?
It extracts device type, vendor, and model data from the user agent string. It also returns an isMobile boolean flag to distinguish mobile devices from desktop computers, along with CPU architecture details when present in the string.
Does it return exact version numbers for browsers and operating systems?
Yes. User Agent Parser returns the full version string and name for both the browser and the operating system. Full release versions such as Chrome 60.0.0.0 or specific OS versions like Windows and macOS are parsed into distinct fields.

Ready to build with User Agent Parser? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs