---
title: "Get user project names"
method: GET
path: "/api/v1/users/{username}/projects"
tags: ["Stats"]
---

# Get user project names

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

Returns a list of project names for a user from the last 30 days. Accessible anonymously when the target user has public stats lookup enabled.

## Path parameters

- `username` string, required

## Response `200`

successful

- object
  - `projects` string[]

## Other responses

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

---

[API](https://skmtc.net/hackclub/apis/hackatime-api.md) · [All operations](https://skmtc.net/hackclub/apis/hackatime-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hackclub/hackatime-api/versions/4214f8ab061e/schema)
