{"success":true,"data":{"id":"svc_chart_render_01","slug":"chart-render","name":"Chart Rendering (Chart.js)","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).","category":"visual","endpoint":"https://agentsvc.io/api/v1/proxy/chart-render","price_usdc":0.005,"latency_p99_ms":6000,"input_schema":{"type":"object","properties":{"config":{"type":"object","description":"Full Chart.js configuration {type, data, options}"},"type":{"type":"string","enum":["bar","line","pie","doughnut","scatter","radar","polarArea","bubble"]},"labels":{"type":"array","items":{"type":"string"}},"datasets":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"data":{"type":"array"}}}},"title":{"type":"string"},"width":{"type":"integer","minimum":100,"maximum":2000,"default":800},"height":{"type":"integer","minimum":100,"maximum":2000,"default":500},"background":{"type":"string","default":"white"}}},"output_schema":{"type":"object","properties":{"format":{"type":"string"},"mime_type":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"size_bytes":{"type":"integer"},"image_base64":{"type":"string"},"chart_type":{"type":"string"}},"required":["format","width","height","image_base64"],"example":{"format":"png","mime_type":"image/png","width":800,"height":450,"size_bytes":9732,"image_base64":"iVBORw0KGgoAAAANSUhEUgAAAyAAAAHC…","chart_type":"bar"}},"is_active":true,"provider":"agentsvc.io","tags":["chart","graph","visualization","png","chartjs"],"method":"POST","example_input":{"type":"bar","labels":["Q1","Q2","Q3","Q4"],"datasets":[{"label":"Revenue","data":[12,19,14,23]}],"title":"Revenue 2026 (kUSD)"},"price_atomic":"5000","price_display":"$0.005 USDC","try_url":"https://agentsvc.io/api/v1/try/chart-render","try_limit_per_day":1,"info_url":"https://agentsvc.io/api/v1/services/chart-render","page_url":"https://agentsvc.io/services/chart-render","curl_example":"curl -X POST https://agentsvc.io/api/v1/proxy/chart-render -H \"Content-Type: application/json\" -d '{\"type\":\"bar\",\"labels\":[\"Q1\",\"Q2\",\"Q3\",\"Q4\"],\"datasets\":[{\"label\":\"Revenue\",\"data\":[12,19,14,23]}],\"title\":\"Revenue 2026 (kUSD)\"}'","status":{"ok":true,"latency_ms":1099,"checked_at":"2026-10-06T16:26:24.410Z"}},"payment":{"protocol":"x402","x402_versions_accepted":[1,2],"scheme":"exact","network":"eip155:8453","network_v1":"base","chain_id":8453,"asset":"USDC","asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","asset_decimals":6,"eip712_domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"pay_to":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","request_header_v2":"PAYMENT-SIGNATURE","request_header_v1":"X-PAYMENT","requirements_v2":"base64 JSON in the PAYMENT-REQUIRED response header of the 402","requirements_v1":"JSON body of the 402 (accepts[0])","receipt_header":"PAYMENT-RESPONSE (and X-PAYMENT-RESPONSE): base64 JSON with transaction hash","accounts_required":false,"api_keys_required":false,"settlement":"per call, on-chain, after the service succeeded. Failed calls are never charged."},"links":{"catalog":"https://agentsvc.io/api/v1/services","openapi":"https://agentsvc.io/openapi.json","llms_txt":"https://agentsvc.io/llms.txt","llms_full_txt":"https://agentsvc.io/llms-full.txt","agents_md":"https://agentsvc.io/AGENTS.md","skill_md":"https://agentsvc.io/SKILL.md","status":"https://agentsvc.io/api/v1/status","docs":"https://agentsvc.io/docs","mcp_server":"https://agentsvc.io/mcp-server.mjs","discovery":"https://agentsvc.io/.well-known/x402","agent_card":"https://agentsvc.io/.well-known/agent-card.json"}}