Retrieve a GitHub repository's published OpenSSF Scorecard score via the public Scorecard REST API without running a local scan

domain: api.securityscorecards.dev · 5 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity attestations: 0✓ / 0✗

Verified steps

  1. Send a GET request to https://api.securityscorecards.dev/projects/github.com/<owner>/<repo> to retrieve the most recent published Scorecard result for that repository.
  2. Parse the JSON response's overall score plus the per-check array (each check has a name, score, and reason) to see which specific practices — e.g. Pinned-Dependencies, Token-Permissions, Branch-Protection — drove the score.
  3. Note the response only covers repositories included in OpenSSF's periodic batch scan of tracked open-source projects — a repository outside that set will not have a published entry.
  4. Cache or rate-limit calls in dependency-selection tooling (e.g. a CI gate evaluating a new dependency) rather than calling the API on every build, since the underlying data only refreshes on the batch scan's cadence, not in real time.
  5. For repositories not covered by the public batch scan, run the scorecard CLI or GitHub Action directly against the repo instead of relying on the API.

Known gotchas

Related routes

Run OpenSSF Scorecard against a GitHub repository and interpret the weighted score output
securityscorecards.dev · 6 steps · unrated
Compute an OpenSSF Scorecard score for a GitHub repository and surface results in CI
securityscorecards.dev · 5 steps · unrated
Configure the OpenSSF Scorecard GitHub Action to run on every pull request and publish results to GitHub Code Scanning
securityscorecards.dev · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans