QuickChart API
quickchart · Developer Tools
An API to generate charts and QR codes using QuickChart services.
Authentication
Sample Requests
Generate a chart based on the provided parameters.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart?chart=example&width=1&format=json&height=1&backgroundColor=example"
import requests
params = {
"chart": "example",
"width": "1",
"format": "json",
"height": "1",
"backgroundColor": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart');
url.searchParams.set('chart', 'example');
url.searchParams.set('width', '1');
url.searchParams.set('format', 'json');
url.searchParams.set('height', '1');
url.searchParams.set('backgroundColor', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart")
q := baseURL.Query()
q.Set("chart", "example")
q.Set("width", "1")
q.Set("format", "json")
q.Set("height", "1")
q.Set("backgroundColor", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart")
uri.query = URI.encode_www_form({
"chart" => "example",
"width" => "1",
"format" => "json",
"height" => "1",
"backgroundColor" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart?" . http_build_query([
"chart" => "example",
"width" => "1",
"format" => "json",
"height" => "1",
"backgroundColor" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Generate a QR code based on the provided parameters.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/quickchart.io/1.0.0/qr?text=example&width=1&format=json&height=1&margin=1"
import requests
params = {
"text": "example",
"width": "1",
"format": "json",
"height": "1",
"margin": "1"
}
response = requests.get(
"https://api.apis.guru/v2/specs/quickchart.io/1.0.0/qr",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/quickchart.io/1.0.0/qr');
url.searchParams.set('text', 'example');
url.searchParams.set('width', '1');
url.searchParams.set('format', 'json');
url.searchParams.set('height', '1');
url.searchParams.set('margin', '1');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/quickchart.io/1.0.0/qr")
q := baseURL.Query()
q.Set("text", "example")
q.Set("width", "1")
q.Set("format", "json")
q.Set("height", "1")
q.Set("margin", "1")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/quickchart.io/1.0.0/qr")
uri.query = URI.encode_www_form({
"text" => "example",
"width" => "1",
"format" => "json",
"height" => "1",
"margin" => "1"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/quickchart.io/1.0.0/qr?" . http_build_query([
"text" => "example",
"width" => "1",
"format" => "json",
"height" => "1",
"margin" => "1"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Generate a chart based on the provided configuration in the request body.
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart"
import requests
response = requests.post(
"https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/quickchart.io/1.0.0/chart";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with QuickChart API?
QuickChart API is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. QuickChart API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide