Codecov Code Coverage Stats Scraper avatar

Codecov Code Coverage Stats Scraper

Pricing

from $27.22 / 1,000 results

Go to Apify Store
Codecov Code Coverage Stats Scraper

Codecov Code Coverage Stats Scraper

Scrape Codecov public repository coverage stats: percent covered, branch coverage, lines hit/miss, latest commit, language breakdown. No API key required.

Pricing

from $27.22 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

ParseForge Banner

🧪 Codecov Code Coverage Stats Scraper

🚀 Export Codecov coverage data in seconds across four levels. Pull repo-level totals, every commit, every pull request with base/head coverage delta, or every file with line-level coverage. Public Codecov accounts on GitHub, GitLab, and Bitbucket. No API key, no registration.

🕒 Last updated: 2026-05-13 · 📊 4 modes, repo + commit + pull + file granularity · 🌐 GitHub + GitLab + Bitbucket · ⏳ 30-day trend per repo

The Codecov Code Coverage Stats Scraper wraps the official Codecov public API (api.codecov.io/api/v2) and turns coverage telemetry into flat rows at four levels of granularity. The underlying platform is Codecov, the most widely adopted hosted code-coverage service, integrated into thousands of CI pipelines across the open-source ecosystem.

🎚️ Four modes, four levels of granularity

This is the differentiator. Pick the granularity that matches your analysis:

ModeOne row perTypical volume per active repo
🏗️ reposrepository1 (one row per tracked repo, enriched with 30-day trend + best/worst file)
⚙️ commitscommit700+ (full commit history with per-commit coverage, hits, misses, partials, branches)
🔀 pullspull requestHundreds (base vs head coverage and delta, per-PR patch stats)
📄 filesfile in the latest reportDozens to thousands (per-file coverage, covered line numbers, uncovered line numbers)
🎯 Target Audience💡 Primary Use Cases
Engineering leaders, DevEx and platform teams, OSS maintainers, internal audit, ML-on-code researchers, hiring teams, build-quality consultantsCoverage scorecards, CI/CD KPIs, regression tracking, OSS quality benchmarking, file-level hotspot analysis, build-quality reporting

📋 What the Codecov Scraper does

Four targeted workflows in a single Actor:

  • 🏗️ repos mode. For each tracked repo: name, language, branch, total coverage, line/branch/method coverage, hits, misses, partials, sessions, complexity, latest-commit pointer, and a 30-day coverage trend with direction (rising / falling / stable) and delta. Also includes the best-covered and worst-covered file. One row per repo.
  • ⚙️ commits mode. For each commit on every active repo: commit SHA, branch, message, timestamp, author, CI status, parent SHA, coverage, files, lines, hits, misses, partials, branches, methods, sessions, complexity. Hundreds of rows per active repo.
  • 🔀 pulls mode. For each pull request: title, state, CI status, author, base coverage, head coverage, coverage delta, head lines/hits/misses/partials/files, and patch totals. Lets you see exactly how each PR moved coverage.
  • 📄 files mode. For each file in the latest coverage report: filename, coverage percent, lines, hits, misses, partials, branches, methods, complexity, and the full list of covered and uncovered line numbers. Hotspot-grade detail.

Filter by provider (GitHub / GitLab / Bitbucket), owner (any public Codecov account), optional single repo to bypass pagination, and activeOnly to limit to repos currently receiving uploads.

💡 Why it matters: Codecov scorecards usually live behind a manual UI flip-through. This Actor turns the entire telemetry stack into rows you can drop into a warehouse, a quality dashboard, or an ML feature store. The four-mode design means you can zoom out to a portfolio view or zoom in to specific uncovered line numbers in a single afternoon.


🎬 Full Demo

🚧 Coming soon: a 3-minute walkthrough showing all four modes against a popular OSS org.


⚙️ Input

InputTypeDefaultBehavior
modeenum"repos"repos, commits, pulls, or files. Controls row granularity.
ownerstring"vercel"GitHub / GitLab / Bitbucket user or organization slug. Examples: apache (3.1k repos), vercel (225), openai (170).
maxItemsinteger10Records to return. Free plan caps at 10, paid plan at 1,000,000.
repostring""Single repository name. If set, fetches that one repo only and ignores pagination.
providerenum"github"github, gitlab, or bitbucket.
activeOnlybooleanfalseWhen checked, only return repos currently sending coverage uploads. Tight filter; large orgs may drop from thousands to dozens.

Example: every Vercel repo with current coverage stats.

{
"mode": "repos",
"provider": "github",
"owner": "vercel",
"maxItems": 50
}

Example: every commit on the vercel/edge-runtime repo.

{
"mode": "commits",
"provider": "github",
"owner": "vercel",
"repo": "edge-runtime",
"maxItems": 500
}

Example: file-level coverage hotspots in a single repo.

{
"mode": "files",
"provider": "github",
"owner": "vercel",
"repo": "edge-runtime",
"maxItems": 100
}

⚠️ Good to Know: Codecov returns telemetry only for repos that have uploaded reports. Many tracked repos show null coverage because they have never uploaded. Use activeOnly: true to skip them. Commits and files modes are most useful for orgs with active CI; pulls mode is most useful for repos with active PR review.


