> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# QuickChart

> Chart image generation API that renders Chart.js configurations as PNG, PDF, or SVG images via URL or POST.

Chart image generation API that renders Chart.js configurations as PNG, PDF, or SVG images via URL or POST. Supports bar, line, pie, radar, and other Chart.js types with full customization. Best for embedding charts in reports, emails, or Slack messages where interactive JavaScript charts are not available. Free tier at 120 req/min.

1 example endpoint available through Lava's AI Gateway. See the [QuickChart API docs](https://quickchart.io/documentation/) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://quickchart.io` is supported. Chart image generation API. Construct URL as [https://quickchart.io/\&#123;endpoint\&#125](https://quickchart.io/\&#123;endpoint\&#125);. Common endpoints: /chart (GET with query params or POST with JSON body), /qr (QR code generation). The endpoints below are curated examples.</Info>

## Endpoints

### Generate a chart image via GET

**GET** `https://quickchart.io/chart?c={type:"bar",data:{labels:["Q1","Q2","Q3"],datasets:[{label:"Revenue",data:[100,200,150]}]}}` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://quickchart.io/chart?c={type:"bar",data:{labels:["Q1","Q2","Q3"],datasets:[{label:"Revenue",data:[100,200,150]}]}}', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fquickchart.io%2Fchart%3Fc%3D%7Btype%3A%22bar%22%2Cdata%3A%7Blabels%3A%5B%22Q1%22%2C%22Q2%22%2C%22Q3%22%5D%2Cdatasets%3A%5B%7Blabel%3A%22Revenue%22%2Cdata%3A%5B100%2C200%2C150%5D%7D%5D%7D%7D" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
