---
title: "Get WakaTime-compatible summary"
method: GET
path: "/api/summary"
tags: ["WakaTime Compatibility"]
---

# Get WakaTime-compatible summary

`GET /api/summary`

Returns a summary of coding activity in a format compatible with WakaTime clients. This endpoint does NOT authenticate any API token: access is gated solely by the target user (identified by user_id/user) having allow_public_stats_lookup enabled. No caller credentials are required or verified.

## Query parameters

- `start` string, date
- `from` string, date
- `end` string, date
- `to` string, date
- `interval` string
- `range` string
- `user_id` string, required
- `user` string

## Response `200`

successful

- object
  - `user_id` string, nullable
  - `from` string, date_time
  - `to` string, date_time
  - `projects` object[]
    - `key` string
    - `total` number
  - `languages` object[]
    - `key` string
    - `total` number
  - `editors` object, nullable
  - `operating_systems` object, nullable
  - `machines` object, nullable
  - `categories` object, nullable
  - `branches` object, nullable
  - `entities` object, nullable
  - `labels` object, nullable

## Other responses

- `400` — invalid date range
- `403` — user has disabled public stats
- `404` — user not found

## Changes

> 27 revisions in range; 3 could not be searched.

- **2026-06-07** (v1) `10d87f00ef0b` — 1 warning, 4 info
  - deleted the `query` request parameter `project`
  - the endpoint scheme security `Bearer AND ApiKeyAuth` was removed from the API
  - added the new optional `query` request parameter `from`
  - added the new optional `query` request parameter `range`
  - …1 more
- **2026-04-12** (v1) `347f8d8305fa` — 1 breaking, 2 info
  - added the new required `query` request parameter `user_id`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
- **2026-01-28** (v1) `a9eaba48a93a` — 2 breaking
  - for the `query` request parameter `end`, the type/format was changed from `string`/`` to `string`/`date`
  - for the `query` request parameter `start`, the type/format was changed from `string`/`` to `string`/`date`
- **2026-01-27** (v1) `b6d6849481da` — 4 warning, 6 info
  - deleted the `query` request parameter `from`
  - deleted the `query` request parameter `range`
  - deleted the `query` request parameter `to`
  - deleted the `query` request parameter `user_id`
  - …6 more

[Change history](https://skmtc.dev/hackclub/apis/hackatime-api/changes/api/summary/get.md)

---

[API](https://skmtc.dev/hackclub/apis/hackatime-api.md) · [All operations](https://skmtc.dev/hackclub/apis/hackatime-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hackclub/hackatime-api/revisions/172c35ec816f/schema)
