Sonar website screenshot

Sonar

Sonar (SonarSource) provides code quality and security analysis tools for developers. Products include SonarQube (self-hosted), SonarCloud (cloud-hosted), and SonarLint (IDE plugin), offering continuous inspection through static code analysis across 30+ programming languages.

Sonar publishes 6 APIs on the APIs.io network, including Issues API, Measures API, Organizations API, and 3 more. Tagged areas include CI/CD, Code Quality, DevOps, Security, and SonarCloud.

The Sonar catalog on APIs.io includes 1 JSON-LD context and 2 Spectral governance rulesets.

Sonar’s developer surface includes authentication, engineering blog, support, pricing, and 12 more developer resources.

44.1/100 developing ▬ flat Agent 25/100 agent aware saas Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFreemiumSelf serve⚡ Free to try
1 APIs 1 MCP Servers
CI/CDCode QualityDevOpsSecuritySonarCloudSonarQubeStatic Analysis

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from github.com/api-evangelist/sonar: open an issue to ask a question, or submit a pull request to add artifacts. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 7

Individual APIs this provider publishes, each with its own machine-readable definition.

SonarQube Web API

REST API for interacting with SonarQube Server, enabling management of projects, quality gates, issues, rules, users, and CI/CD integrations. Uses token-based authentication.

Sonar Issues API

Code issue search and management

Sonar Measures API

Component metrics and measurement data

Sonar Organizations API

Organization management and discovery

Sonar Projects API

Project search and management within organizations

Sonar Quality Gates API

Quality gate configuration and status

Sonar User Tokens API

API token generation and management

Scroll for all 7

Postman Collections 6

Ready-to-run Postman collections for exercising this provider's APIs.

Open Collections 8

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

SonarCloud Issues API

OPEN COLLECTION

SonarCloud API

OPEN COLLECTION

Scroll for all 8

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

MCP Server

MCP SERVER

Pricing Plans 1

Published pricing tiers and plan structures.

Sonar Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Sonar Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Sonar Finops

FINOPS

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Sonar Context

0 classes · 5 properties

JSON-LD

Spectral Rules 2

Spectral governance rulesets for linting and validating these APIs.

Sonar API Rules

5 rules · 4 warnings 1 info

SPECTRAL

Sonar API Rules

8 rules · 2 errors 4 warnings 2 info

SPECTRAL

JSON Schema 2

Standalone JSON Schema definitions for this provider's data models.

Issue

17 properties

JSON SCHEMA

Organization

6 properties

JSON SCHEMA

JSON Structure 1

JSON Structure definitions describing this provider's data shapes.

Sonar Sonarcloud Structure

0 properties

JSON STRUCTURE

Examples 2

Example request and response payloads for these APIs.

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Sonar Authentication

http · 1 scheme

SECURITY

Sonar Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Sonar Agentic Access

8 operations · 1 acting

8 operations · 1 acting

AGENTIC

Resources

Agent Surfaces 3

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 1

Pagination, idempotency, versioning, errors, and events

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: sonar
name: Sonar
description: Sonar (SonarSource) provides code quality and security analysis tools for developers. Products include SonarQube
  (self-hosted), SonarCloud (cloud-hosted), and SonarLint (IDE plugin), offering continuous inspection through static code
  analysis across 30+ programming languages.
kind: contract
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-09-03'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/sonar.png
tags:
- CI/CD
- Code Quality
- DevOps
- Security
- SonarCloud
- SonarQube
- Static Analysis
url: https://raw.githubusercontent.com/api-evangelist/sonar/refs/heads/main/apis.yml
created: '2024-01-01'
modified: '2026-05-19'
specificationVersion: '0.23'
apis:
- aid: sonar:sonarqube-web-api
  name: SonarQube Web API
  description: REST API for interacting with SonarQube Server, enabling management of projects, quality gates, issues, rules,
    users, and CI/CD integrations. Uses token-based authentication.
  humanURL: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
  tags:
  - Code Quality
  - DevOps
  - Security
  - SonarQube
  - Static Analysis
  - Technical Debt
  properties:
  - type: Documentation
    url: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
  - type: Reference
    url: https://api-docs.sonarsource.com/
  - type: Authentication
    url: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
