---
title: "Get status bar today"
method: GET
path: "/api/hackatime/v1/users/{id}/statusbar/today"
tags: ["WakaTime Compatibility"]
---

# Get status bar today

`GET /api/hackatime/v1/users/{id}/statusbar/today`

Returns the total coding time for today. Used by editor plugins to display the status bar widget.

## Path parameters

- `id` string, required

## Response `200`

successful

- object
  - `data` object
    - `grand_total` object
      - `total_seconds` number
      - `text` string

## Other responses

- `401` — unauthorized

## Changes

- **2026-01-27** (v1) `b6d6849481da` — 1 warning
  - removed the optional property `data/goal` from the response with the `200` status

[Change history](https://skmtc.dev/hackclub/apis/hackatime-api/changes/api/hackatime/v1/users/:id/statusbar/today/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/b6d6849481da/schema)
