GroundsocialDocs

API · GitHub

GET /github/users/{handle}/velocity

How fast a GitHub user ships: contributions, commits, PRs and repos over time.

RequestGET /v1/github/users/{handle}/velocity
Operation idgithub.user.profile_velocity
Cost5 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

How fast a GitHub user ships: contributions, commits, PRs and repos over time.

Path parameters

NameTypeRequiredDescription
handlestringyesGitHub username, with or without the @, or a profile URL. Example: torvalds.

Query parameters

NameTypeRequiredDescription
depth"quick" | "default" | "deep"noquick, default or deep. One of quick, default, deep.

Responses

StatusMeaningSchema
200The velocity dossier.GitHubVelocityResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No public GitHub user, repository or issue by that name.Error
429Too many requests. Wait for Retry-After seconds.Error
503GitHub is temporarily unavailable. Retryable; nothing was charged.Error

GitHubVelocityResponse fields

FieldTypeDescription
userGitHubUser
depth"quick" | "default" | "deep"
contributionsobject
reposobject | nullFrom the latest-pushed public repos (null for depth=quick).
eventsobject | nullFrom 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.