---
title: "Get Usage"
method: GET
path: "/api/nodes/usage"
tags: ["Node"]
---

# Get Usage

`GET /api/nodes/usage`

Retrieve usage statistics for nodes within a specified date range.

## Query parameters

- `start` string
- `end` string

## Response `200`

Successful Response

- NodesUsageResponse
  - `usages` NodeUsageResponse[], required
    - `node_id` integer, nullable
    - `node_name` string, required
    - `uplink` integer, required
    - `downlink` integer, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `422` — Validation Error

---

[API](https://skmtc.dev/atrvatam/apis/marzbanapi.md) · [All operations](https://skmtc.dev/atrvatam/apis/marzbanapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atrvatam/marzbanapi/revisions/0aa31d6bd001/schema)
