SonarQube
用于检测缺陷、代码坏味道和安全漏洞的 SonarQube REST API
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 开发
- 数据来源
- public-apis + marcelscruz
- 文档 / URL
- https://sonarcloud.io/web_api
简介
SonarQube 提供代码质量 API——基于 token(SonarCloud;伪造组织返回 404,已实测)。
快速开始
组件(替换为你的组织):
curl "https://sonarcloud.io/api/components/search?organization=YOUR_ORG" \
-H "Authorization: Bearer YOUR_TOKEN"
{ "errors": [ { "msg": "No organizationDto with key 'INVALID'" } ] }
认证方式
- SonarCloud/SonarQube → 用户 token。
- 通过
Authorization: Bearer发送(伪造组织 → 404,已实测)。
速率限制与注意事项
- SonarCloud 免费层(看文档)。
- 缺陷、坏味道、漏洞。
常见问题
SonarQube 免费吗? SonarCloud 免费层;更多需要付费。
为什么 404? 伪造组织返回 404(已实测)——请使用你的真实组织。
认证风格是什么?
Authorization: Bearer token。
开发 分类更多
| 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 | ↗ |