{"uid":"cap_8a1FdXCLJcKPGM_tb76KN","slug":"x402-github-search-api-fd207c5e","name":"x402 GitHub Search API","description":"Search GitHub repos, code, or users (?q=, ?type=repos|code|users)","url":"https://workspace-x402-paywall.onrender.com/search/github?utm_source=zero.xyz","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","required":["q"],"properties":{"q":{"type":"string","description":"Search query string (e.g. x402, langchain, react)"}}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G8g1iwKGVUovBxonqus-m","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search GitHub repositories, code, users, or issues using GitHub search syntax, paid per-call via USDC micropayment","exampleAgentPrompt":"Search GitHub for repositories about 'vector databases' written in Python — show me the top 10 results sorted by stars, searching by repositories type.","exampleUseCases":[{"title":"Discover open-source ML libraries","prompt":"Search GitHub for the top 10 repositories related to 'large language model fine-tuning' — I want repositories type, return 10 results."},{"title":"Find code examples for a tricky API","prompt":"Can you search GitHub code for examples of 'stripe webhook signature verification' in JavaScript? Give me up to 8 results."},{"title":"Look up active contributors on a topic","prompt":"Search GitHub users for people who specialize in 'Rust embedded systems' and return 5 results."}],"resultDescription":"A JSON object containing GitHub search results matching the query, including repository metadata (name, description, stars, language, URL), code snippets, user profiles, or issue details depending on the search type requested.","failureModes":["Missing required 'q' parameter returns an error response","Invalid 'type' enum value is rejected","Payment not provided or insufficient USDC causes 402 Payment Required response","GitHub API rate limit exceeded on backend returns an error","Overly broad query may return irrelevant or truncated results","per_page values outside 1-20 range may be clamped or rejected"],"whenToPreferThis":"Choose this endpoint when you need programmatic GitHub search with per-call micropayment billing (no GitHub API key required), especially suitable for AI agents that make occasional searches without a persistent GitHub OAuth token. Prefer over direct GitHub API when you want frictionless USDC-based payment via x402 on Base or Solana mainnet rather than managing API credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:44:35.427Z","isFirstParty":false,"canonicalSlug":"x402-github-search-api-fd207c5e"}