API para 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.
Status
Carregando status...
Receber e-mails de falhas deste endpoint
Ver todos os endpoints na página de statusPreços e provedores
Preços do endpoint Issue comments da API para GitHub: uma API, 2 provedores intercambiáveis
O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.
Teste
Obtenha Issue comments do GitHub em uma só requisição
{
"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"
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-12-02 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para 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 paginação do nextCursor de uma resposta 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).
Resposta
JSON, um valor de exemplo por campo.
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.
- authorAssociationstringpode ser exigido
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.
- authorIdstringpode ser exigido
GitHub's numeric user id of the commenter, as a string.
- authorTypestringpode ser exigido
Account type of the commenter: User, Bot or Organization.
- bodystringpode ser exigido
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.
- updatedUtcnumberpode ser exigido
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.
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.
- 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.
Dúvidas frequentes
Sobre o endpoint Issue comments da API para GitHub
O endpoint Issue comments da AnyAPI para GitHub retorna dados de GitHub em JSON normalizado com uma chamada POST para /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. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Issue comments da API para GitHub feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,3 segundos, em 55 chamadas medidas.