---
title: "GET /github/repository/issues"
method: GET
path: "/github/repository/issues"
tags: ["Github"]
---

# GET /github/repository/issues

`GET /github/repository/issues`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/github/repository/issues`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `owner` string, required
- `repo` string, required
- `page` integer
- `per_page` integer
- `state` 'open' | 'closed' | 'all'
- `sort` 'created' | 'updated' | 'comments'
- `direction` 'asc' | 'desc'
- `labels` string
- `since` string, date

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: GitHub has no public resource at that address. For a repository this also covers a private or renamed repository, which is indistinguishable anonymously.
- `406`: GitHub has no JSON representation for this route, or rejected the request headers. Never charged.
- `422`: A parameter failed validation.
- `500`: GitHub returned a response shape this parser does not recognise. The incident has been reported; retrying will return the same result.
- `503`: The upstream service is temporarily unavailable. Please retry shortly.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
