---
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

---

[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)
