{"uid":"cap_uWhtiXU_xM7VCdkfED5bD","slug":"payload402-github-repository-stats-871afbd5","name":"payload402 GitHub Repository Stats","description":"npm package license triage for coding agents: call before npm install or adding a dependency mid-task. Returns declared license, SPDX normalization, and permissive-default compatible yes/no/unknown from the public npm registry. Triage only — not compliance-grade SBOM or legal advice. Workflow: call GET /license/check (or MCP check_npm_license) before npm install; if compatible=no, pick another package or escalate to human; if unknown, treat as risk. Example: left-pad@1.0.0 before install. Also: Convert amounts between ISO 4217 currencies using ECB daily reference rates (Frankfurter). Use for invoices, travel budgets, expense reports, and shopping comparisons when you need a verifiable rate instead of LLM arithmetic. Not live tradable FX — rates follow ECB business-day publication. Also: Resolve a place name or lat/lon to IANA timezone and coordinates (Open-Meteo). Use for agent scheduling, travel logistics, and local-time questions without LLM guessing. Not IP geolocation. Also: Translate short text between languages (Azure Translator). Use when an agent needs a verifiable string in another language for UI copy, messages, or research snippets — not legal, medical, or certified translation. Also: English Wikipedia fact lookup: search by query or exact title, returns intro extract as plain text. For agents that need a grounded summary before deeper web search. Not a substitute for primary sources. Also: Ranked search results (English Wikipedia): titles, article URLs, and snippets from MediaWiki search. Same SERP-shaped JSON as web search APIs; index is Wikipedia only — not the open web. Pair with GET /wiki/lookup for intro text.","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":"unknown","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-10-02T02:00:41.805Z","isFirstParty":false,"canonicalSlug":"payload402-github-repository-stats-871afbd5"}