---
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
    - `goal` object, nullable
      - `target_seconds` number
      - `tracked_seconds` number
      - `completion_percent` number
      - `complete` boolean

## Other responses

- `401` — unauthorized

## Changes

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

- **2026-03-15** (v1) `9f21e12d6f15` — 1 info
  - added the optional property `data/goal` to the response with the `200` status
- **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/172c35ec816f/schema)
