Developer & Reference
User Agent Parser API
Break a User-Agent string down into browser, OS, and device details.
Request Headers
| Name | Required | Description |
|---|---|---|
X-RapidAPI-Key | required | Your RapidAPI key. Get one free. |
X-RapidAPI-Host | required | user-agent.p.rapidapi.com |
Endpoints
GET
/v1/useragent Parse a User-Agent string into browser, OS, and device details
Parameters
| Name | Type | Required | Default | Constraints |
|---|---|---|---|---|
ua | string | required | — | <= 2048 chars; matches \S |
Code Examples
curl --request GET \
--url 'https://user-agent.p.rapidapi.com/v1/useragent?ua=example' \
--header 'x-rapidapi-key: YOUR_API_KEY' \
--header 'x-rapidapi-host: user-agent.p.rapidapi.com' const url = "https://user-agent.p.rapidapi.com/v1/useragent?ua=example";
const options = {
method: "GET",
headers: {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "user-agent.p.rapidapi.com"
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data); import requests
url = "https://user-agent.p.rapidapi.com/v1/useragent"
querystring = {"ua": "example"}
headers = {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "user-agent.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json()) Interactive Example
$ GET /v1/useragent?ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/120.0.0.0
{"browser":{"family":"Chrome","major":"120","minor":"0"},"os":{"family":"Windows","major":"10"},"device":{"family":"Other"}} Subscribe & License
Access this API with commercial-ready tiers on RapidAPI. Flexible plans designed for side-projects, startups, and high-volume production architectures.
Developer Support
Need help integrating or have a custom endpoint request? Our engineering team is here to assist with authentication, payload schemas, and high-frequency rate limit increases.
System Performance
Monitored 24/7 with a 99.9% uptime SLA. Built atop cloud-native microservices with globally distributed edge caching to ensure ultra-low latency response times.
All Systems Operational