{"uid":"cap_-3x7EgzeqeOb-y3CQER7-","slug":"sitecheck-github-issues-prs-search-8e61f4cd","name":"SiteCheck GitHub Issues & PRs Search","description":"Issues or pull requests of a GitHub repository, searched by words and state (open, closed or all), newest updated first: number, title, state, labels, author, comments, dates and link. Needs the GITHUB_TOKEN secret; without it the call answers 503 and is not charged.","url":"https://api.sitecheck-api.workers.dev/api/github/issues?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":["repo"],"properties":{"q":{"type":"string","description":"Words to search for (optional)"},"repo":{"type":"string","description":"owner/name or a github.com URL"},"type":{"type":"string","description":"issue (default) or pr"},"limit":{"type":"string","description":"1 to 30 (default 10)"},"state":{"type":"string","description":"open (default), closed or all"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"repo":"octocat/Hello-World","items":[{"link":"https://github.com/octocat/Hello-World/issues/1347","state":"closed","title":"Example closed issue","author":"octocat","labels":["bug"],"number":1347,"created":"2026-09-02T10:00:00Z","updated":"2026-09-05T08:30:00Z","comments":2}],"query":{"q":null,"type":"issue","state":"closed"},"total":3,"source":"https://api.github.com/search/issues","checkedAt":"2026-10-14T07:05:00.000Z"}},"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_Kyn0QBo4jBowlhmj4Bxmz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search and list issues or pull requests for a GitHub repository, with optional keyword filtering and state/type controls","exampleAgentPrompt":"Can you search for open issues in the facebook/react GitHub repo that mention 'hooks', and show me the latest 10?","exampleUseCases":[{"title":"Bug triage for open source project","prompt":"Pull up all open bug-labeled issues in the vercel/next.js repo so I can see what's currently being reported."},{"title":"PR review status check","prompt":"List the last 10 open pull requests in the microsoft/vscode repository so I can see what's pending review."},{"title":"Search closed issues by keyword","prompt":"Find closed issues in the axios/axios GitHub repo that mention 'timeout' — show me up to 15 results."}],"resultDescription":"A JSON object containing the repository name, a list of matching issues or PRs (each with title, link, state, author, labels, number, created/updated timestamps, and comment count), the query parameters used, total result count, the GitHub API source URL, and a timestamp of when the check was performed.","failureModes":["Missing 'repo' parameter returns a validation error","Invalid or non-existent repository returns an empty result or GitHub API error","Rate limits from underlying GitHub API may cause failures under heavy use","Very broad queries with no 'q' filter may return noisy or irrelevant results","Limit values outside 1-30 range may be rejected or clamped"],"whenToPreferThis":"Use this endpoint when you need to search or browse GitHub issues and pull requests programmatically without managing GitHub API authentication yourself. It is ideal for AI agents that need to surface bug reports, feature requests, or PR status for a given repo on demand. Prefer this over direct GitHub API calls when operating in a pay-per-call agent context that already handles auth and payment via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:48:25.493Z","isFirstParty":false,"canonicalSlug":"sitecheck-github-issues-prs-search-8e61f4cd"}