---
title: "GitHub API: Repository Issues | Perceptlayer"
description: "Repository Issues from GitHub as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/github/repository-issues
---

[APIs](https://perceptlayer.com/apis) / [GitHub](https://perceptlayer.com/apis/github) / Repository Issues

# GitHub: Repository Issues

Repository Issues from GitHub as JSON. 1 credit per successful call.

GET `/v1/github/repository-issues`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `owner` | string | Required | Up to 39 characters |
| `repo` | string | Required | Up to 100 characters |
| `page` | integer | Optional | Any |
| `per_page` | integer | Optional | Any |
| `state` | string | Optional | open, closed, all |
| `sort` | string | Optional | created, updated, comments |
| `direction` | string | Optional | asc, desc |
| `labels` | string | Optional | Up to 200 characters |
| `since` | string | Optional | Any |

## Example request

GitHub

GET /v1/github/repository-issues?owner=laravel&repo=framework&state=open 

```
{
  "search_parameters": {
    "engine": "github_repository_issues",
    "owner": "laravel",
    "repo": "framework",
    "state": "open"
  },
  "issues": [
    {
      "url": "https://api.github.com/repos/laravel/framework/issues/62448",
      "repository_url": "https://api.github.com/repos/laravel/framework",
      "labels_url": "https://api.github.com/repos/laravel/framework/issues/62448/labels{/name}",
      "comments_url": "https://api.github.com/repos/laravel/framework/issues/62448/comments",
      "events_url": "https://api.github.com/repos/laravel/framework/issues/62448/events",
      "html_url": "https://github.com/laravel/framework/pull/62448",
      "id": 6349895381,
      "node_id": "PR_kwDOAHMwOs8AAAABOo_c7Q",
      "number": 62448,
      "title": "[12.x] Compare integers and booleans as strings in the database presence verifier",
      "user": {
        "login": "pushpak1300",
        "id": 31663512,
        "node_id": "MDQ6VXNlcjMxNjYzNTEy",
        "avatar_url": "https://avatars.githubusercontent.com/u/31663512?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/pushpak1300",
        "html_url": "https://github.com/pushpak1300",
        "followers_url": "https://api.github.com/users/pushpak1300/followers",
        "following_url": "https://api.github.com/users/pushpak1300/following{/other_user}",
        "gists_url": "https://api.github.com/users/pushpak1300/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/pushpak1300/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/pushpak1300/subscriptions",
        "organizations_url": "https://api.github.com/users/pushpak1300/orgs",
        "repos_url": "https://api.github.com/users/pushpak1300/repos",
        "events_url": "https://api.github.com/users/pushpak1300/events{/privacy}",
        "received_events_url": "https://api.github.com/users/pushpak1300/received_events",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "state": "open",
      "locked": false,
      "comments": 0,
      "created_at": "2026-11-12T12:34:34Z",
      "updated_at": "2026-11-12T12:34:34Z",
      "author_association": "MEMBER",
      "draft": false,
      "pull_request": {
        "url": "https://api.github.com/repos/laravel/framework/pulls/62448",
        "html_url": "https://github.com/laravel/framework/pull/62448",
        "diff_url": "https://github.com/laravel/framework/pull/62448.diff",
        "patch_url": "https://github.com/laravel/framework/pull/62448.patch"
      },
      "body": "`exists` and `unique` results depend on how the input arrives. For a `varchar` column holding `alpha` and `007`, on MySQL and MariaDB:\n\n| Input | Rule | Before | After |\n| -- | -- | -- | -- |\n| `\"0\"` (form) | `exists:invites,code` | fails |…",
      "reactions": {
        "url": "https://api.github.com/repos/laravel/framework/issues/62448/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "timeline_url": "https://api.github.com/repos/laravel/framework/issues/62448/timeline",
      "performed_via_github_app": {
        "id": 1276151,
        "client_id": "Iv23liQHiuVu9utPF8Wi",
        "slug": "amp-for-github",
        "node_id": "A_kwHODmsMH84AE3j3",
        "owner": {
          "login": "ampcode",
          "id": 241896479,
          "node_id": "O_kgDODmsMHw",
          "avatar_url": "https://avatars.githubusercontent.com/u/241896479?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/ampcode",
          "html_url": "https://github.com/ampcode",
          "followers_url": "https://api.github.com/users/ampcode/followers",
          "following_url": "https://api.github.com/users/ampcode/following{/other_user}",
          "gists_url": "https://api.github.com/users/ampcode/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/ampcode/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/ampcode/subscriptions",
          "organizations_url": "https://api.github.com/users/ampcode/orgs",
          "repos_url": "https://api.github.com/users/ampcode/repos",
          "events_url": "https://api.github.com/users/ampcode/events{/privacy}",
          "received_events_url": "https://api.github.com/users/ampcode/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "name": "Amp for GitHub",
        "description": "The frontier agent",
        "external_url": "https://ampcode.com",
        "html_url": "https://github.com/apps/amp-for-github",
        "created_at": "2025-05-14T17:20:52Z",
        "updated_at": "2026-11-06T08:23:53Z",
        "permissions": {
          "actions": "write",
          "checks": "read",
          "contents": "write",
          "deployments": "read",
          "issues": "write",
          "members": "read",
          "merge_queues": "read",
          "metadata": "read",
          "pull_requests": "write",
          "statuses": "read",
          "workflows": "write"
        },
        "events": [
          "issues",
          "issue_comment",
          "issue_dependencies"
        ]
      }
    },
    {
      "url": "https://api.github.com/repos/laravel/framework/issues/62447",
      "repository_url": "https://api.github.com/repos/laravel/framework",
      "labels_url": "https://api.github.com/repos/laravel/framework/issues/62447/labels{/name}",
      "comments_url": "https://api.github.com/repos/laravel/framework/issues/62447/comments",
      "events_url": "https://api.github.com/repos/laravel/framework/issues/62447/events",
      "html_url": "https://github.com/laravel/framework/pull/62447",
      "id": 6349894579,
      "node_id": "PR_kwDOAHMwOs8AAAABOo_aOg",
      "number": 62447,
      "title": "[13.x] Compare integers and booleans as strings in the database presence verifier",
      "user": {
        "login": "pushpak1300",
        "id": 31663512,
        "node_id": "MDQ6VXNlcjMxNjYzNTEy",
        "avatar_url": "https://avatars.githubusercontent.com/u/31663512?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/pushpak1300",
        "html_url": "https://github.com/pushpak1300",
        "followers_url": "https://api.github.com/users/pushpak1300/followers",
        "following_url": "https://api.github.com/users/pushpak1300/following{/other_user}",
        "gists_url": "https://api.github.com/users/pushpak1300/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/pushpak1300/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/pushpak1300/subscriptions",
        "organizations_url": "https://api.github.com/users/pushpak1300/orgs",
        "repos_url": "https://api.github.com/users/pushpak1300/repos",
        "events_url": "https://api.github.com/users/pushpak1300/events{/privacy}",
        "received_events_url": "https://api.github.com/users/pushpak1300/received_events",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "state": "open",
      "locked": false,
      "comments": 0,
      "created_at": "2026-11-12T12:34:31Z",
      "updated_at": "2026-11-12T12:34:31Z",
      "author_association": "MEMBER",
      "draft": false,
      "pull_request": {
        "url": "https://api.github.com/repos/laravel/framework/pulls/62447",
        "html_url": "https://github.com/laravel/framework/pull/62447",
        "diff_url": "https://github.com/laravel/framework/pull/62447.diff",
        "patch_url": "https://github.com/laravel/framework/pull/62447.patch"
      },
      "body": "`exists` and `unique` results depend on how the input arrives. For a `varchar` column holding `alpha` and `007`, on MySQL and MariaDB:\n\n| Input | Rule | Before | After |\n| -- | -- | -- | -- |\n| `\"0\"` (form) | `exists:invites,code` | fails |…",
      "reactions": {
        "url": "https://api.github.com/repos/laravel/framework/issues/62447/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "timeline_url": "https://api.github.com/repos/laravel/framework/issues/62447/timeline",
      "performed_via_github_app": {
        "id": 1276151,
        "client_id": "Iv23liQHiuVu9utPF8Wi",
        "slug": "amp-for-github",
        "node_id": "A_kwHODmsMH84AE3j3",
        "owner": {
          "login": "ampcode",
          "id": 241896479,
          "node_id": "O_kgDODmsMHw",
          "avatar_url": "https://avatars.githubusercontent.com/u/241896479?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/ampcode",
          "html_url": "https://github.com/ampcode",
          "followers_url": "https://api.github.com/users/ampcode/followers",
          "following_url": "https://api.github.com/users/ampcode/following{/other_user}",
          "gists_url": "https://api.github.com/users/ampcode/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/ampcode/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/ampcode/subscriptions",
          "organizations_url": "https://api.github.com/users/ampcode/orgs",
          "repos_url": "https://api.github.com/users/ampcode/repos",
          "events_url": "https://api.github.com/users/ampcode/events{/privacy}",
          "received_events_url": "https://api.github.com/users/ampcode/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "name": "Amp for GitHub",
        "description": "The frontier agent",
        "external_url": "https://ampcode.com",
        "html_url": "https://github.com/apps/amp-for-github",
        "created_at": "2025-05-14T17:20:52Z",
        "updated_at": "2026-11-06T08:23:53Z",
        "permissions": {
          "actions": "write",
          "checks": "read",
          "contents": "write",
          "deployments": "read",
          "issues": "write",
          "members": "read",
          "merge_queues": "read",
          "metadata": "read",
          "pull_requests": "write",
          "statuses": "read",
          "workflows": "write"
        },
        "events": [
          "issues",
          "issue_comment",
          "issue_dependencies"
        ]
      }
    },
    {
      "url": "https://api.github.com/repos/laravel/framework/issues/62446",
      "repository_url": "https://api.github.com/repos/laravel/framework",
      "labels_url": "https://api.github.com/repos/laravel/framework/issues/62446/labels{/name}",
      "comments_url": "https://api.github.com/repos/laravel/framework/issues/62446/comments",
      "events_url": "https://api.github.com/repos/laravel/framework/issues/62446/events",
      "html_url": "https://github.com/laravel/framework/pull/62446",
      "id": 6348157171,
      "node_id": "PR_kwDOAHMwOs8AAAABOnl0MQ",
      "number": 62446,
      "title": "[14.x] Add shouldMergeFrameworkConfiguration() to the Application contract",
      "user": {
        "login": "pawell67",
        "id": 20501059,
        "node_id": "MDQ6VXNlcjIwNTAxMDU5",
        "avatar_url": "https://avatars.githubusercontent.com/u/20501059?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/pawell67",
        "html_url": "https://github.com/pawell67",
        "followers_url": "https://api.github.com/users/pawell67/followers",
        "following_url": "https://api.github.com/users/pawell67/following{/other_user}",
        "gists_url": "https://api.github.com/users/pawell67/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/pawell67/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/pawell67/subscriptions",
        "organizations_url": "https://api.github.com/users/pawell67/orgs",
        "repos_url": "https://api.github.com/users/pawell67/repos",
        "events_url": "https://api.github.com/users/pawell67/events{/privacy}",
        "received_events_url": "https://api.github.com/users/pawell67/received_events",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "state": "open",
      "locked": false,
      "comments": 0,
      "created_at": "2026-11-12T10:50:46Z",
      "updated_at": "2026-11-12T10:50:46Z",
      "author_association": "CONTRIBUTOR",
      "draft": false,
      "pull_request": {
        "url": "https://api.github.com/repos/laravel/framework/pulls/62446",
        "html_url": "https://github.com/laravel/framework/pull/62446",
        "diff_url": "https://github.com/laravel/framework/pull/62446.diff",
        "patch_url": "https://github.com/laravel/framework/pull/62446.patch"
      },
      "body": "`shouldMergeFrameworkConfiguration()` lives on `Illuminate\\Foundation\\Application` but not on the `Application` contract, so `LoadConfiguration` only calls it after a `method_exists` check, while `ConfigPublishCommand` already calls it with…",
      "reactions": {
        "url": "https://api.github.com/repos/laravel/framework/issues/62446/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "timeline_url": "https://api.github.com/repos/laravel/framework/issues/62446/timeline"
    }
  ],
  "result_count": 30,
  "rate_limit": {
    "limit": 60,
    "remaining": 59,
    "used": 1,
    "reset": 1794492551
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/github?try=repository-issues#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

The response has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `search_parameters` | object |
| `issues` | object\[\] |
| `result_count` | integer |
| `rate_limit` | object |
