Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

GitHub Issue and PR Search

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

Preis
Ab $0.0024USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 4 optional

Playground

Eingabe
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. Minimum: 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. Bereich: 1 bis 100.
Sort direction when sort is set. Defaults to desc.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
GitHubAb $0.0024 pro AufrufJSON
GitHubAb $0.0012 pro AufrufJSON
GitHubAb $0.0012 pro AufrufJSON
GitHubAb $0.0012 pro AufrufJSON
GitHubAb $0.0012 pro AufrufJSON
GitHubAb $0.0012 pro AufrufJSON

Anleitungen:Best GitHub API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die GitHub Issue and PR Search API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/github/search-issues mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die GitHub Issue and PR Search API?

Ab $0.0024 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die GitHub Issue and PR Search API?

Erforderlich: query (string). Optional: page (integer), sort (eines von comments, created, updated, reactions), limit (integer) und order (eines von desc, asc). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die GitHub Issue and PR Search API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).

Benötige ich ein GitHub-Entwicklerkonto oder einen API-Schlüssel?

Nein. GitHub Issue and PR Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für GitHub API beantragen.