Fetch repository details from GitHub โ stars, forks, language, topics, and last commit. Works on public repos without a token.
Query any public GitHub repository for metadata: name, description, star count, fork count, primary language, topics, open issues, default branch, and last commit details (SHA, message, author, date). Optionally provide a GitHub PAT to increase rate limits to 5,000 requests per hour.
| Param | Type | Required | Description |
|---|---|---|---|
owner | string | Yes | Repository owner (user or org) |
repo | string | Yes | Repository name |
token | string | No | GitHub PAT (increases rate limit to 5,000/h) |
$0.001 per request via x402 micropayment on Base (USDC). Without a token: 60 req/h (GitHub rate limit). With PAT: 5,000 req/h.