{"uid":"cap_uWhtiXU_xM7VCdkfED5bD","slug":"payload402-github-repository-stats-871afbd5","name":"payload402 GitHub Repository Stats","description":"GitHub public repository stats: stars, forks, open issues, last push, SPDX license field. For agents evaluating OSS dependencies or forks.","url":"https://payload402.edgebytenet.workers.dev/github/repo?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"repo":{"type":"string","description":"owner/name or repo slug with owner param"},"owner":{"type":"string","description":"GitHub owner when repo is name only"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"Public repo metadata only; rate limits apply without token","repo":"lodash","forks":7000,"owner":"lodash","stars":60000,"source":"github-rest","license":"MIT","fullName":"lodash/lodash","pushedAt":"2024-01-01T00:00:00Z","openIssues":100,"description":"A modern JavaScript utility library","defaultBranch":"main"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FQkCzCdLm0-GhXQvSXkpa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns public GitHub repository metadata including stars, forks, open issues, last push date, and SPDX license for a given repo.","exampleAgentPrompt":"Can you pull up the GitHub stats for lodash/lodash — I want to see the star count, number of open issues, forks, license, and when it was last pushed?","exampleUseCases":[{"title":"Evaluating OSS dependency before install","prompt":"Before I add this library, can you check the GitHub stats for axios/axios — I want to know the stars, open issues, license, and when it was last pushed so I can tell if it's actively maintained?"},{"title":"Comparing GitHub forks for adoption","prompt":"I'm deciding between two forks of a project. Can you fetch the GitHub repo info for huggingface/transformers and show me stars, forks, open issues, and the license?"},{"title":"License compliance audit for a dependency","prompt":"What's the SPDX license on the facebook/react GitHub repo? Also tell me the star count and when it was last updated."}],"resultDescription":"Returns a JSON object with the repository's full name, owner, description, star count, fork count, open issue count, SPDX license string, default branch, last push timestamp, and the data source identifier.","failureModes":["Repo not found (invalid owner/name) — returns error or empty response","Rate limiting from GitHub REST API if called without an auth token","Private repositories are not accessible — only public repos are supported","Malformed repo slug (missing owner) may cause a bad request error"],"whenToPreferThis":"Use this endpoint when an AI agent needs quick, structured OSS health signals — stars, forks, open issues, license, and recency — for a known GitHub repository, especially during dependency evaluation or fork assessment workflows. Prefer this over scraping GitHub pages or calling the GitHub API directly when you need a pay-per-call, zero-credential approach.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T02:28:06.179Z","isFirstParty":false,"canonicalSlug":"payload402-github-repository-stats-871afbd5"}