RepoScore exposes a single public analysis endpoint through RepoForge.
Request:
curl "https://repoforge.dev/api/analyze?repo=vercel/next.js"Response shape:
{
"repo": "vercel/next.js",
"repoType": "framework",
"language": "javascript",
"repoScore": 76,
"scores": {
"documentation": 55,
"structure": 85,
"discoverability": 55,
"maintenance": 79,
"adoption": 100,
"agentSafety": null
},
"improvements": [
"Document configuration, environment variables, or runtime options."
]
}repo: normalizedowner/repoidentifierrepoType: detected repository class used for score weightinglanguage: primary language from GitHub metadatarepoScore: overall weighted scorescores: category-level results used in the final scoreimprovements: short follow-up actions for maintainers
- The API reads repository metadata, README content, package metadata, and file-tree structure.
- Analysis output is also used by RepoForge repository pages and RepoScore badges.
- AI-related repositories may include an
agentSafetyscore when the repository type supports it.