GitHub Repository issues API
List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and update date.
Statut
Chargement du statut...
Recevoir les e-mails de panne de cet endpoint
Voir tous les endpoints sur la page de statutTarifs
Tarifs de l’API GitHub Repository issues
Essayer
Obtenez GitHub Repository issues en une requête
{
"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"
}
]
},
"found": true,
"reason": "not_found"
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-28 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- urlstring
https://github.com/openai/whisper
GitHub repository URL, e.g. https://github.com/openai/whisper.
- 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. Defaults to desc.
- pageinteger
1-based page of issues. Request page + 1 while hasMore is true.
- sincestring
Only issues updated on or after this date (YYYY-MM-DD).
- sortenum
Sort by creation date, last update, or number of comments. Defaults to created.
- stateenum
Which issues to list. Defaults to open.
Réponse
JSON, une valeur d’exemple par champ.
The page of issues, or null when not found.
- hasMoreboolean
True when another page of issues exists; request page + 1 to continue.
Issues and pull requests, newest first unless sorted otherwise. 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.
- foundboolean
Whether the repository was found and has issues matching the filters.
- 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.
FAQ
À propos de l’API GitHub Repository issues
L’API GitHub Repository issues d’AnyAPI renvoie des données GitHub en JSON normalisé à partir d’un appel POST à /v1/run/github.repository_issues. List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and update date. AnyAPI renvoie un schéma normalisé unique quelle que soit la source qui répond. Elle coûte à partir de 1,20 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 99,4% des appels GitHub Repository issues passés par AnyAPI ont réussi, avec un temps de réponse médian de 2,0 secondes, sur 161 appels mesurés.