Hackatime User Stats

Aggregates total coding hours, daily averages, streaks, trust factor, languages, and projects.

View Docs

Parameters

username string Required

Hackatime username or Slack ID

Example: chish

Responses

200 OK Success
{
  "username": "chish",
  "total_hours": 26,
  "daily_average_hours": 3.7,
  "streak_days": 8,
  "trust_factor": "green",
  "languages": [
    {
      "name": "Rust",
      "hours": 15.2,
      "percent": 58.5
    }
  ]
}
403 FORBIDDEN User has disabled public stats lookup
404 NOT_FOUND User not found