{"uid":"cap_xNokZY_PWzMtAVbCVXCwD","slug":"toll402-github-repo-stats-dbd933bf","name":"Toll402 GitHub Repo Stats","description":"Stars, forks, open issues, license and last push for a GitHub repo via https://api.github.com/repos/<owner>/<repo>","url":"https://toll402.dev/v1/t/github_repo_stats","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["owner","repo"],"properties":{"repo":{"type":"string"},"owner":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q-5LLio0iP530Y8UbYEwh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches stars, forks, open issues, license, and last push date for any public GitHub repository by owner and repo name.","exampleAgentPrompt":"Can you look up the GitHub stats for the vercel/next.js repo — I want to know the star count, number of forks, open issues, license, and when it was last pushed?","exampleUseCases":[{"title":"Evaluate open source library popularity","prompt":"Before I add this dependency to my project, can you pull the GitHub stats for huggingface/transformers — I want to see how many stars and forks it has, how many open issues there are, and when it was last updated?"},{"title":"Compare competing projects for a tech decision","prompt":"I'm trying to choose between two frameworks — can you get the GitHub stats for both facebook/react and vuejs/vue so I can compare their stars, forks, open issues, and last push dates?"},{"title":"Monitor repo activity for due diligence","prompt":"We're considering a vendor whose core product is open source — can you fetch the GitHub repo stats for hashicorp/terraform and tell me its license, how active it is, and whether it has a lot of unresolved issues?"}],"resultDescription":"Returns a structured object containing the repository's star count, fork count, number of open issues, license identifier, and the timestamp of the last push, sourced from the GitHub public API.","failureModes":["Repository not found (invalid owner or repo name) — returns an error or empty result","Private repository — GitHub API returns 404 for repos the caller cannot access","GitHub API rate limiting — may fail under heavy usage without authentication","Malformed input (missing owner or repo field) — schema validation error","Repository exists but has no license set — license field may be null or absent"],"whenToPreferThis":"Use this endpoint when you need quick, structured metadata about a public GitHub repository without setting up GitHub API credentials or OAuth. It is ideal for agents performing due diligence on open source dependencies, comparing project health, or enriching software-related workflows with repo popularity signals. Prefer it over direct GitHub API calls when operating in a paid-per-call microservice context (x402 protocol) and when you need a lightweight, schema-consistent response without pagination or full GitHub REST API complexity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T20:27:57.205Z","isFirstParty":false}