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

GitHub Repository Issues

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

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

Песочница

Ввод
GitHub repository URL, e.g. https://github.com/openai/whisper.
1-based page of issues. Request page + 1 while hasMore is true. Минимум: 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. Диапазон: от 1 до 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.
ВыходГотово

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

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

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.

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

Связанные APIs

Все APIs
APIЦенаОтвет
GitHubОт $0.0012 за запрос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 Repository Issues?

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

Сколько стоит API GitHub Repository Issues?

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

Какие параметры принимает API GitHub Repository Issues?

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

Что возвращает API GitHub Repository Issues?

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

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

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