urlstringобязательно
GitHub repository URL, e.g. https://github.com/openai/whisper.
https://api.sandbase.ai/v1/api/github/repository-issuesList 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.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | GitHub repository URL, e.g. https://github.com/openai/whisper. |
limit | integer | No | Rows 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. |
order | string | No | Sort direction. Defaults to desc. One of: desc, asc. |
page | integer | No | 1-based page of issues. Request page + 1 while hasMore is true. Default 1. |
since | string | No | Only issues last-active on or after this date (YYYY-MM-DD). |
sort | string | No | Sort by creation date, last update, or number of comments. Defaults to opened. One of: created, updated, comments. |
state | string | No | Which issues to list. Defaults to open. One of: open, closed, all. |
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.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/github/repository-issues" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://github.com/openai/whisper",
"page": 1,
"limit": 100
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
urlstringобязательноGitHub repository URL, e.g. https://github.com/openai/whisper.
pageinteger1-based page of issues. Request page + 1 while hasMore is true.
По умолчанию: 1
sortstringSort by creation date, last update, or number of comments. Defaults to opened.
Возможные значения: created, updated, comments
limitintegerRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size.
По умолчанию: 100
orderstringSort direction. Defaults to desc.
Возможные значения: desc, asc
sincestringOnly issues last-active on or after this date (YYYY-MM-DD).
statestringWhich issues to list. Defaults to open.
Возможные значения: open, closed, all
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
GitHub Repository IssuesЭтот 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
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/github/repository-issues, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.0012 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: url (string). Необязательные: page (integer), sort (один из created, updated, comments), limit (integer), order (один из desc, asc), since (string) и state (один из open, closed, all). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно).
Нет. GitHub Repository Issues работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API GitHub.