- aid: sonar:sonar-issues-api
  name: Sonar Issues API
  description: Code issue search and management
  humanURL: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
  tags:
  - Issues
  properties:
  - type: OpenAPI
    url: openapi/sonar-issues-api-openapi.yml
  - type: Documentation
    url: https://sonarcloud.io/web_api
  - type: GettingStarted
    url: https://docs.sonarcloud.io/
  - type: Authentication
    url: https://docs.sonarcloud.io/advanced-setup/api-authentication/
  - type: JSONSchema
    url: json-schema/sonar-organization-schema.json
  - type: JSONSchema
    url: json-schema/sonar-issue-schema.json
  - type: JSONStructure
    url: json-structure/sonar-sonarcloud-structure.json
  - type: JSONLD
    url: json-ld/sonar-context.jsonld
  - type: SpectralRules
    url: rules/sonar-rules.yml
  - type: Examples
    url: examples/sonar-search-organizations-example.json
  - type: Examples
    url: examples/sonar-quality-gate-status-example.json
- aid: sonar:sonar-measures-api
  name: Sonar Measures API
  description: Component metrics and measurement data
  humanURL: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
  tags:
  - Measures
  properties:
  - type: OpenAPI
    url: openapi/sonar-measures-api-openapi.yml
  - type: Documentation
    url: https://sonarcloud.io/web_api
  - type: GettingStarted
    url: https://docs.sonarcloud.io/
  - type: Authentication
    url: https://docs.sonarcloud.io/advanced-setup/api-authentication/
  - type: JSONSchema
    url: json-schema/sonar-organization-schema.json
  - type: JSONSchema
    url: json-schema/sonar-issue-schema.json
  - type: JSONStructure
    url: json-structure/sonar-sonarcloud-structure.json
  - type: JSONLD
    url: json-ld/sonar-context.jsonld
  - type: SpectralRules
    url: rules/sonar-rules.yml
  - type: Examples
    url: examples/sonar-search-organizations-example.json
  - type: Examples
    url: examples/sonar-quality-gate-status-example.json
- aid: sonar:sonar-organizations-api
  name: Sonar Organizations API
  description: Organization management and discovery
  humanURL: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
  tags:
  - Organization
  tags_raw:
  - Organizations
  properties:
  - type: OpenAPI
    url: openapi/sonar-organizations-api-openapi.yml
  - type: Documentation
    url: https://sonarcloud.io/web_api
  - type: GettingStarted
    url: https://docs.sonarcloud.io/
  - type: Authentication
    url: https://docs.sonarcloud.io/advanced-setup/api-authentication/
  - type: JSONSchema
    url: json-schema/sonar-organization-schema.json
  - type: JSONSchema
    url: json-schema/sonar-issue-schema.json
  - type: JSONStructure
    url: json-structure/sonar-sonarcloud-structure.json
  - type: JSONLD
    url: json-ld/sonar-context.jsonld
  - type: SpectralRules
    url: rules/sonar-rules.yml
  - type: Examples
    url: examples/sonar-search-organizations-example.json
  - type: Examples
    url: examples/sonar-quality-gate-status-example.json
- aid: sonar:sonar-projects-api
  name: Sonar Projects API
  description: Project search and management within organizations
  humanURL: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
  tags:
  - Project
  tags_raw:
  - Projects
  properties:
  - type: OpenAPI
    url: openapi/sonar-projects-api-openapi.yml
  - type: Documentation
    url: https://sonarcloud.io/web_api
  - type: GettingStarted
    url: https://docs.sonarcloud.io/
  - type: Authentication
    url: https://docs.sonarcloud.io/advanced-setup/api-authentication/
  - type: JSONSchema
    url: json-schema/sonar-organization-schema.json
  - type: JSONSchema
    url: json-schema/sonar-issue-schema.json
  - type: JSONStructure
    url: json-structure/sonar-sonarcloud-structure.json
  - type: JSONLD
    url: json-ld/sonar-context.jsonld
  - type: SpectralRules
    url: rules/sonar-rules.yml
  - type: Examples
    url: examples/sonar-search-organizations-example.json
  - type: Examples
    url: examples/sonar-quality-gate-status-example.json
