Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

GitHub Issue and PR Search

Dokumentacja 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.

Cena
Od $0.0024USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 4 opcjonalnych

Playground

Wejście
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. Zakres: od 1 do 100.
Sort direction when sort is set. Defaults to desc.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
GitHubOd $0.0024 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON

Przewodniki:Best GitHub API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API GitHub Issue and PR Search?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/github/search-issues z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API GitHub Issue and PR Search?

Od $0.0024 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API GitHub Issue and PR Search?

Wymagane: query (string). Opcjonalne: page (integer), sort (jedna z opcji: comments, created, updated, reactions), limit (integer) i order (jedna z opcji: desc, asc). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API GitHub Issue and PR Search?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego GitHub lub klucza API?

Nie. GitHub Issue and PR Search działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API GitHub.