







Embed charts in automated emails
Generate chart images on the fly and embed them directly in transactional or marketing emails. No client-side rendering, no JavaScript.
Works in every email client
Charts render as standard PNG images. Gmail, Outlook, Apple Mail, and every other client displays them.
Dynamic data
Generate fresh charts for each email with up-to-date data from your database or API.
No JavaScript needed
Email clients strip JavaScript. ChartQuery charts are static images that work everywhere.
URL-based embedding
Use GET requests with URL parameters. Embed the URL directly in an <img> tag.

We integrated ChartQuery to automate chart generation across all our email reports.
Read StoryUptime guarantee for all API endpoints.
Response time across all endpoints.


Configure your email reports charts
Use a JSON config or describe what you want in plain English. Set chart type, colors, dimensions, and output format.
Integrate charts into your email reports
A single HTTP request generates and returns your chart image. No SDK, no dependencies, no rendering engine.
REST API
GET or POST to /v1/chart with your config. Receive a PNG or SVG image in under 500ms.
Any language
Works with JavaScript, Python, PHP, Go, Ruby, Java, cURL, or any HTTP client.
Share & embed
Add share: true to get public URLs and iframe embed codes for any chart.
Output options for email reports
Choose the right format for your use case. PNG for emails, SVG for web, PDF for print.
PNG output
Raster images for email embedding, chat messages, and applications.
SVG output
Infinitely scalable vector graphics for web pages and documentation.
High resolution
Use device_pixel_ratio: 2 for Retina-quality output at any size.
Custom dimensions
Set width and height from 50 to 4000 pixels for any output format.
API features for email reports
Built for production use with consistent rendering, version pinning, and reliable uptime.
Version pinning
Pin to a specific engine version to ensure identical rendering across deployments.
Anonymous access
No API key needed to get started. 60 requests per hour per IP for free.
AI generation
Describe charts in English with /v1/chart/ai. Great for dynamic, data-driven workflows.
Worldwide CDN
Charts are delivered from edge infrastructure for fast response times globally.
Start generating charts today
No API key required to get started. Generate charts, diagrams, and more with a single HTTP request.
Get StartedView Pricing