Code Coverage API

Access comprehensive coverage data programmatically through our REST API. Get repository, commit, pull request and historical coverage metrics.

API illustration showing data exchange between systems

Authentication

All API requests require an API key which can be generated in your account settings. Include it in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Featured Endpoints

Repository Coverage

GET /api/repos/{repository}

Returns info and current coverage metrics for a repository.

Branch Coverage

GET /api/repos/{repository}/{branch}

Returns info and current coverage metrics for a branch.

Commit Coverage

GET /api/commits/{commit_sha}

Returns info and coverage details for a specific commit.

Pull Request Coverage

GET /api/pull-requests/{pr_number}

Returns info and coverage metrics and comparison for a pull request.

Historical Coverage

GET /api/repos/{repository}/history

Returns historical coverage trends for a repository.

Compliance made easy

Your code never enters our servers. We collect no usage data, personal data, or similar. We sell software, not data.
Read about our code privacy efforts here.

Invite your entire team

All plans (including free) offer unlimited collaborators at no extra charge. You can invite your entire engineering department, HR, and even your family.

Track progress, anywhere

The dashboard contains various coverage graphs to measure progress, and you can even add them to your own dashboard with our API to share with your team outside OtterWise.

Onboarding assistance

All paid plans include priority chat support, and we can help you get running even if you have no CI pipeline yet.

Tailored to your workflow

OtterWise is built for any use case. You can configure which files to ignore, when to fail CI, how to calculate coverage, and much more.

Proactive risk identification

With per-line Code Coverage, type coverage, mutation coverage, and much more, OtterWise will enhance the reliability of your codebase.

Start improving your code

No creditcard required

Improve code quality today_

With OtterWise, you can track Code Coverage, contributor stats, code health, and much more.