







Add charts and diagrams to PDFs
Generate high-resolution chart and diagram images for embedding in automated PDF reports. SVG for vector quality, PNG for compatibility.
Print-quality output
Use device_pixel_ratio: 2 for Retina-quality charts or SVG for infinitely scalable vector output.
Automated generation
Call the API from your report generation pipeline. No browser or rendering engine needed.
Multiple formats
PNG for raster embedding, SVG for vector, or direct PDF output for diagrams.
Consistent styling
Same JSON config produces identical charts every time. No rendering inconsistencies.

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 pdf 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 pdf 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 pdf 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 pdf 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