API · GitHub
GET /github/users/{handle}/velocity
How fast a GitHub user ships: contributions, commits, PRs and repos over time.
| |
|---|
| Request | GET /v1/github/users/{handle}/velocity |
| Operation id | github.user.profile_velocity |
| Cost | 5 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
How fast a GitHub user ships: contributions, commits, PRs and repos over time.
| Name | Type | Required | Description |
|---|
handle | string | yes | GitHub username, with or without the @, or a profile URL. Example: torvalds. |
| Name | Type | Required | Description |
|---|
depth | "quick" | "default" | "deep" | no | quick, default or deep. One of quick, default, deep. |
| Status | Meaning | Schema |
|---|
200 | The velocity dossier. | GitHubVelocityResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No public GitHub user, repository or issue by that name. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | GitHub is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
user | GitHubUser | |
depth | "quick" | "default" | "deep" | |
contributions | object | |
repos | object | null | From the latest-pushed public repos (null for depth=quick). |
events | object | null | From the latest public events, GitHub keeps 90 days (null for depth=quick). |
Errors use one shape everywhere; see Errors for every code and what to do.