API de GitHub

API de GitHub: Issue comments

List the comments on a GitHub issue or pull request by its URL, oldest first, with each commenter's login, their relationship to the repository, reactions and the comment text.

POST/v1/run/github.issue_comments
Disponibilidad
100.00%
30d · 92 llamadas
Solicitudes
92
30d · semanal, últimas 12 sem.
Respuesta
1.1s
mediana · 30d

Estado

Cargando estado...

Recibe correos de fallas de este endpoint

Ver todos los endpoints en la página de estado

Precios y proveedores

Precios del endpoint Issue comments de la API de GitHub: una API, 2 proveedores intercambiables

El proveedor más barato responde primero. Si falla, el siguiente toma el relevo en la misma llamada.

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

Pruébalo

Obtén Issue comments de GitHub en una sola solicitud

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `authorAssociation` or `body`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
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": {
    "comments": [
      {
        "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.",
        "createdUtc": 12.5,
        "id": "a1b2c3d4",
        "reactions": 42,
        "updatedUtc": 12.5,
        "url": "https://example.com/page"
      }
    ],
    "nextCursor": "example"
  },
  "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.

  • urlstring

    https://github.com/openai/whisper/pull/1838

    URL of a GitHub issue or pull request, e.g. https://github.com/openai/whisper/pull/1838.

  • cursorstring

    Cursor de paginación del nextCursor de una respuesta anterior.

  • limitinteger

    10

    Rows per page, 1-100 (GitHub's own page-size limit). Each call returns one full page of this size; use nextCursor for the next page.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `authorAssociation` or `body`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

  • sincestring

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

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.

each commentdata.comments[]

Comments in the order they were posted. Review comments on pull request code lines are not included. Populated whenever the provider has data for the entity.

  • authorstring

    GitHub login of the commenter. Populated whenever the provider has data for the entity.

  • authorAssociationstringse puede exigir

    The commenter'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 commenter.

  • authorIdstringse puede exigir

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

  • authorTypestringse puede exigir

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

  • bodystringse puede exigir

    Comment text in Markdown. One source returns it with HTML tags removed; name body in requireFields for the exact Markdown.

  • createdUtcnumber

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

  • idstring

    GitHub's numeric comment id, as a string.

  • reactionsinteger

    Total number of reactions of every kind.

  • updatedUtcnumberse puede exigir

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

  • urlstring

    Canonical GitHub URL of the comment. Populated whenever the provider has data for the entity.

datadata

The page of comments, or null when not found.

  • nextCursorstring

    Opaque cursor for the next page of comments, or null when there are no more. Pass it back as cursor to continue.

top level
  • foundboolean

    Whether the issue or pull request was found and has comments.

  • 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 Issue comments de la API de GitHub

El endpoint Issue comments de AnyAPI para GitHub devuelve datos de GitHub como JSON normalizado con una sola llamada POST a /v1/run/github.issue_comments. List the comments on a GitHub issue or pull request by its URL, oldest first, with each commenter's login, their relationship to the repository, reactions and the comment text. AnyAPI enruta cada solicitud entre 2 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$1.20 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 100.0% de las llamadas al endpoint Issue comments de la API de GitHub a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.1 segundos en 92 llamadas medidas.

Cuesta desde US$1.20 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.

List the comments on a GitHub issue or pull request by its URL, oldest first, with each commenter's login, their relationship to the repository, reactions and the comment text. 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 100.0% de las llamadas al endpoint Issue comments de la API de GitHub a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.1 segundos en 92 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 83 llamadas a Issue comments de GitHub a US$0.0012 cada una.

AnyAPI consulta la siguiente de sus 2 fuentes en la misma solicitud, empezando por la más barata, así que la caída de una fuente no hace fallar tu llamada.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/github.issue_comments 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.