{"uid":"cap_8ZhWypjAUcGKFOAALpltw","slug":"glim-sh-github-search-e6211341","name":"glim.sh GitHub Search","description":"One remote endpoint gives your agent live data from Twitter, Reddit, the open web, GitHub and more. No API keys, no scraping stack - just connect the URL and go.","url":"https://surf.cascade.fyi/api/v1/github/search","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"enum":["repos","conversations","code","discussions"],"type":"string","description":"What to search: 'repos', 'conversations' (issues+PRs), 'discussions' (GitHub Discussions - a separate index from issues/PRs), or 'code' (literal/regex/symbol search across 2.8M+ public GitHub repos). Optional - inferred from the query: is:answered/category: implies discussions, is:/label:/author: implies conversations, path:/symbol:/content://regex/ implies code, stars:/topic:/in:readme implies repos, otherwise repos. type:code / type:repos / type:discussions in the query also works. A conversations search that matches nothing is retried as discussions, so an answer that lives in Discussions is not silently missed."},"page":{"type":"integer","default":1,"maximum":10,"minimum":1,"description":"Page number"},"repo":{"type":"string","description":"Scope to one repository. Accepts 'owner/name', a github.com URL, or a partial 'owner/' (code). Works with any kind; setting it with kind=repos routes the search to conversations, since repo-name search can't scope to one repo. Equivalent to a repo: qualifier in the query (if both are given they must match)."},"query":{"type":"string","maxLength":1000,"minLength":1,"description":"Search query in full GitHub search syntax: qualifiers (repo:owner/name, org:/user:, language:, path: with globs, symbol:, content:, is:, stars:>N, label:, sort:stars), boolean AND/OR/NOT with parentheses, \"exact strings\", and /regex/. kind=repos: minimal distinctive keywords - the project/library name (GOOD: 'rtk', 'react query'; BAD: 'rtk rust token killer' - every extra word must ALL match and buries the real repo; filter with qualifiers, not prose). kind=code: ONE literal code pattern as it appears in files ('useState('), an \"exact string\", a /regex/, or symbol:name for definitions; narrow with repo:/language:/path:, not extra words. kind=conversations: keywords plus filters (is:issue, label:bug). kind=discussions: keywords plus repo:/org:/author:/is:answered/category: - a separate GitHub index from issues/PRs, so a thread that lives in Discussions is invisible to kind=conversations (and vice versa). category: matches the repo's own category name (Ideas, Q&A) and needs a repo: scope; sort: does not apply. Caution: sort: REPLACES relevance ranking (sort:reactions = most-popular thread mentioning the words anywhere, incl. comments) - omit sort: for best-match. Not supported in code search: license:, enterprise:, is:vendored, is:generated."},"per_page":{"type":"integer","default":20,"maximum":30,"minimum":1,"description":"Results per page"}}},"responseSchema":{"type":"json","example":{"results":[{"full_name":"x402-foundation/x402"}],"has_more":true,"total_count":42}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G-r3gAvbaTDe09DXShbKQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search GitHub repositories or conversations using GitHub search syntax, returning paginated results without requiring API keys.","exampleAgentPrompt":"Search GitHub for repos related to 'x402 payment protocol' — show me the top 10 results, repos kind, first page.","exampleUseCases":[{"title":"Find open source projects by technology stack","prompt":"Search GitHub for repositories tagged with 'machine learning' and 'Python' — give me the first batch of results sorted by stars, I want to see what's popular."},{"title":"Discover code examples for specific implementation","prompt":"Look up GitHub repos and discussions about implementing OAuth 2.0 in Node.js — pull back whatever matches, I need working examples and best practices."},{"title":"Monitor community conversations on technical topics","prompt":"Search GitHub issues and discussions for recent conversations about 'database sharding' — show me the first page of results so I can see what problems people are facing."}],"resultDescription":"A JSON object containing a results array of matching repositories or conversations (e.g. with full_name fields), the total_count of matches, and a has_more boolean indicating whether additional pages are available.","failureModes":["Invalid 'kind' enum value — only 'repos' or 'conversations' are accepted","per_page exceeds 30 — returns error or clamped results","Empty or malformed query string — may return zero results or an error","Payment failure via x402 — endpoint returns 402 before delivering results","GitHub upstream rate limit or downtime causing 5xx response"],"whenToPreferThis":"Use this endpoint when an agent needs to search GitHub repositories or conversations without managing GitHub API credentials or scraping infrastructure. Ideal for discovering open source projects, finding code examples, or exploring discussions on GitHub topics in a pay-per-call model with no setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:46:43.147Z","isFirstParty":false}