📊 Output

Each mode returns a different row shape. Download the dataset as CSV, Excel, JSON, or XML.

🧾 Schema for repos mode (selected fields)

FieldTypeExample
📛 namestring"edge-runtime"
🔗 fullNamestring"vercel/edge-runtime"
🌐 urlstring"https://codecov.io/github/vercel/edge-runtime"
🏷️ providerstring"github"
💬 languagestring | null"typescript"
🌿 branchstring | null"main"
🔓 isPrivatebooleanfalse
activated / activebooleantrue
📊 totalCoveragenumber | null82.58
📊 lineCoveragenumber | null82.58
🔢 files / lines / hits / missesinteger | null40 / 2434 / 2010 / 404
🚦 coverageRiskLevelenum | null"low" / "medium" / "high"
coverageTrend30dPointsarray30 daily points (min/max/avg)
📈 coverageTrendDirectionenum"rising" / "falling" / "stable"
📉 coverageTrend30dDeltanumber+1.42
🏆 topFileobjectBest-covered file with name + coverage
🔥 worstFileobjectWorst-covered file with name + coverage
🕒 scrapedAtISO 8601"2026-05-13T00:13:47.650Z"

🧾 Schema for commits mode

FieldTypeExample
🆔 commitidstring"2823f9481f54e75ee433cc040479ac4914bb567f"
🌿 branchstring | null"readme"
💬 messagestring | null"docs: tweaks"
🕒 timestampISO 8601 | null"2023-01-09T15:51:01Z"
👤 authorUsernamestring | null"Kikobeats"
ciPassedboolean | nulltrue
📊 coveragenumber | null82.58
🔢 files / lines / hits / misses / partialsinteger | null40 / 2434 / 2010 / 404 / 20
🔗 urlstring"https://app.codecov.io/github/vercel/edge-runtime/commit/2823f948..."

🧾 Schema for pulls mode

FieldTypeExample
🔢 pullidinteger123
📛 titlestring | null"feat: handle X"
🏷️ statestring | null"merged"
📊 baseCoverage / headCoveragenumber | null81.20 / 82.58
📈 coverageDeltanumber | null+1.38
🔢 headFiles / headLines / headHits / headMissesinteger | null40 / 2434 / 2010 / 404

🧾 Schema for files mode

FieldTypeExample
📄 filenamestring"src/handler.ts"
📊 coveragenumber | null92.5
🔢 lines / hits / misses / partialsinteger | null120 / 111 / 9 / 0
coveredLineNumbersinteger[][1, 2, 3, 7, 8, ...]
uncoveredLineNumbersinteger[][42, 43, 87]
🔗 urlstring"https://app.codecov.io/github/.../blob/HEAD/src/handler.ts"

📦 Sample record (commits mode)


✨ Why choose this Actor

Capability
🎚️4 levels of granularity. Repos, commits, pulls, files. Pick the row shape that matches your analysis.
📈30-day trend per repo. Coverage direction and delta computed for you in repos mode.
🔥File-level hotspots. files mode returns the exact line numbers that are uncovered.
🔀PR coverage delta. pulls mode shows base vs head coverage so you can quantify each PR.
🌐Multi-provider. GitHub, GitLab, and Bitbucket public Codecov accounts.
🏆Best / worst file. repos mode auto-surfaces the most and least covered file.
Fast and concurrent. Repo enrichment runs 5 calls in parallel per repo.
🚫No authentication. Public Codecov accounts only. No API key needed.

📊 Coverage tells you whether your tests run. Combining it with trend, PR delta, and per-file hotspots tells you whether your engineering org is improving.


📈 How it compares to alternatives

ApproachCostGranularityRefreshFiltersSetup
⭐ Codecov Scraper (this Actor)$5 free credit, then pay-per-use4 modes (repo/commit/pull/file)Live per runprovider, owner, repo, active-only⚡ 2 min
Codecov web UIFreeSingle page at a timeLiveUI filters🐢 Slow, no automation
Custom Codecov API clientFreeCustomLiveCustom🛠️ Hours to engineer 4 endpoints
Enterprise quality platforms$$$$Multi-sourceVendor cadenceVendor-specific⏳ Days

Pick this Actor when you want all four levels of Codecov telemetry in flat rows with a single input form.


🚀 How to use

  1. 📝 Sign up. Create a free account with $5 credit (takes 2 minutes).
  2. 🌐 Open the Actor. Go to the Codecov Code Coverage Stats Scraper page on the Apify Store.
  3. 🎚️ Pick a mode. repos for portfolio view, commits / pulls / files for detail.
  4. 🎯 Set owner + repo. Plug in any public Codecov account and an optional single repo name.
  5. 🚀 Run it. Click Start and let the Actor collect your data.
  6. 📥 Download. Grab your results in the Dataset tab as CSV, Excel, JSON, or XML.

⏱️ Total time from signup to downloaded dataset: 3-5 minutes. No coding required.


💼 Business use cases

