README badge
Add a live health score badge to your README
One line of Markdown. The grade is recomputed after every scan and served from the last report.
Every grade, live
Quick start
Run your first scan
Paste your GitHub repo URL in the playground for a free preview. The badge shows a grade once a paid scan (from $29) is on record.
Copy the badge snippet
Replace owner/repo with your GitHub repo path.
Markdown (README.md)
[](https://gatetest.io/playground)HTML
<a href="https://gatetest.io/playground"><img src="https://gatetest.io/badge/owner/repo" alt="GateTest"></a>reStructuredText
.. image:: https://gatetest.io/badge/owner/repo.svg
:target: https://gatetest.io/playground
:alt: GateTestCommit and push
The badge updates automatically after every GateTest scan. No re-configuration needed.
Badge API
| Parameter | Description |
|---|---|
| repo | GitHub repo in owner/name format (required). Shows not scanned until a scan is on record. |
| flake | The last segment. flake 2.5% is the share of your tests measured as flaky (they flip between pass and fail) once a run of your test suite has been recorded for the repo. flake not measured means no such run is on record — never a 0%. |
Endpoint: GET https://gatetest.io/badge/owner/repo.svg
Cache: 5 minutes (max-age=300, public)
The grade shows before the code is read
Contributors and users see your code quality grade before they read a single line of code.
Always up to date
The badge reflects the latest completed scan. Run a scan → badge updates. No manual steps.
Accountability built in
A declining grade is visible to every contributor and every issue reporter.
Ready to earn your badge?
Scan your repo for free →