APIHub
Back to Explore

QuickChart

The QuickChart API generates chart images (PNG, JPG, SVG, WebP) from Chart.js configurations and also creates QR code images (PNG, SVG), supporting both GET and POST requests with customizable size, format, and background options.

Development
No auth required
HTTPS
CORS: Yes
Description enriched
Visit official documentation

Latency

1781ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/chart

Generate a chart (GET)

  • chart (query) — The chart configuration in Chart.js format (JSON or Javascript).
  • width (query) — The width of the chart in pixels.
  • height (query) — The height of the chart in pixels.
  • format (query) — The output format of the chart, e.g., 'png', 'jpg', 'svg', or 'webp'.
  • backgroundColor (query) — The background color of the chart.
POST

/chart

Generate a chart (POST)

GET

/qr

Generate a QR code (GET)

  • text (query) — The text to be encoded in the QR code.
  • width (query) — The width of the QR code in pixels.
  • height (query) — The height of the QR code in pixels.
  • format (query) — The output format of the QR code, e.g., 'png' or 'svg'.
  • margin (query) — The margin around the QR code in pixels.
POST

/qr

Generate a QR code (POST)

4 endpoints auto-detected

curl -X GET \
  "https://quickchart.io//chart"

quickchart.io · HTTPS only