{"uid":"cap_bfvLD2mt9E-dVDrnGPwJz","slug":"github-trending-repositories-scraper-7d5061ac","name":"GitHub Trending Repositories Scraper","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://api.scrapeforagents.tech/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_3t3ydDIxdwvymnUlOeX_u","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 about trending GitHub repositories for a given time period, language, and optional AI/ML filter","exampleAgentPrompt":"Pull today's trending GitHub repositories for Python and Rust, filter to only AI/ML-related ones, and give me the top 20 with their descriptions and star counts.","exampleUseCases":[{"title":"Daily AI project discovery digest","prompt":"Give me this week's trending GitHub repositories that are related to machine learning or AI — I want the top 30 across all languages with their descriptions and star counts."},{"title":"Language-specific trending tracker","prompt":"What are the top trending Rust repositories on GitHub this month? Show me up to 50 results with owner names and star counts."},{"title":"Multi-language open source monitor","prompt":"Fetch today's trending GitHub repos for both Python and TypeScript, keep all results for each language with their own rankings, and include the README for each one if it's available."}],"resultDescription":"Returns a JSON object with a count field and an items array, where each item includes the repository URL, name, rank on the trending page, owner username, star count, full name (owner/repo), programming language, and description. The product field confirms the data source as 'github'.","failureModes":["Empty result set if no repositories match the filter criteria (not charged)","Invalid language slug returns empty or error response","GitHub rate limiting if no token is provided and many repos are requested","Topic filtering requires GitHub API access via token; without token, filterTopics may be ignored","Network or scraping failure returns error (not charged)","Invalid spoken language code may return no results"],"whenToPreferThis":"Choose this endpoint when you need structured, ranked trending repository data from GitHub without building your own scraper. It is ideal for monitoring open source trends, discovering new AI/ML projects, or tracking what's popular in specific programming languages. Prefer it over manual GitHub API calls when you want pre-ranked trending data (GitHub's own API does not expose a trending endpoint) and when pay-per-successful-call pricing is desirable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:46:50.364Z","isFirstParty":false,"canonicalSlug":"github-trending-repositories-scraper-7d5061ac"}