GitHub-API

GitHub-Repository readme-API

Get a GitHub repository's README by repository URL, as the Markdown text the maintainers wrote, with its file name, path and size. Use it to learn what a project does, which models and tools it uses, and how to reach its authors.

POST/v1/run/github.repository_readme
Verfügbarkeit
100,00%
30d · 401 Aufrufe
Anfragen
440
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-Repository readme-API: eine API, 3 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 Repository readme 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 `content` or `size`, 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 README 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": {
    "content": "A short example description of this item.",
    "downloadUrl": "https://example.com/page",
    "name": "Example title",
    "path": "example",
    "sha": "example",
    "size": 42,
    "url": "https://example.com/page"
  },
  "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-12-02 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • urlstring

    https://github.com/openai/whisper

    GitHub repository URL, e.g. https://github.com/openai/whisper. The README of the default branch is returned.

  • 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 `content` or `size`, 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 README that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

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

Antwort

JSON, ein Beispielwert pro Feld.

datadata

The README, or null when the repository or its README does not exist.

  • contentstringkann erfordern

    The README text exactly as committed, usually Markdown that may include HTML. One source returns it with HTML tags removed; name content in requireFields for the exact file.

  • downloadUrlstringkann erfordern

    Raw download URL of the README file.

  • namestringkann erfordern

    File name of the README, e.g. README.md.

  • pathstringkann erfordern

    Path of the README inside the repository.

  • shastringkann erfordern

    Git blob SHA of the README file.

  • sizeintegerkann erfordern

    Size of the README file in bytes.

  • urlstringkann erfordern

    GitHub URL of the README file.

top level
  • foundboolean

    Whether the repository was found and has a README.

  • 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-Repository readme-API

Die AnyAPI-GitHub-Repository readme-API liefert GitHub-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/github.repository_readme. Get a GitHub repository's README by repository URL, as the Markdown text the maintainers wrote, with its file name, path and size. Use it to learn what a project does, which models and tools it uses, and how to reach its authors. AnyAPI routet jede Anfrage über 3 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 Repository readme-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,1 Sekunden über 401 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.

Get a GitHub repository's README by repository URL, as the Markdown text the maintainers wrote, with its file name, path and size. Use it to learn what a project does, which models and tools it uses, and how to reach its authors. 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 Repository readme-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,1 Sekunden über 401 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-Repository readme-Aufrufe zu je 0,0012 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 3 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.repository_readme 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.