{
  "x402Version": 2,
  "id": 35628,
  "slug": "35628",
  "resource": "https://agentsvc.io/api/v1/proxy/chart-render",
  "description": "Render a chart to PNG from JSON: bar, line, pie, doughnut, scatter, radar, polarArea or bubble. Pass a full Chart.js config (config) or the shortcut type + labels + datasets [{label, data}] + title. Rendered with Chart.js in headless Chromium, no external requests. Params: config or type/labels/datasets, title, width and height (100 to 2000 px, default 800x500), background (CSS color, default white). Returns image_base64 (PNG).",
  "type": "http",
  "serviceName": "Chart Generator PNG",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "9000",
      "amountUsd": 0.009,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "9000",
      "amountUsd": 0.009,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "9000",
      "amountUsd": 0.009,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "9000",
      "amountUsd": 0.009,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "chart_type": {
                "type": "string"
              },
              "format": {
                "type": "string"
              },
              "height": {
                "type": "integer"
              },
              "image_base64": {
                "type": "string"
              },
              "mime_type": {
                "type": "string"
              },
              "size_bytes": {
                "type": "integer"
              },
              "width": {
                "type": "integer"
              }
            },
            "required": [
              "format",
              "width",
              "height",
              "image_base64"
            ],
            "type": "object"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "visual",
      "info": {
        "input": {
          "body": {
            "datasets": [
              {
                "data": [
                  12,
                  19,
                  14,
                  23
                ],
                "label": "Revenue"
              }
            ],
            "labels": [
              "Q1",
              "Q2",
              "Q3",
              "Q4"
            ],
            "title": "Revenue 2026 (kUSD)",
            "type": "bar"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "chart_type": "bar",
              "format": "png",
              "height": 450,
              "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAyAAAAHC…",
              "mime_type": "image/png",
              "size_bytes": 9732,
              "width": 800
            },
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "background": {
                    "default": "white",
                    "type": "string"
                  },
                  "config": {
                    "description": "Full Chart.js configuration {type, data, options}",
                    "type": "object"
                  },
                  "datasets": {
                    "items": {
                      "properties": {
                        "data": {
                          "type": "array"
                        },
                        "label": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "height": {
                    "default": 500,
                    "maximum": 2000,
                    "minimum": 100,
                    "type": "integer"
                  },
                  "labels": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "title": {
                    "type": "string"
                  },
                  "type": {
                    "enum": [
                      "bar",
                      "line",
                      "pie",
                      "doughnut",
                      "scatter",
                      "radar",
                      "polarArea",
                      "bubble"
                    ],
                    "type": "string"
                  },
                  "width": {
                    "default": 800,
                    "maximum": 2000,
                    "minimum": 100,
                    "type": "integer"
                  }
                },
                "required": []
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "chart_type": {
                        "type": "string"
                      },
                      "format": {
                        "type": "string"
                      },
                      "height": {
                        "type": "integer"
                      },
                      "image_base64": {
                        "type": "string"
                      },
                      "mime_type": {
                        "type": "string"
                      },
                      "size_bytes": {
                        "type": "integer"
                      },
                      "width": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "format",
                      "width",
                      "height",
                      "image_base64"
                    ],
                    "type": "object"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "success",
                  "data"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "chart",
        "graph",
        "visualization",
        "png",
        "chartjs",
        "chart-generation"
      ]
    },
    "builder-code": {
      "info": {
        "a": "bc_q6wi3opd"
      }
    }
  },
  "tags": [
    "chart",
    "graph",
    "visualization",
    "png",
    "chartjs",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "agentsvc.io",
  "lastUpdated": "2026-10-11T11:57:28.283Z",
  "quality": {
    "calls30d": 12,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-11T11:57:28.026Z"
  },
  "metadata": {
    "serviceName": "Chart Generator PNG",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
    "extensions": {
      "bazaar": {
        "category": "visual",
        "info": {
          "input": {
            "body": {
              "datasets": [
                {
                  "data": [
                    12,
                    19,
                    14,
                    23
                  ],
                  "label": "Revenue"
                }
              ],
              "labels": [
                "Q1",
                "Q2",
                "Q3",
                "Q4"
              ],
              "title": "Revenue 2026 (kUSD)",
              "type": "bar"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "chart_type": "bar",
                "format": "png",
                "height": 450,
                "image_base64": "iVBORw0KGgoAAAANSUhEUgAAAyAAAAHC…",
                "mime_type": "image/png",
                "size_bytes": 9732,
                "width": 800
              },
              "success": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "background": {
                      "default": "white",
                      "type": "string"
                    },
                    "config": {
                      "description": "Full Chart.js configuration {type, data, options}",
                      "type": "object"
                    },
                    "datasets": {
                      "items": {
                        "properties": {
                          "data": {
                            "type": "array"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "height": {
                      "default": 500,
                      "maximum": 2000,
                      "minimum": 100,
                      "type": "integer"
                    },
                    "labels": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "title": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "bar",
                        "line",
                        "pie",
                        "doughnut",
                        "scatter",
                        "radar",
                        "polarArea",
                        "bubble"
                      ],
                      "type": "string"
                    },
                    "width": {
                      "default": 800,
                      "maximum": 2000,
                      "minimum": 100,
                      "type": "integer"
                    }
                  },
                  "required": []
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "properties": {
                        "chart_type": {
                          "type": "string"
                        },
                        "format": {
                          "type": "string"
                        },
                        "height": {
                          "type": "integer"
                        },
                        "image_base64": {
                          "type": "string"
                        },
                        "mime_type": {
                          "type": "string"
                        },
                        "size_bytes": {
                          "type": "integer"
                        },
                        "width": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "format",
                        "width",
                        "height",
                        "image_base64"
                      ],
                      "type": "object"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "data"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "chart",
          "graph",
          "visualization",
          "png",
          "chartjs",
          "chart-generation"
        ]
      },
      "builder-code": {
        "info": {
          "a": "bc_q6wi3opd"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentsvc.io",
    "manifest_name": "agentsvc.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {
        "chart_type": "string",
        "format": "string",
        "height": 0,
        "image_base64": "string",
        "mime_type": "string",
        "size_bytes": 0,
        "width": 0
      },
      "success": true
    },
    "type": "string"
  }
}