GitHub API

GitHub Repository issues API

List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and update date.

POST/v1/run/github.repository_issues
Uptime
99.32%
30d · 148 calls
Requests
148
30d · weekly, last 12 wks
Response
2.0s
median · 30d

Status

Loading status...

Get outage emails for this endpoint

See every endpoint on the status page

Pricing

GitHub Repository issues API pricing

You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get GitHub repository issues in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "hasMore": true,
    "issues": [
      {
        "author": "Alex Rivera",
        "authorAssociation": "Alex Rivera",
        "authorAvatarUrl": "https://example.com/image.jpg",
        "authorId": "Alex Rivera",
        "authorType": "Alex Rivera",
        "body": "A short example description of this item.",
        "closedUtc": 12.5,
        "comments": 12500,
        "createdUtc": 12.5,
        "draft": true,
        "id": "a1b2c3d4",
        "isPullRequest": true,
        "labels": [
          "Example title"
        ],
        "mergedUtc": 12.5,
        "number": 42,
        "reactions": 42,
        "repo": "example",
        "state": "CA",
        "title": "Example title",
        "updatedUtc": 12.5,
        "url": "https://example.com/page"
      }
    ]
  },
  "found": true,
  "reason": "not_found"
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-25 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • urlstring

    https://github.com/openai/whisper

    GitHub repository URL, e.g. https://github.com/openai/whisper.

  • limitinteger

    Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size.

  • orderenum

    Sort direction. Defaults to desc.

  • pageinteger

    1-based page of issues. Request page + 1 while hasMore is true.

  • sincestring

    Only issues updated on or after this date (YYYY-MM-DD).

  • sortenum

    Sort by creation date, last update, or number of comments. Defaults to created.

  • stateenum

    Which issues to list. Defaults to open.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata

The page of issues, or null when not found.

  • hasMoreboolean

    True when another page of issues exists; request page + 1 to continue.

each issuedata.issues[]

Issues and pull requests, newest first unless sorted otherwise. Populated whenever the provider has data for the entity.

  • authorstring

    GitHub login of the person who opened it. Populated whenever the provider has data for the entity.

  • authorAssociationstring

    The author's relationship to the repository, as GitHub reports it: OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, FIRST_TIME_CONTRIBUTOR, FIRST_TIMER or NONE.

  • authorAvatarUrlstring

    Avatar image URL of the author.

  • authorIdstring

    GitHub's numeric user id of the author, as a string.

  • authorTypestring

    Account type of the author: User, Bot or Organization.

  • bodystring

    Markdown body as written, or null when empty.

  • closedUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Null while open.

  • commentsinteger

    Number of comments.

  • createdUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • draftboolean

    Whether a pull request is a draft; null for an issue.

  • idstring

    GitHub's numeric issue id, as a string.

  • isPullRequestboolean

    True for a pull request, false for an issue.

  • labelsstring[]

    Names of the labels applied.

  • mergedUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Set only on a merged pull request.

  • numberinteger

    Issue or pull request number within its repository (the #N shown on GitHub).

  • reactionsinteger

    Total number of reactions of every kind.

  • repostring

    Repository the issue belongs to, in owner/name form.

  • statestring

    open or closed. A merged pull request is closed and has mergedUtc set.

  • titlestring

    Title of the issue or pull request. Populated whenever the provider has data for the entity.

  • updatedUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • urlstring

    Canonical GitHub URL of the issue or pull request. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    Whether the repository was found and has issues matching the filters.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the GitHub Repository issues API

The AnyAPI GitHub Repository issues API returns GitHub repository issues data as normalized JSON from one POST call to /v1/run/github.repository_issues. List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and update date. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.3% of GitHub repository issues calls through AnyAPI succeeded, with a median response time of 2.0 seconds across 148 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and update date. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 99.3% of GitHub repository issues calls through AnyAPI succeeded, with a median response time of 2.0 seconds across 148 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 GitHub Repository issues calls at $0.0012 each.

Send a POST request to https://api.getanyapi.com/v1/run/github.repository_issues with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.