Userstack
安全的 User-Agent 字符串查询 JSON API
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 开发
简介
Userstack 解析 User-Agent 字符串——基于密钥(无效密钥返回 HTTP 200 带 success:false,已实测)。
快速开始
检测(替换 YOUR_KEY):
curl "https://api.userstack.com/api/detect?access_key=YOUR_KEY&ua=test"
{ "success": false, "error": { "code": 101, "type": "invalid_access_key", "info": "You have not supplied a valid API Access Key." } }
认证方式
- 在 userstack.com 注册 → API 密钥。
- 通过
access_key查询参数携带。
⚠️ 坑(已实测):无效密钥返回 HTTP 200 带
success:false——请检查success字段。
速率限制与注意事项
- 免费层:1,000 次/月(看文档);付费档可扩展。
- UA 解析。
常见问题
Userstack 免费吗? 免费层:1,000 次/月;更多需要付费。
为什么 200 却 success:false?
错误以 200 + success:false 返回(已实测)——请检查 success。
认证风格是什么?
access_key 查询参数。
开发 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 24 Pull Requests Project to promote open source collaboration during December | No auth | Yes | Yes | ↗ |
| Agify.io Estimates the age from a first name | No auth | Yes | Yes | ↗ |
| Amazonscraperapi Amazon product, search & batch scraping API with residential proxies (1000 free) | API Key | Yes | No | ↗ |
| AmberOne Turn any website into a build-ready Android, iOS, PWA or Electron app project | API Key | Yes | No | ↗ |
| API Grátis Multiples services and public APIs | No auth | Yes | Unknown | ↗ |