GitHub
GitHub Profile Velocity API
A user's public-activity velocity: total events, active days, events per week, event-type breakdown and most-active repository over the trailing window. Costs 10 credits per request.
POST/api/v1/github/user/profile-velocity
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonhandlestringrequiredGitHub username, @handle, or a github.com/<user> URL.
Example: torvalds
depthenum<string>default:defaultquick reads 1 page of events; default and deep read up to 3.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.github.profile_velocity("torvalds", depth="default")
print(result)Response
"handle": "torvalds",
"events_total": 158,
"push_events": 130,
"active_days": 32,
"events_per_week": 35.6,
"first_event_at": "2026-07-22T14:06:59Z",
"last_event_at": "2026-08-22T16:16:52Z",
"window_days": 90
},
"response_time": 1614
}