UserAgent
User agent parsing API is designed to help you better understand and interact with your users. By identifying browser, device, and OS data from user agent strings, this API empowers you with accurate, real-time insights into your audience.
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 开发
- 数据来源
- marcelscruz
- 文档 / URL
- https://useragent.app
简介
UserAgent 是 开发 分类下的免费公共 API。该 API 收录于 开发 分类,具体能力以官方文档为准。
该 API 收录于 Development 分类,是免费 API 生态中开发者常用的领域。
该 API 可用于原型、个人项目和正式产品,使用时请遵守服务商的使用政策。
认证方式
UserAgent 使用 API 密钥 认证,调用前需要先获取密钥:
- 打开下方官方文档。
- 找到注册 / API 密钥相关入口并创建账号。
- 复制密钥,并按文档说明在每次请求中携带(请求头或查询参数)。
请将密钥保存在服务端,切勿提交到公开仓库。
HTTPS 与 CORS
- HTTPS:支持——与 UserAgent 的通信经过加密,可用于生产环境。
- CORS:未知——如需浏览器直接调用,请先在官方文档确认或发一个测试请求验证。
快速开始
- 查阅官方文档:https://useragent.app
- 获取 API 密钥(见上方「认证方式」)。
- 用
curl或你常用的 HTTP 客户端按文档发送测试请求。
速率限制与注意事项
- 速率限制、配额与免费额度由服务商定义——扩展前请查阅 UserAgent 官方文档。
- 上游列表由社区维护;认证方式、HTTPS 与 CORS 字段为收录时的状态,可能发生变化。
常见问题
如何获取 UserAgent 的 API 密钥?
密钥由服务商发放,请前往官方文档(https://useragent.app)按注册 / 密钥指引操作。
开发 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 24 Pull Requests Project to promote open source collaboration during December | No auth | Yes | Yes | ↗ |
| Abacus Free and simple counting service. You can use it to track page hits and specific events | No auth | Yes | Unknown | ↗ |
| Agent Gateway 34+ AI agent infrastructure services including memory, wallets, and scheduling | API Key | Yes | Unknown | ↗ |
| AgentDeals Search and compare developer free tiers, startup credits, and pricing changes | No auth | Yes | Unknown | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |