---
title: "Generate a chart (GET)"
method: GET
path: "/chart"
---

# Generate a chart (GET)

`GET /chart`

Generate a chart based on the provided parameters.

## Query parameters

- `chart` string
- `width` integer
- `height` integer
- `format` string
- `backgroundColor` string
- `key` string

## Response `200`

A generated chart image.

---

[API](https://skmtc.dev/quickchart/apis/quickchart-api.md) · [All operations](https://skmtc.dev/quickchart/apis/quickchart-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quickchart/quickchart-api/revisions/92d261378758/schema)
