{"uid":"cap_8qSmbXh8iNfZIPfQ8_qlq","slug":"gitbeacon-trending-repos-api-9cc43dba","name":"GitBeacon Trending Repos API","description":"Paid ($0.01 USDC via x402). Top trending GitHub repos from the latest daily scan, sorted by stars — description, language, topics, license, forks, author followers, and README excerpt. Filterable by programming language. Response carries the scanDate provenance. Compute-first / settle-after — you are never charged for an error.","url":"https://api.gitbeacon.dev/v1/repos","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","required":[],"properties":{"limit":{"type":"integer","maximum":100,"minimum":1,"description":"Max repos to return (1-100)."},"language":{"type":"string","description":"Filter by programming language, case-insensitive (e.g. Python, Rust, TypeScript)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[{"forks":45,"stars":321,"topics":["ai","code-understanding","llm"],"license":"MIT","fullName":"HKUDS/FastCode","language":"Python","description":"Accelerates and streamlines code understanding","readmeExcerpt":"FastCode is an AI-powered tool for accelerating code comprehension...","authorFollowers":1200}],"count":30,"charged":true,"success":true,"scanDate":"2026-02-25T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-YoqvxeNw3Qh1tXSAdxEc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns top trending GitHub repositories from the latest daily scan, sorted by stars, with metadata and README excerpts, optionally filtered by programming language.","exampleAgentPrompt":"What are the top 20 trending GitHub repos right now in Rust — give me their descriptions, topics, and a snippet from each README?","exampleUseCases":null,"resultDescription":"A JSON list of top trending GitHub repositories from the most recent daily scan, each containing the repo name, description, programming language, topics, license, fork count, author follower count, and a README excerpt. The response also includes a scanDate field indicating when the data was collected. Results are sorted by stars and optionally filtered to a single programming language.","failureModes":["Invalid language value returns empty results or an error","Limit out of range (below 1 or above 100) returns a validation error","Payment failure via x402 protocol results in no charge and no data returned","Service unavailable if daily scan has not yet completed","Network timeout on slow connections"],"whenToPreferThis":"Use this endpoint when you need a curated, ranked snapshot of what's trending on GitHub right now, especially when you want rich metadata (topics, license, README excerpts, author followers) rather than just repo names. Prefer this over raw GitHub API calls when you want pre-aggregated trending signal with daily provenance and language filtering in a single paid call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:19.052Z","isFirstParty":false}