- aid: sonar:sonar-quality-gates-api
  name: Sonar Quality Gates API
  description: Quality gate configuration and status
  humanURL: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
  tags:
  - Quality Gates
  properties:
  - type: OpenAPI
    url: openapi/sonar-quality-gates-api-openapi.yml
  - type: Documentation
    url: https://sonarcloud.io/web_api
  - type: GettingStarted
    url: https://docs.sonarcloud.io/
  - type: Authentication
    url: https://docs.sonarcloud.io/advanced-setup/api-authentication/
  - type: JSONSchema
    url: json-schema/sonar-organization-schema.json
  - type: JSONSchema
    url: json-schema/sonar-issue-schema.json
  - type: JSONStructure
    url: json-structure/sonar-sonarcloud-structure.json
  - type: JSONLD
    url: json-ld/sonar-context.jsonld
  - type: SpectralRules
    url: rules/sonar-rules.yml
  - type: Examples
    url: examples/sonar-search-organizations-example.json
  - type: Examples
    url: examples/sonar-quality-gate-status-example.json
- aid: sonar:sonar-user-tokens-api
  name: Sonar User Tokens API
  description: API token generation and management
  humanURL: https://docs.sonarsource.com/sonarqube-server/latest/extension-guide/web-api/
  tags:
  - User Tokens
  properties:
  - type: OpenAPI
    url: openapi/sonar-user-tokens-api-openapi.yml
  - type: Documentation
    url: https://sonarcloud.io/web_api
  - type: GettingStarted
    url: https://docs.sonarcloud.io/
  - type: Authentication
    url: https://docs.sonarcloud.io/advanced-setup/api-authentication/
  - type: JSONSchema
    url: json-schema/sonar-organization-schema.json
  - type: JSONSchema
    url: json-schema/sonar-issue-schema.json
  - type: JSONStructure
    url: json-structure/sonar-sonarcloud-structure.json
  - type: JSONLD
    url: json-ld/sonar-context.jsonld
  - type: SpectralRules
    url: rules/sonar-rules.yml
  - type: Examples
    url: examples/sonar-search-organizations-example.json
  - type: Examples
    url: examples/sonar-quality-gate-status-example.json
common:
- type: PostmanWorkspace
  url: https://www.postman.com/kinlaneapi/sonar/overview
- type: AgenticAccess
  url: agentic-access/sonar-agentic-access.yml
- type: DomainSecurity
  url: security/sonar-domain-security.yml
- type: Authentication
  url: authentication/sonar-authentication.yml
- type: LinkedIn
  url: https://www.linkedin.com/company/sonarsource
- type: Website
  url: https://www.sonarsource.com/
- type: Blog
  url: https://www.sonarsource.com/blog/
- type: GitHubOrganization
  url: https://github.com/SonarSource
- type: Support
  url: https://community.sonarsource.com/
- type: StatusPage
  url: https://status.sonarsource.com/
- type: Pricing
  url: https://www.sonarsource.com/plans-and-pricing/
- type: TermsOfService
  url: https://www.sonarsource.com/terms/
- type: PrivacyPolicy
  url: https://www.sonarsource.com/privacy/
- type: Vocabulary
  url: vocabulary/sonar-vocabulary.yml
  title: Sonar Vocabulary
- type: Integrations
  url: https://www.sonarsource.com/integrations/
- name: MCP Server
  url: https://github.com/SonarSource/sonarqube-mcp-server
  type: MCPServer
- type: LlmsText
  url: https://docs.sonarsource.com/llms.txt
integrations:
- name: GitHub
- name: Bitbucket
- name: Azure DevOps
- name: GitLab
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/sonar"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/sonar/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/sonar/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.