X402 · Dev Momentum
Real GitHub REST API composite for any public owner/repo -- commit velocity, PR velocity, stars, contributor count, plus a disclosed log1p-weighted score. Pay 0.02 USDC on Base.
price
0.020 USDC
rail
Base
facilitator
OMNIGATE
method
GET
endpoint https://mcp-x402.onrender.com/x402/dev-momentum
payTo 0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-10-25T20:10:49.000Z
Live 402 challenge
Hits the real endpoint without paying and shows exactly what it demands. Nothing is charged.
Pay from your agent
import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.BUYER_PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(signer) }] });
const res = await pay("https://mcp-x402.onrender.com/x402/dev-momentum", { method: "GET" });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));Example input
{
"github_owner": "microsoft",
"github_repo": "vscode",
"commit_window_weeks": 4,
"pr_window_days": 30
}Example output
{
"source": "api.github.com (real-time REST v3)",
"repository": {
"full_name": "microsoft/vscode",
"description": "Visual Studio Code",
"stargazers_count": 194397,
"forks_count": 44903,
"open_issues_count": 22151,
"default_branch": "main",
"pushed_at": "2026-10-29T03:11:44Z"
},
"commit_velocity": {
"commits_in_window": 2839,
"window_weeks": 4
},
"contributor_count": 3289,
"pr_velocity": {
"count": 3297,
"window_days": 30
},
"momentum_score": 88.56,
"excluded_from_score": [],
"methodology_note": "momentum_score = sum(weight * log1p(real_value)) over commits_in_window(w4) + pr"
}