{"uid":"cap_c3n_3AqTUfxoF7u_DEWYc","slug":"github-trending-repositories-scraper-x402-24fb993c","name":"GitHub Trending Repositories Scraper (x402)","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://x402.186-241-26-229.sslip.io/v1/github?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"since":{"enum":["daily","weekly","monthly"],"type":"string","default":"daily","description":"Choose today's, this week's, or this month's trending repositories."},"aiOnly":{"type":"boolean","default":false,"description":"Keep repositories whose public topics or descriptions indicate machine learning or related work."},"language":{"type":"string","default":"","description":"Trending programming language slug, such as python or rust. Empty selects all languages. Used when languages is empty."},"maxRepos":{"type":"integer","default":0,"minimum":0,"description":"Maximum output rows across all selected language pages. Zero returns every visible row."},"languages":{"type":"array","items":{"type":"string"},"default":[],"description":"Optional list of language slugs to collect several trending pages in one run. Each page keeps its own rank."},"githubToken":{"type":"string","description":"Optional private token for more repository metadata and README requests. The value is never included in output."},"filterTopics":{"type":"array","items":{"type":"string"},"default":[],"description":"Keep repositories matching at least one listed public repository topic. An empty list disables this filter. Repository API access is needed for topic filtering."},"includeReadme":{"type":"boolean","default":false,"description":"Fetch the repository README markdown when publicly available. Adds one request per repository."},"spokenLanguageCode":{"type":"string","default":"","description":"Optional spoken language code, such as en or zh, for the trending page."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"url":null,"name":null,"rank":null,"owner":null,"stars":null,"fullName":null,"language":null,"description":null}],"product":"github"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zQplDKBmMkWsaNwiSKLJV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches structured data from GitHub's trending repositories page, with optional filtering by language, topic, time range, and AI/ML focus.","exampleAgentPrompt":"What are today's trending GitHub repositories in Python — give me up to 20 results, and only show AI or machine learning projects?","exampleUseCases":[{"title":"Daily AI repo discovery briefing","prompt":"Pull today's trending GitHub repositories that are focused on AI or machine learning across all languages — give me the top 15 with their descriptions and star counts."},{"title":"Weekly Rust ecosystem pulse","prompt":"What are this week's trending Rust repositories on GitHub? Grab up to 30 and include each repo's description so I can see what the community is building."},{"title":"Multi-language trending snapshot","prompt":"Get me this month's trending GitHub repos for both Python and TypeScript — keep their ranks separate so I can compare what's hot in each language ecosystem."}],"resultDescription":"Returns a JSON object with a count field and an items array. Each item includes the repository's rank, name, owner, full name, URL, star count, primary programming language, and description. The product field confirms the data source as 'github'.","failureModes":["Invalid language slug returns empty results or error","GitHub rate limiting may reduce metadata quality without a token","Topic filtering requires repository API access (githubToken recommended)","Empty trending page (e.g. obscure language) returns count:0 and no charge","Network or scraping failure returns error; no charge applied"],"whenToPreferThis":"Use this endpoint when you need structured, ranked trending repository data from GitHub without building your own scraper. It is ideal for monitoring developer trends, discovering popular open-source projects by language or topic, or feeding AI/ML project pipelines. Prefer this over generic web scrapers when you need clean, typed output (rank, stars, owner, language) directly from GitHub's trending page, and over GitHub's own API when you want trending data specifically (GitHub API does not expose trending natively).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:54.968Z","isFirstParty":false,"canonicalSlug":"github-trending-repositories-scraper-x402-24fb993c"}