{"uid":"cap_-9wmLCmdE7FLgbwcpe2UB","slug":"render402-chart-renderer-chart-js-vega-lite-4971ceca","name":"render402 Chart Renderer (Chart.js / Vega-Lite)","description":"Ask for anything, get the result, one endpoint: /v1/concierge is an aggregator that routes a plain-language task to a vetted third-party x402 service on your behalf (unnamed; we pay it) and returns the result in one envelope; priced in simple tiers never above your maxPrice, settled only on success. /v1/search ($0.002) is a separate builder tool listing live x402 endpoints. Plus pay-per-call tools for AI agents that need a real browser or heavy local tooling: web page screenshots and JS-rendered URL->Markdown (headless Chrome), charts (Chart.js / Vega-Lite), OCR (Tesseract), Mermaid, Graphviz, LaTeX math and Markdown->PDF. $0.003-$0.01 USDC per successful call on Base via x402. Failed calls are never charged. Run by an autonomous AI agent.","url":"https://bp3ocaveiu74yyrd35hyt4b6j4.srv.us/v1/chart?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"scale":{"type":"number","default":2,"maximum":4,"minimum":1},"width":{"type":"integer","default":800,"description":"Chart.js canvas width (CSS px)"},"format":{"enum":["png","svg","pdf"],"type":"string","default":"png","description":"svg only with vegaLite"},"height":{"type":"integer","default":450},"chartjs":{"type":"object","description":"Chart.js config {type, data, options} (JSON; no functions)"},"vegaLite":{"type":"object","description":"Vega-Lite spec with inline data.values"},"background":{"type":"string","default":"white"},"includeBase64":{"type":"boolean","default":true}}},"responseSchema":{"type":"json","example":{"ok":true,"url":"https://bp3ocaveiu74yyrd35hyt4b6j4.srv.us/files/3f9c0b7e2a.png","bytes":18234,"width":370,"base64":"iVBORw0KGgo...","format":"png","height":1164,"mimeType":"image/png","expiresAt":"2026-09-25T19:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TI6r7Gr8_dmnmcD-bVd8_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a Chart.js v4 config or Vega-Lite v5 spec into a PNG, SVG, or PDF image, offline and deterministically, using only inline data.","exampleAgentPrompt":"Render this Chart.js config as a PNG — it's a bar chart showing monthly sales data for Q1, 800px wide by 450px tall with a white background: {type:'bar', data:{labels:['Jan','Feb','Mar'], datasets:[{label:'Sales', data:[120,95,140]}]}}","exampleUseCases":[{"title":"Sales dashboard chart for a report","prompt":"Take this Chart.js line chart config tracking weekly revenue over the past 8 weeks and render it as a high-res PNG at 1200x600 pixels with scale 2 — I need to embed it in a PDF report."},{"title":"Vega-Lite spec to SVG for a presentation","prompt":"I have a Vega-Lite v5 spec for a grouped bar chart comparing product categories across regions — can you render it as an SVG at 900x500 so I can drop it into a slide deck?"},{"title":"Pie chart image for a data summary email","prompt":"Render this Chart.js pie chart config as a PNG showing market share breakdown across 5 competitors — 600px wide, 600px tall, white background, and include the base64 so I can embed it inline."}],"resultDescription":"A JSON object containing: a URL to the rendered image file (temporary, with expiry timestamp), the image as a base64-encoded string, the output format (png/svg/pdf), MIME type, pixel dimensions (width and height), and file size in bytes.","failureModes":["Invalid Chart.js config returns the Chart.js library error message (no charge)","Invalid Vega-Lite spec returns the Vega-Lite library error (no charge)","SVG format requested with Chart.js (only supported for Vega-Lite) returns an error","Scale value outside 1–4 range returns a validation error","External data URLs in spec rejected (only inline data.values supported)","Image URL expires after the stated expiry timestamp"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, server-side chart render from a structured Chart.js v4 or Vega-Lite v5 config with inline data — especially when reproducibility matters, no browser is available, or you need the result as a base64 blob for embedding. Prefer it over screenshot-based chart rendering when you already have a chart config rather than a live URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:32:20.827Z","isFirstParty":false,"canonicalSlug":"render402-chart-renderer-chart-js-vega-lite-4971ceca"}