---
title: "Get details for multiple projects"
method: GET
path: "/api/v1/users/{username}/projects/details"
tags: ["Stats"]
---

# Get details for multiple projects

`GET /api/v1/users/{username}/projects/details`

Returns details for multiple projects, or all projects in a time range. Accessible anonymously when the target user has public stats lookup enabled.

## Path parameters

- `username` string, required

## Query parameters

- `projects` string
- `since` string, date_time
- `until` string, date_time
- `until_date` string, date_time
- `start` string, date_time
- `end` string, date_time
- `start_date` string, date_time
- `end_date` string, date_time

## Response `200`

successful

- object
  - `projects` object[]
    - `name` string
    - `total_seconds` number
    - `languages` string[]
    - `repo_url` string, nullable
    - `total_heartbeats` integer
    - `first_heartbeat` string, date_time, nullable
    - `last_heartbeat` string, date_time, nullable
    - `most_recent_heartbeat` string, date_time, nullable
    - `archived` boolean

## Other responses

- `403` — forbidden — The target user has disabled public stats lookup and the requester is not that user.
- `404` — user not found

## Changes

- **2026-06-07** (v1) `10d87f00ef0b` — 7 info
  - the endpoint scheme security `Bearer AND ApiKeyAuth` was removed from the API
  - api tag `Stats` added
  - api tag `Users` removed
  - added the non-success response with the status `403`
  - …3 more
- **2026-02-15** (v1) `a71a54c28264` — 3 info
  - added the new optional `query` request parameter `end`
  - added the new optional `query` request parameter `start`
  - added the new optional `query` request parameter `until`
- **2026-01-28** (v1) `a9eaba48a93a` — 4 breaking
  - for the `query` request parameter `end_date`, the type/format was changed from `string`/`` to `string`/`date_time`
  - for the `query` request parameter `since`, the type/format was changed from `string`/`` to `string`/`date_time`
  - for the `query` request parameter `start_date`, the type/format was changed from `string`/`` to `string`/`date_time`
  - for the `query` request parameter `until_date`, the type/format was changed from `string`/`` to `string`/`date_time`
- **2026-01-27** (v1) `b6d6849481da` — 5 warning, 9 info
  - deleted the `query` request parameter `end`
  - deleted the `query` request parameter `start`
  - deleted the `query` request parameter `until`
  - removed the optional property `projects/items/archived` from the response with the `200` status
  - …10 more

[Change history](https://skmtc.dev/hackclub/apis/hackatime-api/changes/api/v1/users/:username/projects/details/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)
