Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

GitHub Issue and PR Search

Документация 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.

Цена
От $0.0024USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 4 необязательных

Песочница

Ввод
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. Минимум: 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. Диапазон: от 1 до 100.
Sort direction when sort is set. Defaults to desc.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
GitHubОт $0.0024 за запросJSON
GitHubОт $0.0012 за запросJSON
GitHubОт $0.0012 за запросJSON
GitHubОт $0.0012 за запросJSON
GitHubОт $0.0012 за запросJSON
GitHubОт $0.0012 за запросJSON

Руководства:Best GitHub API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API GitHub Issue and PR Search?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/github/search-issues, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API GitHub Issue and PR Search?

От $0.0024 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API GitHub Issue and PR Search?

Обязательные: query (string). Необязательные: page (integer), sort (один из comments, created, updated, reactions), limit (integer) и order (один из desc, asc). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API GitHub Issue and PR Search?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно).

Нужен ли мне аккаунт разработчика GitHub или API key?

Нет. GitHub Issue and PR Search работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API GitHub.