# 2s.io GitHub Issues Lister

> 2s.io GitHub Issues Lister is a paid API for AI agents from 2s.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-13).

Lists open, closed, or all issues for a GitHub repository with filtering by state and labels, excluding pull requests.

## Facts

- Endpoint: GET https://2s.io/api/github/issues
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-github-issues-lister-3cde8323
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mcJy9ykPqvPLMwSHjASX7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-io-github-issues-lister-3cde8323
```

Example prompt: Show me all the open issues for the facebook/react GitHub repo, filtered by the 'bug' label — give me 25 per page, starting on page 1.

## When to prefer this

Use this endpoint when you need read-only, no-auth access to GitHub issue metadata for a known repository, especially when you want to filter by state or labels and paginate results. Prefer this over authenticated GitHub API calls when simplicity and pay-per-call pricing ($0.001 USDC) are acceptable and you don't need to create, update, or comment on issues.

## Known failure modes

- Invalid or non-existent owner/repo combination returns an error or empty list
- Invalid state enum value returns a validation error
- Labels filter with no matches returns an empty list
- Page number beyond available results returns an empty list
- Rate limiting or upstream GitHub API errors may result in failed responses
- Missing required owner or repo parameters returns a 400-level error

## How this service works

List issues for a repository (pull requests excluded): number, title, state, author, labels, comment count, and created/updated times. Filter by state (open/closed/all) and labels; paginate. Read-only; no caller key needed.

## Output

Returns a paginated list of issues for the specified repository, each including issue number, title, state (open/closed), author username, labels, comment count, and created/updated timestamps. Pull requests are excluded from results.

## Request schema (JSON Schema)

```json
{
 "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"
      },
      "labels": {
       "type": "string",
       "maxLength": 200
      },
      "perPage": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-github-issues-lister-3cde8323/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
