Developer API

Programmatically generate beautiful charts with our RESTful API. Perfect for automation, dashboards, and integrations.

Simple & Fast

Generate charts with a single API call. No complex setup required.

RESTful Design

Standard HTTP methods and JSON responses. Works with any language.

Secure

API key authentication with rate limiting and usage analytics.

Quick Start

Generate a chart by sending a POST request with your data:


            curl -X POST https://api.chartpuppy.com/v1/charts \
              -H "Authorization: Bearer YOUR_API_KEY" \
              -H "Content-Type: application/json" \
              -d '{
                "template": "revenue-growth",
                "data": {
                  "labels": ["Jan", "Feb", "Mar", "Apr"],
                  "values": [4200, 5100, 4800, 6300]
                }
              }'
            

Endpoints

GET /v1/templates

List all available chart templates

POST /v1/charts

Generate a new chart from a template

GET /v1/charts/:id

Retrieve a generated chart by ID

DELETE /v1/charts/:id

Delete a generated chart

Ready to integrate?

Sign up for a free account to get your API key and start generating charts.