OpenSSF Security Scorecard API

OpenSSF Scorecard security ratings for lists of open source GitHub and GitLab repositories: the overall 0 to 10 score, scan date and commit, and each check (code review, maintenance, pinned dependencies, fuzzing, signed releases...) with its score, reason and findings.

$1 per 1,000 records

You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.

Try it
Ready-made, maintained by usRepositories, 32 fieldsv1.0

Data from scorecard.dev

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Repositories
Repositories as owner/name (GitHub), or full links such as https://github.com/expressjs/express or gitlab.com/gitlab-org/gitlab. One per line, or separated by commas.
Example: ossf/scorecard, expressjs/express
One row peroptional
check: one row per security check with its score, reason and findings (default). repository: one row per repository with every check's score as its own column.
Checksoptional
Keep only these checks, such as Code-Review, Maintained or Pinned-Dependencies (check rows only). One per line, or separated by commas.
Example: Code-Review, Maintained
Maximum check scoreoptional
Keep only checks scoring at or below this, from 0 to 10, to list weak spots (check rows only).
Example: 5

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/openssf-scorecard/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
5,000 free records to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/openssf-scorecard/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "repositories": [
      "ossf/scorecard",
      "expressjs/express"
    ]
  },
  "max_items": 50
}'

Inputs

Send them as input in the request body. Leave one out to use its default.

repositorieslistrequired
Repositories as owner/name (GitHub), or full links such as https://github.com/expressjs/express or gitlab.com/gitlab-org/gitlab.
example: ossf/scorecard, expressjs/express
one_row_pertext
check: one row per security check with its score, reason and findings (default). repository: one row per repository with every check's score as its own column.
default: checkone of: check, repository
checkslist
Keep only these checks, such as Code-Review, Maintained or Pinned-Dependencies (check rows only).
example: Code-Review, Maintained
max_check_scorenumber
Keep only checks scoring at or below this, from 0 to 10, to list weak spots (check rows only).
example: 5

What's in each record

32 fields.

Basics

  • Repository

    The repository as Scorecard names it, such as github.com/expressjs/express.

    Example github.com/ossf/scorecard

  • Score

    Overall Scorecard score from 0 to 10 (a weighted mean of the checks).

    Example 8.6

  • Commit

    The commit the scan read.

    Example 4c48271472229429091d1e65621856a377c13982

  • Scorecard version

    Version of the Scorecard tool that ran the scan, such as v5.6.0.

    Example v5.7.0

  • Checks count

    How many checks the scan reports for the repository.

    Example 18

  • Check name

    Name of the check on a check row, such as Code-Review; empty on repository rows.

    Example Binary-Artifacts

  • Check score

    The check's score from 0 to 10; empty when Scorecard could not evaluate it.

    Example 10

  • Check reason

    Scorecard's one-line reason for the check's score.

    Example no binaries found in the repo

  • Check details

    The check's findings, one per line, such as Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:40.

    Example Info: 'allow deletion' disabled on branch 'main', Info: 'force pushes' disabled on branch 'main'

  • Check description

    What the check measures.

    Example Determines if the project has generated executable (binary) artifacts in the source repository.

  • Binary artifacts score

    Binary-Artifacts score (0 to 10): no executables committed to the repository.

    Example 10

  • Branch protection score

    Branch-Protection score (0 to 10): rules guarding the default and release branches.

    Example 5

  • Ci tests score

    CI-Tests score (0 to 10): tests run before pull requests are merged.

    Example 10

  • Cii best practices score

    CII-Best-Practices score (0 to 10): an OpenSSF Best Practices badge.

    Example 5

  • Code review score

    Code-Review score (0 to 10): changes reviewed before they are merged.

    Example 4

  • Contributors score

    Contributors score (0 to 10): contributors from several organizations.

    Example 10

  • Dangerous workflow score

    Dangerous-Workflow score (0 to 10): no risky patterns in GitHub Actions workflows.

    Example 10

  • Dependency update tool score

    Dependency-Update-Tool score (0 to 10): a tool such as Dependabot or Renovate keeps dependencies current.

    Example 10

  • Fuzzing score

    Fuzzing score (0 to 10): the project is fuzz tested.

    Example 10

  • License score

    License score (0 to 10): a recognized license is published.

    Example 10

  • Maintained score

    Maintained score (0 to 10): commits and issue activity in the last 90 days.

    Example 10

  • Packaging score

    Packaging score (0 to 10): releases are built and published by an automated workflow.

    Example 10

  • Pinned dependencies score

    Pinned-Dependencies score (0 to 10): build dependencies pinned by hash.

    Example 9

  • Sast score

    SAST score (0 to 10): static code analysis runs on changes.

    Example 10

  • Security policy score

    Security-Policy score (0 to 10): a published way to report vulnerabilities.

    Example 10

  • Signed releases score

    Signed-Releases score (0 to 10): release files are signed or carry provenance.

    Example 10

  • Token permissions score

    Token-Permissions score (0 to 10): workflow tokens limited to what they need.

    Example 9

  • Vulnerabilities score

    Vulnerabilities score (0 to 10): no open known vulnerabilities in the code or its dependencies.

    Example 5

