{"browser":{"name":"Chrome","version":"126.0.0.0","major":"126"},"engine":{"name":"Blink","version":"126.0.0.0"},"os":{"name":"Windows","version":"10"},"device":{"type":"desktop"},"cpu":{"architecture":"amd64"},"is_bot":false}
curl --location --request GET 'https://zylalabs.com/api/13151/user+agent+parser+and+bot+detector+api/26697/parse+user+agent+string' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 用户代理解析器和机器人检测器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
领先企业的信赖之选
The endpoint returns structured data that includes details about the browser, rendering engine, operating system, device type, processor architecture, and a boolean flag indicating whether the user agent is a bot.
响应中的关键字段包括“浏览器”(名称和版本) “引擎”(名称和版本) “操作系统”(名称和版本) “设备”(类型) “CPU”(架构)和“是否是机器人”(布尔标志)
The response data is organized in a JSON format, with each key representing a specific category (e.g., browser, os) and nested objects providing detailed attributes like name and version.
The endpoint provides information about the user's browser, rendering engine, operating system, device type, processor architecture, and whether the user agent is a bot, enabling comprehensive analytics.
用户可以通过将用户代理字符串作为查询参数、在头部或请求体中发送来自定义他们的请求,从而实现数据提交方式的灵活性
The "browser" field indicates the web browser used, "os" specifies the operating system, "device" denotes the type (e.g., mobile or desktop), "cpu" shows the processor architecture, and "is_bot" indicates if the user agent is a bot.
Typical use cases include enriching analytics dashboards, optimizing content for different devices, filtering out bot traffic from engagement metrics, and conducting abuse investigations.
Data accuracy is maintained through continuous updates and quality checks that ensure the parsing logic is aligned with the latest user agent formats and browser versions.