API di GitHub

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
Disponibilità
99,65%
30d · 568 chiamate
Richieste
593
30 g · settimanale, ultime 12 sett.
Risposta
1,7s
mediana · 30d

Stato

Caricamento dello stato...

Ricevi le email sui guasti di questo endpoint

Vedi tutti gli endpoint nella pagina di stato

Prezzi

Prezzi dell'API GitHub Search issues

Paghi
24,00 USD
2,40 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 41 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni GitHub Search issues in una sola richiesta

Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.
{
  "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"
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-25 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo 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.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API GitHub Search issues

L'API GitHub Search issues di AnyAPI restituisce dati GitHub come JSON normalizzato da una sola chiamata POST a /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 restituisce un unico schema normalizzato qualunque fonte la serva. Costa da 2,40 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 99,6% delle chiamate GitHub Search issues tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,7 secondi su 568 chiamate misurate.

Costa da 2,40 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

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. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 99,6% delle chiamate GitHub Search issues tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,7 secondi su 568 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 41 chiamate GitHub Search issues a 0,0024 USD ciascuna.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/github.search_issues con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.