API para GitHub

API para 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.

POST/v1/run/github.repository_issues
Disponibilidade
99,08%
30d · 109 chamadas
Requisições
135
30d · semanal, últimas 12 sem.
Resposta
2,1s
mediana · 30d

Status

Carregando status...

Receber e-mails de falhas deste endpoint

Ver todos os endpoints na página de status

Preços

Preços do endpoint Repository issues da API para GitHub

Você paga
US$ 12,00
US$ 1,20/mil req., só pelo que você usar. Sem plano mensal.
Suas primeiras 83 requisições são grátis com o saldo inicial de US$ 0,10.

Teste

Obtenha Repository issues do GitHub em uma só requisição

Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.
{
  "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"
}

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

    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.

Você envia. Um corpo JSON pequeno. Os valores mostrados são exemplos para você trocar pelos seus.

Resposta

JSON, um valor de exemplo por campo.

datadata

The page of issues, or null when not found.

  • hasMoreboolean

    True when another page of issues exists; request page + 1 to continue.

each issuedata.issues[]

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.

top level
  • 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.

Você recebe. Campos nomeados e tipados, no mesmo formato, seja qual for a fonte que responder.

Dúvidas frequentes

Sobre o endpoint Repository issues da API para GitHub

O endpoint Repository issues da AnyAPI para GitHub retorna dados de GitHub em JSON normalizado com uma chamada POST para /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. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. 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, 99,1% das chamadas ao endpoint Repository issues da API para GitHub feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,1 segundos, em 109 chamadas medidas.

Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

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. A resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

Nos últimos 30 dias, 99,1% das chamadas ao endpoint Repository issues da API para GitHub feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,1 segundos, em 109 chamadas medidas. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.

Sim. Uma conta nova da AnyAPI começa com US$ 0,10 de saldo grátis, sem cartão, o que cobre 83 chamadas de Repository issues do GitHub a US$ 0,0012 cada.

Envie uma requisição POST para https://api.getanyapi.com/v1/run/github.repository_issues com sua chave da AnyAPI em um cabeçalho "Authorization: Bearer" e a entrada como corpo JSON. A mesma chave e a mesma carteira funcionam em todos os endpoints da AnyAPI.

Não. Você adiciona dólares a um único saldo pré-pago da AnyAPI e cada requisição desconta dele. Não há plano mensal nem mínimo, e o mesmo saldo paga todos os endpoints da AnyAPI.

Sim. Instale @getanyapi/sdk pelo npm para TypeScript ou getanyapi pelo pip para Python. Os dois chamam todos os endpoints da AnyAPI com a mesma chave, e qualquer cliente HTTP também funciona.

Sim. Um agente pode se conectar ao servidor MCP da AnyAPI em https://api.getanyapi.com/mcp, ou criar a própria chave de teste grátis com um único POST sem autenticação para https://api.getanyapi.com/agent/signup e chamar este endpoint por HTTP.