User-Agent Parser — Browser, OS & Device Detection
收藏数据链接:
官方服务:
资源简介:
Parse any User-Agent string into structured browser, engine, OS, device, and CPU data — with bot/crawler detection built in. No regex library to maintain.
创建时间:
2026-08-04
原始信息汇总
User-Agent Parser — Browser, OS & Device Detection 数据集详情
基本信息
- API 名称:User-Agent Parser — Browser, OS & Device Detection
- 提供商:ForCom
- 类别:Devices
- 订阅用户数:1
- 定价:免费
- 当前版本:v1
核心功能
该 API 用于将任意 User-Agent 字符串解析为结构化的浏览器、引擎、操作系统、设备和 CPU 架构信息,并内置爬虫/机器人检测功能。主要功能包括:
- 浏览器(Browser):名称、完整版本号、主版本号
- 引擎(Engine):Blink / WebKit / Gecko 及版本号
- 操作系统(OS):名称和版本号
- 设备(Device):厂商、型号、类型(手机 / 平板 / 桌面)
- CPU:架构信息
- 机器人检测(Bot Detection):返回
isBot标志及已知爬虫的名称 - 零参数模式:省略
ua参数时,API 将解析请求自身的 User-Agent 头
接口信息
唯一端点:GET /useragent/parse
请求参数:
| 参数 | 位置 | 必填 | 描述 |
|---|---|---|---|
| ua | query | 否 | User-Agent 字符串(最大长度 1000 字符),省略时解析调用方自身的 User-Agent 头 |
响应示例:
json { "success": true, "data": { "browser": { "name": "Chrome", "version": "120.0.0.0", "major": "120" }, "engine": { "name": "Blink", "version": "120.0.0.0" }, "os": { "name": "Windows", "version": "10" }, "device": { "vendor": null, "model": null, "type": null }, "cpu": { "architecture": "amd64" }, "isBot": false, "botName": null } }
使用场景
- 分析仪表盘(Analytics dashboards)
- 设备自适应渲染(Device-adaptive rendering)
- 日志与速率限制中的爬虫过滤(Bot filtering for logs and rate limits)
- 支持工具(如识别客户使用的浏览器类型)



