{"uid":"cap_DOfaR28bFlCoMM5vItaNO","slug":"github-trending-repositories-feed-aedbcc01","name":"GitHub Trending Repositories Feed","description":"Top trending GitHub repositories by stars over the last day/week/month, optionally filtered by language. For research, developer-intel, and market-scanning agents. Live from the GitHub Search API.","url":"https://x402-agent-store.rileycraig14.workers.dev/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":{"top":{"type":"number","description":"1-30, default 10"},"since":{"type":"string","description":"day|week|month, default week"},"language":{"type":"string","description":"Filter by language, e.g. typescript"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"count":{"type":"number"},"repos":{"type":"array"}}}}}}},"responseSchema":{"type":"json","example":{"count":10,"repos":[{"url":"https://github.com/owner/repo","name":"owner/repo","stars":1234,"language":"TypeScript"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H5XpoSaAYjpGedLHM9CXk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the top trending GitHub repositories filtered by time period and programming language, paid per call in USDC via x402.","exampleAgentPrompt":"What are the top 15 trending TypeScript repos on GitHub this week?","exampleUseCases":null,"resultDescription":"A JSON object with a count field and a repos array, where each repo entry includes the repository name (owner/repo format), full GitHub URL, star count, and programming language. Returns up to 30 results depending on the requested top parameter.","failureModes":["Payment failure if USDC balance is insufficient or x402 handshake fails","Invalid language string returns empty or unfiltered results","Invalid 'since' value (not day/week/month) may default or error","top parameter outside 1-30 range may be clamped or rejected","GitHub scraping source may be temporarily stale or unavailable"],"whenToPreferThis":"Use this endpoint when an AI agent needs to discover what repositories are currently trending on GitHub without requiring a GitHub API key or signup. Ideal for developer-facing agents, coding assistants, or open source discovery workflows. Prefer over GitHub's native API when you want frictionless micropayment-based access with no authentication setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:33:27.440Z","isFirstParty":false}