{"uid":"cap_FTEcEn1TWtlVge-gMj1c3","slug":"2s-io-github-repository-search-c7856465","name":"2s.io GitHub Repository Search","description":"Search GitHub repositories with the full query syntax (e.g. 'x402 language:typescript stars:>100'). Sort by stars/forks/updated. Returns total match count + repos with stars, language, topics, license, timestamps. Read-only; no caller key needed.","url":"https://2s.io/api/github/search-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","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","maxLength":400,"minLength":1},"page":{"type":"integer","minimum":1},"sort":{"enum":["stars","forks","help-wanted-issues","updated"],"type":"string"},"order":{"enum":["asc","desc"],"type":"string"},"perPage":{"type":"integer","maximum":50,"minimum":1}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TCtJVld_RTI9umt1iPg6a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search GitHub repositories using full GitHub query syntax and return ranked results with metadata like stars, forks, language, topics, and license.","exampleAgentPrompt":"Search GitHub for repositories matching 'x402 language:typescript stars:>100', sort by stars descending, and show me the top 10 results with their star counts, languages, and topics.","exampleUseCases":null,"resultDescription":"Returns total match count plus a list of repositories (up to 50 per page) each with name, description, star count, fork count, programming language, topics list, license, creation timestamp, and last-updated timestamp.","failureModes":["Empty result set if query matches no repositories","Rate limiting if GitHub API quota is exceeded (HTTP 429 or 403)","Invalid query syntax returns an error from the GitHub search API","Missing required 'q' parameter returns a 400 validation error","Page out of bounds returns empty results or error"],"whenToPreferThis":"Use this endpoint when you need to search GitHub repositories with full query syntax support (language filters, star thresholds, topic filters, etc.) and require rich metadata per repo — especially when no GitHub API key is available. Prefer over direct GitHub API calls when operating in a pay-per-call agent context without managing credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-07-13T18:59:55.652Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:09:08.076Z","isFirstParty":false}