← Back to directory

Repository statistics: lines of code, comments and blanks per language (scc lang...

https://code.halowerk.com/v1/repo-stats

Overview

Repository statistics: lines of code, comments and blanks per language (scc language table), complexity hints, plus commit activity over a history window. Counts files, lines, code, comment and blank lines and simple complexity tokens per language at HEAD, using the language definitions of scc v4.1.0 (MIT: extensions, file names, shebangs, comment markers, string quotes, docstrings, nested comments), skipping binaries and blobs over 512 KB.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network Base
Category crypto/defi
Provider code
Source bazaar
Indexed 2026-11-20 14:09:44

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "repo_url": "https://github.com/octocat/Hello-World" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Line counting re-implements scc's rules in simplified form; numbers can differ slightly from the scc tool.", "Activity covers only the fetched history window; author counts are based on commit e-mail addresses." ], "result": { "activity": { "active_days": 3, "commits_analyzed": 3, "commits_last_30_days": 0, "commits_last_365_days": 0, "commits_last_90_days": 0, "days_since_last_commit": 5370, "distinct_authors": 3, "first_commit_date": "2011-01-26T11:06:08-08:00", "history_complete": true, "last_commit_date": "2012-03-06T15:06:50-08:00", "merge_commits": 1, "monthly_commits": { "2011-01": 1, "2011-09": 1, "2012-03": 1 }, "top_author_share": 0.333 }, "files_skipped": { "binary": 0, "too_large": 0, "unknown_language": 1 }, "head": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", "language_table": "scc v4.1.0 languages.json (MIT)", "languages": [], "source": { "repo_url": "https://github.com/octocat/Hello-World" }, "totals": { "blanks": 0, "bytes": 0, "code": 0, "comments": 0, "complexity": 0, "files": 0, "lines": 0 } }, "service": "repo-stats", "status": "success" }, "type": "json" }