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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Repository link
Example github.com/ossf/scorecard
- Link
The repository's report in the Scorecard viewer on scorecard.dev.
- Check documentation link
Scorecard's documentation of the check and how to raise its score.
Example github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
repository | text | Repository | 3 of 3 |
repository_url | link | Repository link | 3 of 3 |
url | link | Link | 3 of 3 |
score | number | Score | 3 of 3 |
scored_date | date | Scored date | 3 of 3 |
commit | text | Commit | 3 of 3 |
scorecard_version | text | Scorecard version | 3 of 3 |
checks_count | number | Checks count | 3 of 3 |
check_name | text | Check name | 3 of 3 |
check_score | number | Check score | 3 of 3 |
check_reason | text | Check reason | 3 of 3 |
check_details | list | Check details | 1 of 3 |
check_description | text | Check description | 3 of 3 |
check_documentation_url | link | Check documentation link | 3 of 3 |
binary_artifacts_score | number | Binary artifacts score | 3 of 3 |
branch_protection_score | number | Branch protection score | 3 of 3 |
ci_tests_score | number | Ci tests score | 3 of 3 |
cii_best_practices_score | number | Cii best practices score | 3 of 3 |
code_review_score | number | Code review score | 3 of 3 |
contributors_score | number | Contributors score | 3 of 3 |
dangerous_workflow_score | number | Dangerous workflow score | 3 of 3 |
dependency_update_tool_score | number | Dependency update tool score | 3 of 3 |
fuzzing_score | number | Fuzzing score | 3 of 3 |
license_score | number | License score | 3 of 3 |
maintained_score | number | Maintained score | 3 of 3 |
packaging_score | number | Packaging score | 3 of 3 |
pinned_dependencies_score | number | Pinned dependencies score | 3 of 3 |
sast_score | number | Sast score | 3 of 3 |
security_policy_score | number | Security policy score | 3 of 3 |
signed_releases_score | number | Signed releases score | 3 of 3 |
token_permissions_score | number | Token permissions score | 3 of 3 |
vulnerabilities_score | number | Vulnerabilities score | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Repository | Score | Commit | Scorecard version | Checks count | Check name | Check score | Check reason | Check details | Check description | Binary artifacts score | Branch protection score | Ci tests score | Cii best practices score | Code review score | Contributors score | Dangerous workflow score | Dependency update tool score | Fuzzing score | License score | Maintained score | Packaging score | Pinned dependencies score | Sast score | Security policy score | Signed releases score | Token permissions score | Vulnerabilities score | Scored date | Repository link | Link | Check documentation link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | github.com/ossf/scorecard | 8.6 | 4c48271472229429091d1e65621856a377c13982 | v5.7.0 | 18 | Binary-Artifacts | 10 | no binaries found in the repo | — | Determines if the project has generated executable (binary) artifacts in the source repository. | 10 | 5 | 10 | 5 | 4 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 9 | 10 | 10 | 10 | 9 | 5 | Dec 5, 2026 | github.com/ossf/scorecard | scorecard.dev/viewer/?uri=github.com/ossf/scorecard | github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md |
| 2 | github.com/ossf/scorecard | 8.6 | 4c48271472229429091d1e65621856a377c13982 | v5.7.0 | 18 | Branch-Protection | 5 | branch protection is not maximal on development and all release branches | Info: '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. | 10 | 5 | 10 | 5 | 4 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 9 | 10 | 10 | 10 | 9 | 5 | Dec 5, 2026 | github.com/ossf/scorecard | scorecard.dev/viewer/?uri=github.com/ossf/scorecard | github.com/ossf/scorecard/blob/d7552fb3cdc05e9f6426177d3328887304fce554/docs/checks.md |
| 3 | github.com/ossf/scorecard | 8.6 | 4c48271472229429091d1e65621856a377c13982 | v5.7.0 | 18 | CI-Tests | 10 | 28 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. | 10 | 5 | 10 | 5 | 4 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 9 | 10 | 10 | 10 | 9 | 5 | Dec 5, 2026 | github.com/ossf/scorecard | scorecard.dev/viewer/?uri=github.com/ossf/scorecard | github.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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.