Render a chart to PNG from JSON
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).
Answeringour last check, 2026-10-10
1 of 1checks answered this week
891 msmedian answer time
$0.009listed price per call
$0.009price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agentsvc.io/api/v1/proxy/chart-render
| Category | Everything else |
|---|---|
| Provider host | agentsvc.io |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 11 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.009 | 891 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"
}