---
title: "Bandwidth graph (PNG base64)"
method: GET
path: "/dedicated/{serviceId}/bandwidth"
tags: ["Dedicated Servers"]
---

# Bandwidth graph (PNG base64)

`GET /dedicated/{serviceId}/bandwidth`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/dedicated/{serviceId}/bandwidth`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Requires the `bandwidth` capability.

## Path parameters

- `serviceId` integer, required

## Query parameters

- `type` 'port_bits' | 'port_upkts' | 'port_percent' | 'port_errors' | 'port_pktsize' | 'port_discards'
- `scale` 'day' | 'week' | 'month'

## Response `200`

Bandwidth graph (PNG base64)

## Other responses

- `404`: This service does not support bandwidth

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