🏗️ Engineering Leadership

  • Org-wide coverage scorecards across hundreds of repos
  • 30-day trend tracking for quality reviews
  • Engineering KPIs tied to test discipline
  • Quarterly business reviews on code quality

🛠️ DevEx & Platform Teams

  • Identify under-tested repos before they break
  • File-level hotspot reports for refactor planning
  • PR-by-PR coverage delta tracking
  • CI/CD pipeline health dashboards

🧑‍💻 OSS Maintainers

  • Public coverage badges sourced from real data
  • Contributor recognition by tests-added
  • Compare your project against peer projects
  • Quality reporting for grant applications

🔍 Build-Quality Consulting

  • Pre-engagement audits of client repos
  • Before/after engagement comparison reports
  • Benchmarking client coverage vs OSS peers
  • Detailed file-level recommendations

🔌 Automating Codecov Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

  • 🟢 Node.js. Install the apify-client NPM package.
  • 🐍 Python. Use the apify-client PyPI package.
  • 📚 See the Apify API documentation for full details.

The Apify Schedules feature lets you trigger this Actor on any cron interval. Nightly portfolio refreshes or per-PR coverage capture both work.


🌟 Beyond business use cases

The same structured records support research, education, civic projects, and personal initiatives.

🎓 Research and academia

  • ML-on-code datasets with paired coverage and SHA
  • Empirical software-engineering studies
  • Reproducible coursework on test-quality metrics
  • Cross-language coverage comparisons

🎨 Personal and creative

  • Portfolio dashboards showing your OSS quality
  • Personal coverage trends over time
  • Side projects benchmarking your favorite libraries
  • Visualizations of test discipline across orgs

🤝 Non-profit and civic

  • Public-interest reports on civic-tech repo health
  • Foundation-level quality benchmarking
  • Volunteer-onboarding hotspot guides
  • Long-term sustainability tracking for OSS

🧪 Experimentation

  • Train models on coverage patterns vs bug counts
  • Validate quality-platform product hypotheses
  • Prototype LLM agents that recommend tests to add
  • Test BI dashboards with live coverage feeds

🤖 Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:


❓ Frequently Asked Questions

🧩 How does it work?

The Actor hits the public Codecov API (api.codecov.io/api/v2), paginates through results, and returns one structured row per repo, commit, pull, or file. The shape depends on the mode you pick. Repo mode enriches each row with commits, branches, 30-day trend, and best/worst file via 4 parallel API calls.

🎚️ What does each mode do?

  • repos returns one row per tracked repo, enriched with 30-day coverage trend, best file, and worst file.
  • commits returns one row per commit (700+ rows for active repos). Coverage, hits, misses, branches, CI status.
  • pulls returns one row per pull request with base/head coverage and the delta.
  • files returns one row per file in the latest report with covered and uncovered line numbers.

🌐 Which providers are supported?

GitHub, GitLab, and Bitbucket public Codecov accounts. Set the provider input. Default is GitHub.

🔓 Does it work on private repos?

No. This Actor uses the unauthenticated public Codecov API. Private repos require an API token, which is out of scope for this Actor.

🚦 Why does coverage show null on some repos?

Codecov returns telemetry only for repos that have uploaded reports. Repos that are tracked but never uploaded show null. Set activeOnly: true to skip them.

📈 What is coverageRiskLevel?

A categorical bucket computed from totalCoverage. low >= 80, medium 60-79, high < 60. Useful for quick scorecard summaries.

📊 What is coverageTrend30dDelta?

The numeric change in average coverage over the last 30 days (head minus tail). Positive = rising, negative = falling, near-zero = stable.

⏰ Can I schedule regular runs?

Yes. Use Apify Schedules to run this Actor on any cron interval (hourly, daily, weekly) and keep a downstream database in sync.

Codecov public accounts are intentionally exposed for community visibility. The Actor accesses only public endpoints. Review Codecov terms of use for any platform-specific restrictions before commercial redistribution.

💼 Can I use this data commercially?

Yes. Coverage data on public accounts is public information and can be used in commercial products. Cite Codecov as the source.

💳 Do I need a paid Apify plan to use this Actor?

No. The free Apify plan is enough for testing and small runs (10 records per run). A paid plan lifts the limit to 1,000,000 records.

🆘 What if I need help?

Our support team is here to help. Contact us through the Apify platform or use the Tally form linked below.


🔌 Integrate with any app

Codecov Scraper connects to any cloud service via Apify integrations:

  • Make - Automate multi-step workflows
  • Zapier - Connect with 5,000+ apps
  • Slack - Coverage-drop alerts in your channels
  • Airbyte - Pipe coverage into your warehouse
  • GitHub - Trigger runs from commits and releases
  • Google Drive - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Alert your team in Slack when coverage on a tracked repo drops below a threshold.


💡 Pro Tip: browse the complete ParseForge collection for more reference-data scrapers.


🆘 Need Help? Open our contact form to request a new scraper, propose a custom data project, or report an issue.


⚠️ Disclaimer: this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Codecov or Sentry. All trademarks mentioned are the property of their respective owners. Only publicly available data from the official Codecov public API is collected.