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

GitHub User Activity

Документация API
https://api.sandbase.ai/v1/api/github/user-activity

List a GitHub user's public contribution activity by handle (grouped monthly summaries of commits, pull requests, and issues with repository links) for a given year.

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

Песочница

Ввод
GitHub username.
Year of contribution activity to return (defaults to the current year).
Pagination cursor from a previous response (pages backward by month).
ВыходГотово

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

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

README по API

GitHub User Activity API

List a GitHub user's public contribution activity by handle (grouped monthly summaries of commits, pull requests, and issues with repository links) for a given year.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "github/user-activity", "handle": "kentcdodds"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
handlestringYesGitHub username.
cursorstringNoPagination cursor from a previous response (pages backward by month).
yearstringNoYear of contribution activity to return (defaults to the current year).

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 User Activity?

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

Сколько стоит API GitHub User Activity?

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

Какие параметры принимает API GitHub User Activity?

Обязательные: handle (string). Необязательные: year (string) и cursor (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API GitHub User Activity?

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

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

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