freeapis

QuickChart

生成图表和图形图片

认证方式
No auth
HTTPS
Yes
CORS
Yes
分类
开发

简介

QuickChart 把 Chart.js 图表渲染为图片——一个带 Chart.js 配置的 URL 就能返回 PNG/SVG 图表。免密钥且免费(实测可用),是在邮件、README 和服务端生成图片中嵌入图表的标准方式。

快速开始

柱状图(实测可用):

curl "https://quickchart.io/chart?c=%7Btype%3A%27bar%27%2Cdata%3A%7Blabels%3A%5B%27a%27%2C%27b%27%5D%2Cdatasets%3A%5B%7Bdata%3A%5B1%2C2%5D%7D%5D%7D%7D"

c 参数是 URL 编码的 Chart.js 配置对象。)

用完整配置生成富图表:

{
  "type": "line",
  "data": { "labels": ["Jan", "Feb", "Mar"], "datasets": [{ "label": "Sales", "data": [3, 5, 2] }] },
  "options": { "title": { "display": true, "text": "Monthly Sales" } }
}
curl "https://quickchart.io/chart?c=<url-encoded-config>"

SVG 输出和其他选项:

curl "https://quickchart.io/chart?c=...&format=svg"
curl "https://quickchart.io/chart?c=...&width=800&height=400"

认证方式

无需认证——免密钥(免费 API 密钥可去水印并提高限额)。

速率限制与注意事项

  • 免费层:100 张图表/天(无密钥);免费密钥可提高并去水印。
  • 配置是标准 Chart.js——任何图表类型(bar、line、pie、doughnut、radar……)都支持。
  • 非常适合邮件报表(邮件客户端不跑 JS)和服务端图片生成。
  • quickchart.io 有配置构建器,可帮你生成编码后的 c 参数。

常见问题

QuickChart 免费吗? 免费层:100 张/天;免费密钥可提高限额并去水印。

用什么图表库? Chart.js——传入任意 Chart.js 配置。

为什么要用它? 在无法运行 JavaScript 的邮件/README 中嵌入图表。

开发 分类更多

APIAuthHTTPSCORS
24 Pull Requests

Project to promote open source collaboration during December

No authYesYes
Agify.io

Estimates the age from a first name

No authYesYes
Amazonscraperapi

Amazon product, search & batch scraping API with residential proxies (1000 free)

API KeyYesNo
AmberOne

Turn any website into a build-ready Android, iOS, PWA or Electron app project

API KeyYesNo
API Grátis

Multiples services and public APIs

No authYesUnknown