Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

GitHub User Contributions

APIドキュメント
https://api.sandbase.ai/v1/api/github/user-contributions

Fetch a GitHub user's contribution graph for a year (total contributions plus per-day counts and heatmap intensity).

料金
$0.0012 からUSD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 1 件

プレイグラウンド

入力
GitHub username.
Calendar year of the contribution graph. Defaults to the current year.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

GitHub User Contributions API

Fetch a GitHub user's contribution graph for a year (total contributions plus per-day counts and heatmap intensity).

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-contributions", "year": 2024, "handle": "torvalds"}'

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

Parameters

NameTypeRequiredDescription
handlestringYesGitHub username.
yearintegerNoCalendar year of the contribution graph. 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価格レスポンス
GitHub1回あたり $0.0012 からJSON
GitHub1回あたり $0.0012 からJSON
GitHub1回あたり $0.0012 からJSON
GitHub1回あたり $0.0012 からJSON
GitHub1回あたり $0.0012 からJSON
GitHub1回あたり $0.0012 からJSON

ガイド:Best GitHub API in 2026: Pricing Compared

質問

FAQ

GitHub User Contributions API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/github/user-contributions に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

GitHub User Contributions API の料金はいくらですか?

1回あたり $0.0012 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

GitHub User Contributions API はどのパラメータを受け付けますか?

必須: handle (string)。 任意: year (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

GitHub User Contributions API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。

GitHub の開発者アカウントまたは API key は必要ですか?

いいえ。GitHub User Contributions は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。GitHub の API アクセスを別途申請する必要はありません。