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

GitHub Issue and PR Search

Documentazione API
https://api.sandbase.ai/v1/api/github/search-issues

Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, opened:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository.

Prezzo
Da $0.0024USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 4 opzionali

Playground

Input
GitHub issue search query with any of GitHub's qualifiers, e.g. "repo:openai/whisper is:pr", "is:issue label:bug author:octocat", "repo:ggml-org/llama.cpp is:pr is:merged opened:>2026-01-01".
1-based page of results. Request page + 1 while hasMore is true. Minimo: 1.
Sort by number of comments, creation date, last update, or reactions. Omit for best match.
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 when sort is set. Defaults to desc.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

GitHub Issue and PR Search API

Search issues and pull requests across GitHub with GitHub's own search syntax (repo:, is:pr, is:issue, author:, label:, opened:...), with each result's author, state, labels, counts and body. Use it to find who opens issues and pull requests on a repository.

Request

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

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

Parameters

NameTypeRequiredDescription
querystringYesGitHub issue search query with any of GitHub's qualifiers, e.g. "repo:openai/whisper is:pr", "is:issue label:bug author:octocat", "repo:ggml-org/llama.cpp is:pr is:merged opened:>2026-01-01".
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 when sort is set. Defaults to desc. One of: desc, asc.
pageintegerNo1-based page of results. Request page + 1 while hasMore is true. Default 1.
sortstringNoSort by number of comments, creation date, last update, or reactions. Omit for best match. One of: comments, created, updated, reactions.

Pricing

Billed at the actual cost of each call, about $0.0024 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.0024 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 Issue and PR Search?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/github/search-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 Issue and PR Search?

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

Quali parametri accetta l'API GitHub Issue and PR Search?

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

Cosa restituisce l'API GitHub Issue and PR Search?

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

Mi serve un account sviluppatore o una chiave API GitHub?

No. GitHub Issue and PR Search 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.