# List GitHub Repository Issues API

> List a repository's issues with state/label/date filters and pagination. Pull requests are filtered out by default. Returns parsed rows (author, labels, comment and reaction counts) plus the rate-limit headers.

Category: [Developer Tools APIs](https://upapi.io/apis/developer-tools) · Last updated 2026-11-07

## How to call it

- Endpoint: `POST https://api.upapi.io/github-repo-issues.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 1 weighted unit per call.
- Timeout: 30 seconds.
- Cache: identical requests are served from cache for 120 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/github-repo-issues.get

```bash
curl -X POST https://api.upapi.io/github-repo-issues.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "page": 1, "repo": "playwright", "sort": "created", "owner": "microsoft", "state": "open", "perPage": 30, "direction": "desc", "includePullRequests": false }'
```

## Request parameters

- `page` (integer)
- `repo` (string, required) — Repo name
- `sort` (string) — created | updated | comments
- `owner` (string, required) — Repo owner (user or org)
- `since` (string) — ISO-8601 timestamp: only issues updated at or after this
- `state` (string) — open | closed | all
- `token` (string) — Optional GitHub token (5,000 req/h)
- `labels` (string) — Comma-separated label names to require
- `perPage` (integer)
- `proxyUrl` (string) — Optional exit to send from (direct otherwise)
- `direction` (string) — asc | desc
- `includePullRequests` (boolean) — GitHub lists pull requests on this endpoint too; the default drops them so a lead hunt sees only issues

## Response fields

- `items` (array, required)
- `items[].id` (integer, required)
- `items[].body` (string, required)
- `items[].state` (string, required)
- `items[].title` (string, required)
- `items[].author` (string, required)
- `items[].labels` (array, required)
- `items[].number` (integer, required)
- `items[].htmlUrl` (string, required)
- `items[].closedAt` (string, required)
- `items[].comments` (integer, required)
- `items[].createdAt` (string, required)
- `items[].reactions` (integer, required)
- `items[].updatedAt` (string, required)
- `items[].authorType` (string, required)
- `items[].repository` (string, required) — owner/repo the issue belongs to
- `items[].isPullRequest` (boolean, required) — GitHub lists pull requests on the issues endpoints; this tells them apart
- `items[].authorAssociation` (string, required)
- `fetchedAt` (string, required)
- `rateLimit` (object, required) — The rate-limit headers GitHub returned on THIS response, surfaced so the caller
can pace itself instead of the operation sleeping on its behalf.
- `rateLimit.limit` (integer, required) — X-RateLimit-Limit: requests allowed per window
- `rateLimit.resetAt` (string, required) — X-RateLimit-Reset as an ISO-8601 UTC timestamp
- `rateLimit.resource` (string, required) — X-RateLimit-Resource: which bucket (core, search, graphql, ...)
- `rateLimit.remaining` (integer, required) — X-RateLimit-Remaining: requests left
- `rateLimit.resetEpoch` (integer, required) — X-RateLimit-Reset as unix seconds

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "page": 1,
  "repo": "playwright",
  "sort": "created",
  "owner": "microsoft",
  "state": "open",
  "perPage": 30,
  "direction": "desc",
  "includePullRequests": false
}
```

```json
{
  "items": [
    {
      "id": 1,
      "body": "example",
      "state": "example",
      "title": "Alan Turing",
      "author": "example",
      "labels": [
        "example"
      ],
      "number": 1,
      "htmlUrl": "example",
      "closedAt": "example",
      "comments": 1,
      "createdAt": "example",
      "reactions": 1,
      "updatedAt": "example",
      "authorType": "example",
      "repository": "example",
      "isPullRequest": false,
      "authorAssociation": "example"
    }
  ],
  "fetchedAt": "example",
  "rateLimit": {
    "limit": 5,
    "resetAt": "example",
    "resource": "example",
    "remaining": 1,
    "resetEpoch": 1
  }
}
```

## Frequently asked questions

### How much does the List GitHub Repository Issues API cost per call?

Each call spends 1 weighted unit of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the List GitHub Repository Issues API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are List GitHub Repository Issues API responses cached?

Yes — identical requests are served from cache for 120 seconds, and a cache hit is not billed.

## More Developer Tools APIs

- [List GitHub Repository Contributors](https://upapi.io/apis/developer-tools/github-repo-contributors)
- [List GitHub Issue Comments](https://upapi.io/apis/developer-tools/github-issue-comments)
- [Search GitHub Issues](https://upapi.io/apis/developer-tools/github-search-issues)
- [Star or Unstar a GitHub Repository](https://upapi.io/apis/developer-tools/github-repo-star)
- [Get GitHub Repository](https://upapi.io/apis/developer-tools/github-repo)
- [Post a GitHub Issue Comment](https://upapi.io/apis/developer-tools/github-issue-comment)
- [Search GitHub Discussions](https://upapi.io/apis/developer-tools/github-search-discussions)
- [Search GitHub Repositories](https://upapi.io/apis/developer-tools/github-search-repos)