Dates

  • Scored date

    Day of the scan these scores come from.

    Example Dec 5, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
repositorytextRepository3 of 3
repository_urllinkRepository link3 of 3
urllinkLink3 of 3
scorenumberScore3 of 3
scored_datedateScored date3 of 3
committextCommit3 of 3
scorecard_versiontextScorecard version3 of 3
checks_countnumberChecks count3 of 3
check_nametextCheck name3 of 3
check_scorenumberCheck score3 of 3
check_reasontextCheck reason3 of 3
check_detailslistCheck details1 of 3
check_descriptiontextCheck description3 of 3
check_documentation_urllinkCheck documentation link3 of 3
binary_artifacts_scorenumberBinary artifacts score3 of 3
branch_protection_scorenumberBranch protection score3 of 3
ci_tests_scorenumberCi tests score3 of 3
cii_best_practices_scorenumberCii best practices score3 of 3
code_review_scorenumberCode review score3 of 3
contributors_scorenumberContributors score3 of 3
dangerous_workflow_scorenumberDangerous workflow score3 of 3
dependency_update_tool_scorenumberDependency update tool score3 of 3
fuzzing_scorenumberFuzzing score3 of 3
license_scorenumberLicense score3 of 3
maintained_scorenumberMaintained score3 of 3
packaging_scorenumberPackaging score3 of 3
pinned_dependencies_scorenumberPinned dependencies score3 of 3
sast_scorenumberSast score3 of 3
security_policy_scorenumberSecurity policy score3 of 3
signed_releases_scorenumberSigned releases score3 of 3
token_permissions_scorenumberToken permissions score3 of 3
vulnerabilities_scorenumberVulnerabilities score3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordRepositoryScoreCommitScorecard versionChecks countCheck nameCheck scoreCheck reasonCheck detailsCheck descriptionBinary artifacts scoreBranch protection scoreCi tests scoreCii best practices scoreCode review scoreContributors scoreDangerous workflow scoreDependency update tool scoreFuzzing scoreLicense scoreMaintained scorePackaging scorePinned dependencies scoreSast scoreSecurity policy scoreSigned releases scoreToken permissions scoreVulnerabilities scoreScored dateRepository linkLinkCheck documentation link
1github.com/ossf/scorecard8.64c48271472229429091d1e65621856a377c13982v5.7.018Binary-Artifacts10no binaries found in the repo—Determines if the project has generated executable (binary) artifacts in the source repository.105105410101010101010910101095Dec 5, 2026github.com/ossf/scorecardscorecard.dev/viewer/?uri=github.com/ossf/scorecardgithub.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md
2github.com/ossf/scorecard8.64c48271472229429091d1e65621856a377c13982v5.7.018Branch-Protection5branch protection is not maximal on development and all release branchesInfo: 'allow deletion' disabled on branch 'main', Info: 'force pushes' disabled on branch 'main', Warn: 'branch protection settings apply to administrators' is disabled on branch 'main', Warn: 'stale review dismissal' is disabled on branch 'main'Determines if the default and release branches are protected with GitHub's branch protection settings.105105410101010101010910101095Dec 5, 2026github.com/ossf/scorecardscorecard.dev/viewer/?uri=github.com/ossf/scorecardgithub.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md
3github.com/ossf/scorecard8.64c48271472229429091d1e65621856a377c13982v5.7.018CI-Tests1028 out of 28 merged PRs checked by a CI test -- score normalized to 10—Determines if the project runs tests before pull requests are merged.105105410101010101010910101095Dec 5, 2026github.com/ossf/scorecardscorecard.dev/viewer/?uri=github.com/ossf/scorecardgithub.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Only repositories that OpenSSF scans are covered: a large set of widely used GitHub projects, rescanned about weekly, and a few GitLab ones. Repositories it has not scanned are left out of the results.
  • Scores are OpenSSF's latest published scan, not a fresh one: scored_date shows its day. Most are days old, but some repositories (on GitLab and a few on GitHub) were last scanned years ago.
  • A check Scorecard could not evaluate (no releases to check, missing access) has an empty score; check_reason says why. Branch-Protection is often empty for this reason.
  • Up to 1,000 repositories per run. Findings are cut to 25 lines per check and 300 characters per line.
  • Scores come from the public results of OpenSSF Scorecard, an open source project of the Open Source Security Foundation; credit OpenSSF Scorecard when you publish them.

Version history

A run uses the live version unless the request names another one with version.