{"uid":"cap__Apy1CW5gdoMD75uPvyyU","slug":"github-code-search-212e12d5","name":"GitHub Code Search","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/dev/github-code-search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uyp4M1uTDfaU3I6JgKq3s","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches GitHub repositories for code matching a query, returning relevant code snippets and file references.","exampleAgentPrompt":"Search GitHub code for examples of how developers implement JWT authentication in Node.js — I want to see real-world code snippets.","exampleUseCases":[{"title":"Find open source algorithm implementations","prompt":"Search GitHub code for implementations of Dijkstra's algorithm in Python so I can compare different approaches."},{"title":"Discover library usage patterns","prompt":"Look up how other developers are using the OpenAI API in TypeScript — search GitHub code for real examples."},{"title":"Find boilerplate or starter patterns","prompt":"Search GitHub for code examples of setting up a Next.js app with Tailwind CSS and TypeScript so I can see the typical project structure."}],"resultDescription":"Returns a JSON response indicating success and containing GitHub code search results including matching code snippets, file paths, repository names, and relevant metadata for each match.","failureModes":["Invalid or malformed schema parameter returns an error","Rate limiting or quota exhaustion on the underlying GitHub API","Payment failure via x402 protocol resulting in 402 response","Empty result set when no matching code is found on GitHub","Network timeout from the Cloudflare Workers backend"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to find real-world code examples or implementations on GitHub without requiring a GitHub account or API key — payment via x402/USDC is the only credential needed. Ideal for agents that need to discover open source patterns, library usage, or code snippets on demand at low per-call cost ($0.003 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:01.196Z","isFirstParty":false,"canonicalSlug":"github-code-search-212e12d5"}