{"uid":"cap_s29SSLqDOCNA4eMlB7OQd","slug":"github-trending-repositories-api-7646083d","name":"GitHub Trending Repositories API","description":"Fetch the most-starred repositories created during a selected recent period through the GitHub Search API. This is not GitHub's private trending algorithm.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/github_trending","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":{"period":{"type":"string","description":"Time period: daily, weekly, or monthly."},"language":{"type":"string","description":"Programming language to filter by."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","source","fetched_at","methodology","count","data","marketplace_metadata"],"properties":{"data":{"type":"array","items":{"type":"string"}},"count":{"type":"integer"},"source":{"type":"string"},"success":{"type":"boolean"},"fetched_at":{"type":"string"},"methodology":{"type":"string"},"marketplace_metadata":{"type":"object","required":["data_mode","billable","availability","source"],"properties":{"source":{"type":"string"},"billable":{"type":"boolean"},"data_mode":{"type":"string"},"availability":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"data":["[nested detail omitted from the challenge header; see the full example in /openapi.json]"],"count":10,"source":"GitHub Search API","success":true,"fetched_at":"2026-08-07T07:32:47.448Z","methodology":"Most-starred repositories created since 2026-08-06; this is not GitHub's private...","marketplace_metadata":{"source":"GitHub Search API","billable":true,"data_mode":"live_source","availability":"operational"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AFH1445TJuvJ-sujsN9Rj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a list of trending GitHub repositories filtered by programming language and time period (daily, weekly, or monthly).","exampleAgentPrompt":"What are the trending GitHub repositories in Rust this week — give me repo names, owners, and how many stars they've picked up?","exampleUseCases":[{"title":"Weekly open source discovery digest","prompt":"Pull the top trending GitHub repositories from the past week and give me their names, owners, descriptions, and star counts so I can share them in my developer newsletter."},{"title":"Language-specific trend monitoring for Python","prompt":"What Python repositories are trending on GitHub today? I want to see which ones are gaining the most stars right now."},{"title":"Monthly hot projects for a tech radar","prompt":"Show me the most trending GitHub repos this month across all languages — I'm putting together a monthly tech radar for my engineering team."}],"resultDescription":"A JSON object containing the requested time period, the filtered language, and an array of trending repositories each with: repository name, owner username, GitHub URL, description, stars gained in the period, and total star count.","failureModes":["Invalid period value (not daily/weekly/monthly) may return an error or empty results","Unknown or misspelled language filter may return zero repositories","GitHub rate limiting or scraping restrictions could cause upstream failures","Service unavailability returns a non-200 HTTP status","Payment failure via x402 results in a 402 response before data is returned"],"whenToPreferThis":"Use this endpoint when an agent needs real-time GitHub trending data filtered by language or time window, especially in developer-focused workflows, newsletter automation, or open source discovery pipelines. Prefer it over manual GitHub browsing or general web scraping when structured, machine-readable output with star counts is required and cost-per-call economics ($0.1 USDC) are acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:59:48.532Z","isFirstParty":false}