---
name: quickchart-api
description: "QuickChart API skill. Use when working with QuickChart for openapi.json, chart, wordcloud. Covers 25 endpoints."
version: 1.0.0
generator: lapsh
---

# QuickChart API
API version: 1.0.0

## Auth
ApiKey key in query | Bearer bearer

## Base URL
https://quickchart.io

## Setup
1. Set Authorization header with your Bearer token
2. GET /openapi.json -- verify access
3. POST /chart -- create first chart

## Endpoints

25 endpoints across 14 groups. See references/api-spec.lap for full details.

### openapi.json
| Method | Path | Description |
|--------|------|-------------|
| GET | /openapi.json | Fetch the QuickChart OpenAPI description. |

### chart
| Method | Path | Description |
|--------|------|-------------|
| GET | /chart | Generate a chart image from query parameters. |
| POST | /chart | Generate a chart image from a JSON request body. |
| POST | /chart/create | Save a chart configuration and return a short URL. |

### wordcloud
| Method | Path | Description |
|--------|------|-------------|
| GET | /wordcloud | Generate a word cloud from query parameters. |
| POST | /wordcloud | Generate a word cloud from a JSON request body. |

### table
| Method | Path | Description |
|--------|------|-------------|
| GET | /v1/table | Render a table as a PNG image from query parameters. |
| POST | /v1/table | Render a table as a PNG image from a JSON request body. |

### watermark
| Method | Path | Description |
|--------|------|-------------|
| GET | /watermark | Overlay a watermark image on a base image using query parameters. |
| POST | /watermark | Overlay a watermark image on a base image using a JSON request body. |

### graphviz
| Method | Path | Description |
|--------|------|-------------|
| GET | /graphviz | Generate a Graphviz diagram from query parameters. |
| POST | /graphviz | Generate a Graphviz diagram from a JSON request body. |

### gchart
| Method | Path | Description |
|--------|------|-------------|
| GET | /gchart | Render a Google Image Charts-compatible request. |

### api
| Method | Path | Description |
|--------|------|-------------|
| POST | /api/validate-chart | Validate a chart request and return JSON instead of an image. |
| POST | /api/validate-qr | Validate a QR code request and return JSON instead of an image. |

### qr
| Method | Path | Description |
|--------|------|-------------|
| GET | /qr | Generate a QR code from query parameters. |
| POST | /qr | Generate a QR code from a JSON request body. |
| POST | /qr/batch | Generate many QR codes and return a ZIP archive. |

### qr-url
| Method | Path | Description |
|--------|------|-------------|
| POST | /qr-url | Build a QuickChart QR image URL without rendering it. |

### qr-urls
| Method | Path | Description |
|--------|------|-------------|
| POST | /qr-urls | Build multiple QuickChart QR image URLs without rendering them. |

### barcode
| Method | Path | Description |
|--------|------|-------------|
| GET | /barcode | Generate a barcode from query parameters. |
| POST | /barcode | Generate a barcode from a JSON request body. |

### qr-read
| Method | Path | Description |
|--------|------|-------------|
| GET | /qr-read | Decode a QR code from a public image URL. |
| POST | /qr-read | Decode a QR code image. |

### natural
| Method | Path | Description |
|--------|------|-------------|
| POST | /natural/config | Generate an agent-friendly chart config from natural language. |

## Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all openapi.json?" -> GET /openapi.json
- "List all chart?" -> GET /chart
- "Create a chart?" -> POST /chart
- "Create a create?" -> POST /chart/create
- "List all wordcloud?" -> GET /wordcloud
- "Create a wordcloud?" -> POST /wordcloud
- "List all table?" -> GET /v1/table
- "Create a table?" -> POST /v1/table
- "List all watermark?" -> GET /watermark
- "Create a watermark?" -> POST /watermark
- "List all graphviz?" -> GET /graphviz
- "Create a graphviz?" -> POST /graphviz
- "List all gchart?" -> GET /gchart
- "Create a validate-chart?" -> POST /api/validate-chart
- "List all qr?" -> GET /qr
- "Create a qr?" -> POST /qr
- "Create a validate-qr?" -> POST /api/validate-qr
- "Create a batch?" -> POST /qr/batch
- "Create a qr-url?" -> POST /qr-url
- "Create a qr-url?" -> POST /qr-urls
- "List all barcode?" -> GET /barcode
- "Create a barcode?" -> POST /barcode
- "List all qr-read?" -> GET /qr-read
- "Create a qr-read?" -> POST /qr-read
- "Create a config?" -> POST /natural/config
- "How to authenticate?" -> See Auth section

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints typically return the created/updated object

## CLI

```bash
# Update this spec to the latest version
npx @lap-platform/lapsh get quickchart-api -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search quickchart-api
```

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
