82trust / 100

Github Repo

by GitHub repository enrichment in Developer tools

x402 APIPassing, checked 3 h ago

Enrich a public GitHub repository: stars, forks, watchers, open issues, license, topics, primary language plus the full language byte mix with percentages, created/last-push timestamps, default branch, archived/fork flags, and homepage. Keyless (shared per-IP rate limit; the server optionally uses a GITHUB_TOKEN env var for a higher ceiling). Unknown repos return 404.

POST https://agent402.tools/api/github-repo

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
187 ms typical, 187 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/github-repo" \
  -H "content-type: application/json" \
  -d '{"owner":"MikeyPetrillo","repo":"Agent402"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fgithub-repo
const res = await pay("https://agent402.tools/api/github-repo", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"owner":"MikeyPetrillo","repo":"Agent402"}),
});
console.log(await res.json());

Example input

{
  "owner": "MikeyPetrillo",
  "repo": "Agent402"
}

Example output

{
  "archived": false,
  "createdAt": "2026-05-28T01:02:03Z",
  "defaultBranch": "main",
  "description": "Open-source x402 + MCP tool server",
  "fork": false,
  "forks": 3,
  "fullName": "MikeyPetrillo/Agent402",
  "homepage": "https://agent402.tools",
  "language": "JavaScript",
  "languages": [
    {
      "bytes": 1000000,
      "language": "JavaScript",
      "percent": 98.2
    }
  ],
  "license": "MIT",
  "openIssues": 4,
  "pushedAt": "2026-07-12T20:11:04Z",
  "source": "api.github.com",
  "stars": 12,
  "topics": [
    "x402",
    "mcp"
  ],
  "url": "https://github.com/MikeyPetrillo/Agent402",
  "watchers": 12
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402187 ms$0.005