GitHub-API

GitHub-Issue comments-API

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
Verfügbarkeit
100,00%
30d · 92 Aufrufe
Anfragen
92
30 T · wöchentlich, letzte 12 Wochen
Antwort
1,1s
Median · 30d

Status

Status wird geladen...

Ausfall-E-Mails für diesen Endpoint erhalten

Alle Endpoints auf der Statusseite ansehen

Preise und Anbieter

Preise der GitHub-Issue comments-API: eine API, 2 austauschbare Anbieter

Der günstigste Anbieter bedient zuerst. Fällt er aus, übernimmt der nächste im selben Aufruf.

Du zahlst
12,00 USD
1,20 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 83 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Ausprobieren

GitHub Issue comments mit einer Anfrage abrufen

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.
Öffnen in
Beispielantwort
Kostenlose Läufe liefern nur die ersten 3 Ergebnisse. Lade einen Schlüssel auf, um die vollständige Antwort zu bekommen.
{
  "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"
}

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-11-25 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • 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

    Paginierungs-Cursor aus dem nextCursor einer vorherigen Antwort.

  • 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).

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

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.

  • authorAssociationstringkann erfordern

    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.

  • authorIdstringkann erfordern

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

  • authorTypestringkann erfordern

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

  • bodystringkann erfordern

    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.

  • updatedUtcnumberkann erfordern

    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.

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die GitHub-Issue comments-API

Die AnyAPI-GitHub-Issue comments-API liefert GitHub-Daten als normalisiertes JSON aus einem POST-Aufruf an /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 routet jede Anfrage über 2 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 1,20 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 100,0% der GitHub Issue comments-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,1 Sekunden über 92 gemessene Aufrufe.

Sie kostet ab 1,20 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

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. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

In den letzten 30 Tagen waren 100,0% der GitHub Issue comments-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,1 Sekunden über 92 gemessene Aufrufe. Das sind AnyAPIs eigene Messungen des Traffics durch das Gateway, laufend neu berechnet, kein veröffentlichtes Service-Level-Ziel.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 83 GitHub-Issue comments-Aufrufe zu je 0,0012 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 2 Quellen, die günstigste zuerst, sodass der Ausfall einer Quelle deinen Aufruf nicht scheitern lässt.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/github.issue_comments mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.