REST API · User-Agent Parser
Know every
visitor's device
Parse User-Agent strings to detect browser name & version, OS, device type, brand, model, rendering engine, and bot identification.
bash
curl -X POST "https://snapapis.com/api/v1/device/detect" \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"user_agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 17_0...)"}'
Complete device intelligence
Everything you need from a User-Agent string
Browser Detection
Chrome, Firefox, Safari, Edge, Opera, Brave, Samsung Internet, UC Browser, and more.
OS Identification
Windows, macOS, iOS, Android, Linux, Chrome OS with version numbers.
Device Type
Classify as mobile, tablet, or desktop with brand and model when detectable.
Bot Detection
Identify Googlebot, Bingbot, crawlers, cURL, Python requests, and more.
Engine Info
Detect rendering engine: WebKit, Gecko, Trident, Presto, Blink.
Sub-ms Speed
Pure regex parsing — no external calls, sub-millisecond response times.
Understand your traffic
Adapt content, block bots, and optimize for the right devices.