Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

GitHub Repository Issues

Documentazione API
https://api.sandbase.ai/v1/api/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 last-activity date.

Prezzo
Da $0.0012USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 6 opzionali

Playground

Input
GitHub repository URL, e.g. https://github.com/openai/whisper.
1-based page of issues. Request page + 1 while hasMore is true. Minimo: 1.
Sort by creation date, last update, or number of comments. Defaults to opened.
1100
Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Intervallo: da 1 a 100.
Sort direction. Defaults to desc.
Only issues last-active on or after this date (YYYY-MM-DD).
Which issues to list. Defaults to open.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

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 last-activity date.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "github/repository-issues", "url": "https://github.com/openai/whisper"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
urlstringYesGitHub repository URL, e.g. https://github.com/openai/whisper.
limitintegerNoRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Default 100.
orderstringNoSort direction. Defaults to desc. One of: desc, asc.
pageintegerNo1-based page of issues. Request page + 1 while hasMore is true. Default 1.
sincestringNoOnly issues last-active on or after this date (YYYY-MM-DD).
sortstringNoSort by creation date, last update, or number of comments. Defaults to opened. One of: created, updated, comments.
statestringNoWhich issues to list. Defaults to open. One of: open, closed, all.

Pricing

Billed at the actual cost of each call, about $0.0012 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
GitHubDa $0.0012 per chiamataJSON
GitHubDa $0.0012 per chiamataJSON
GitHubDa $0.0012 per chiamataJSON
GitHubDa $0.0012 per chiamataJSON
GitHubDa $0.0012 per chiamataJSON
GitHubDa $0.0012 per chiamataJSON

Guide:Best GitHub API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API GitHub Repository Issues?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/github/repository-issues con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API GitHub Repository Issues?

A partire da $0.0012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API GitHub Repository Issues?

Richiesti: url (string). Facoltativi: page (integer), sort (uno tra created, updated, comments), limit (integer), order (uno tra desc, asc), since (string) e state (uno tra open, closed, all). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API GitHub Repository Issues?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).

Mi serve un account sviluppatore o una chiave API GitHub?

No. GitHub Repository Issues funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API GitHub.