API de GitHub

API de 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.

POST/v1/run/github.search_issues
Disponibilidad
99.65%
30d · 568 llamadas
Solicitudes
593
30d · semanal, últimas 12 sem.
Respuesta
1.7s
mediana · 30d

Estado

Cargando estado...

Recibe correos de fallas de este endpoint

Ver todos los endpoints en la página de estado

Precios

Precios del endpoint Search issues de la API de GitHub

Pagas
US$24.00
US$2.40/1k solic., solo por lo que usas. Sin plan mensual.
Tus primeras 41 solicitudes son gratis con el saldo inicial de US$0.10.

Pruébalo

Obtén Search issues de GitHub en una sola solicitud

Abrir en
Respuesta de ejemplo
Las ejecuciones gratis devuelven solo los primeros 3 resultados. Agrega fondos a una clave para obtener la respuesta 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"
}

Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.

Referencia

Una solicitud, un formato de respuesta.

Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.

Verificado por última vez el 2026-11-25 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a este 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.

Envías. Un cuerpo JSON pequeño. Los valores que se muestran son ejemplos para reemplazar por los tuyos.

Respuesta

JSON, un valor de ejemplo por 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.

Recibes. Campos con nombre y tipo, con el mismo formato sin importar qué fuente responda.

Preguntas frecuentes

Acerca del endpoint Search issues de la API de GitHub

El endpoint Search issues de AnyAPI para GitHub devuelve datos de GitHub como JSON normalizado con una sola llamada 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 devuelve un único esquema normalizado sin importar qué fuente atienda la solicitud. Cuesta desde US$2.40 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 99.6% de las llamadas al endpoint Search issues de la API de GitHub a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.7 segundos en 568 llamadas medidas.

Cuesta desde US$2.40 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. Agregas fondos a una billetera en dólares y cada llamada descuenta de ella. Algunas solicitudes fallidas pagadas con la billetera generan cargos de procesamiento que trasladamos al costo, sin margen; la respuesta de error muestra el monto cobrado.

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 respuesta es JSON normalizado con el mismo envoltorio que devuelve cada endpoint de AnyAPI, así que procesar un segundo endpoint es solo cambiar la URL.

En los últimos 30 días, el 99.6% de las llamadas al endpoint Search issues de la API de GitHub a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.7 segundos en 568 llamadas medidas. Estas son mediciones propias de AnyAPI sobre el tráfico que pasa por el gateway, recalculadas continuamente, no un objetivo de nivel de servicio publicado.

Sí. Una cuenta nueva de AnyAPI empieza con US$0.10 de saldo gratis, sin tarjeta, que alcanza para 41 llamadas a Search issues de GitHub a US$0.0024 cada una.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/github.search_issues con tu clave de AnyAPI en un encabezado "Authorization: Bearer" y la entrada como cuerpo JSON. La misma clave y la misma billetera sirven para todos los endpoints de AnyAPI.

No. Agregas dólares a un solo saldo prepagado de AnyAPI y cada solicitud descuenta de él. No hay plan mensual ni mínimo, y el mismo saldo paga todos los endpoints de AnyAPI.

Sí. Instala @getanyapi/sdk desde npm para TypeScript o getanyapi desde pip para Python. Ambos llaman a todos los endpoints de AnyAPI con la misma clave, y también sirve cualquier cliente HTTP.

Sí. Un agente puede conectarse al servidor MCP de AnyAPI en https://api.getanyapi.com/mcp, o crear su propia clave de prueba gratis con un solo POST sin autenticar a https://api.getanyapi.com/agent/signup y llamar a este endpoint por HTTP.