GitHub API

GitHub Search issues API

Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, created:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository.

POST/v1/run/github.search_issues
Uptime
99.65%
30d · 568 calls
Requests
593
30d · weekly, last 12 wks
Response
1.7s
median · 30d

Status

Loading status...

Get outage emails for this endpoint

See every endpoint on the status page

Pricing

GitHub Search issues API pricing

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

Try it

Get GitHub search 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"
      }
    ],
    "total": 12500
  },
  "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.

  • querystring

    repo:openai/whisper is:pr

    GitHub issue search query with any of GitHub's qualifiers, e.g. "repo:openai/whisper is:pr", "is:issue label:bug author:octocat", "repo:ggml-org/llama.cpp is:pr is:merged created:>2026-01-01".

  • 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 when sort is set. Defaults to desc.

  • pageinteger

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

  • sortenum

    Sort by number of comments, creation date, last update, or reactions. Omit for best match.

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 search results, or null when nothing matched.

  • hasMoreboolean

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

  • totalinteger

    Total number of matches GitHub reports. GitHub serves only the first 1,000 of them, so page times limit can be at most 1,000.

each issuedata.issues[]

Matching issues and pull requests. 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 search returned any issue or pull request.

  • 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 Search issues API

The AnyAPI GitHub Search issues API returns GitHub search issues data as normalized JSON from one POST call to /v1/run/github.search_issues. Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, created:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository. AnyAPI returns one normalized schema whichever source serves it. It costs from $2.40 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.6% of GitHub search issues calls through AnyAPI succeeded, with a median response time of 1.7 seconds across 568 measured calls.

It costs from $2.40 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.

Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, created:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository. 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.6% of GitHub search issues calls through AnyAPI succeeded, with a median response time of 1.7 seconds across 568 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 41 GitHub Search issues calls at $0.0024 each.

Send a POST request to https://api.getanyapi.com/v1/run/github.search_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.