Status: Live
The Userstack API is a real-time, RESTful service designed to parse User-Agent strings and accurately detect device, browser and operating system information. By integrating this API into your frontend or backend systems, you can enhance user experience, tailor content and gain deeper insights into your audience's technology profiles.
Overview
The Userstack API provides a real-time REST interface that parses User-Agent strings and returns precise information about your users' devices, browsers and operating systems. Whether integrated into your frontend or backend, the API helps you optimize user experiences and better understand the customer journey across your website or application.
This documentation details the full API specification, including authentication, endpoints and available features. At the end, you'll find sample implementation code in multiple programming languages.
If you have any technical questions or require further assistance, please reach out to our support team.
Key Features
- Real-Time Detection: Instantly parse User-Agent strings to identify devices, browsers and operating systems.
- Flexible Response Formats: Receive data in JSON or XML format, with optional fields to customize the response.
- Single & Bulk Lookups: Perform individual lookups or process up to 100 User-Agent strings in a single request (available on the Professional plan and higher).
- Crawler Detection: Identify and filter out bot traffic to keep your analytics accurate.
- HTTPS Encryption: Secure API communication over HTTPS.
- Cross-Platform Support: Easily use the API in any programming language, including PHP, Python, Node.js, Go, Ruby and jQuery.