🚀 Beta: All Pro and Team features are free. Install on GitHub →

API Stability Badges

Show your API's stability grade in your README. Communicate breaking change frequency and governance health to consumers at a glance.

Example Badges

CodeRifts generates a stability grade (A through F) based on how frequently your API introduces breaking changes and how well it follows governance policies. The badge updates automatically on every pull request.

API StabilityA — Excellent
API StabilityB — Good
API StabilityC — Fair
API StabilityD — Poor
API StabilityF — Unstable

What the grades mean

Grade Meaning Breaking Changes (last 30 days)
AExcellent stability. Safe to depend on.0
BGood stability. Minor changes only.1–2
CFair. Some breaking changes detected.3–5
DPoor. Frequent breaking changes.6–10
FUnstable. High risk for consumers.10+

How to Embed

Once CodeRifts is installed on your repository, the stability badge is automatically generated. Add it to your README with one of the following formats:

Markdown

![API Stability](https://app.coderifts.com/badge/{owner}/{repo}.svg)

HTML

<img src="https://app.coderifts.com/badge/{owner}/{repo}.svg" alt="API Stability" />

With link to report

[![API Stability](https://app.coderifts.com/badge/{owner}/{repo}.svg)](https://app.coderifts.com/report/{owner}/{repo})

Replace {owner} and {repo} with your GitHub organization and repository name.

How It Works

1

Install CodeRifts

Add the CodeRifts GitHub App to your repository. No configuration needed.

2

Open pull requests

CodeRifts analyzes every PR that modifies your API spec and tracks breaking changes over time.

3

Badge updates automatically

The stability grade recalculates after each merged PR. Your README always reflects the current state.

Get your stability badge

Install CodeRifts and your badge will be ready in minutes. Free during beta.

Install on GitHub