Skip to main content

Stats & profile

Authenticated read APIs used by the dashboard and account tools. All routes require Bearer authentication unless noted.

These summaries describe purpose, not every nested JSON field. Response shapes can gain additive properties over time.

Profile

GET /main/api/v1/get/my/profile/info

Returns the current user's profile presentation fields (name, avatar references, and related public profile metadata).

Profile edits (name, avatar upload) are available to the first-party web app. Integrators that only sync activity usually do not need write profile routes.

Coding statistics

Common reads:

Method & pathPurpose
GET /main/api/v1/get/my/statsHigh-level personal coding stats
GET /main/api/v1/get/my/language/statsTime broken down by language
GET /main/api/v1/get/my/activity/historyHistorical activity slices
GET /main/api/v1/get/my/dashboard/statsDashboard aggregate cards (IDE activity)
GET /main/api/v1/get/my/dashboard/stats/desktopDashboard aggregates for desktop-agent activity
GET /main/api/v1/get/my/project/statsPer-project breakdown
GET /main/api/v1/get/my/profile/activity/heatmapHeatmap-oriented activity series

Use these when building a custom dashboard client. Prefer the hosted UI at analogwakatime.com/dashboard for end users.

Exports

Users can download their own data:

PathPurpose
GET /main/api/v1/export/my/profile-dataProfile-oriented export JSON
GET /main/api/v1/export/my/activity-dataActivity history export JSON

Treat export files as sensitive (they can include identifiers and tokens depending on export type). See the site Export Data Policy.

Teams & leaderboards (high level)

Authenticated team and personal leaderboard reads exist for product features (for example “my top” leaderboard entries and team role listing). Exact team-administration and invitation workflows are owned by the web app and are not fully enumerated here.

What is not covered

For safety and product integrity, this public docs set does not expand on:

  • billing provider webhooks and subscription mutation internals
  • two-factor setup/backup material beyond “2FA exists in the product”
  • account deletion state machines
  • operator / metrics / internal service routes
  • privileged device-authorize helpers beyond the plugin poll flow

Contact support if you need a partner integration beyond the documented client surface.