{"uid":"cap_euziBlr37dGy44Al678jp","slug":"2s-io-github-pull-requests-list-678bb9cb","name":"2s.io GitHub Pull Requests List","description":"List pull requests for a repository: number, title, state, author, draft flag, merged status + time, head/base branch, and created time. Filter by state (open/closed/all); paginate. Read-only; no caller key needed.","url":"https://2s.io/api/github/pulls","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":["owner","repo"],"properties":{"page":{"type":"integer","minimum":1},"repo":{"type":"string","maxLength":120,"minLength":1},"owner":{"type":"string","maxLength":100,"minLength":1},"state":{"enum":["open","closed","all"],"type":"string"},"perPage":{"type":"integer","maximum":100,"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_p8bfbse3L9r7OrBPvamsf","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":"Lists pull requests for a GitHub repository with metadata including state, author, draft/merged status, and branch info — filterable and paginated.","exampleAgentPrompt":"Show me all open pull requests for the facebook/react repo on GitHub — give me the first 50, including who authored each one, which branch they're targeting, and whether any are drafts.","exampleUseCases":null,"resultDescription":"A paginated list of pull requests for the specified repository, each containing: PR number, title, state (open/closed), author login, draft flag, merged boolean, merge timestamp if applicable, head branch name, base branch name, and creation timestamp.","failureModes":["Missing 'owner' or 'repo' parameter returns a validation error","Invalid state enum value (not open/closed/all) returns a schema error","Non-existent repository or owner returns a 404 or empty list","page or perPage out of allowed range returns a validation error","Rate limits or upstream GitHub API errors may return 5xx responses"],"whenToPreferThis":"Use this endpoint when an agent needs to enumerate pull requests from a GitHub repository without requiring authentication credentials. Ideal for read-only CI dashboards, PR monitoring, code review tracking, or any workflow that needs to inspect PR metadata without write access. Prefer over direct GitHub API calls when paying per-call via x402 micropayments is acceptable and no API key management is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:21:32.091Z","isFirstParty":false}