Tools & Payable Endpoints (2)
$0.002 USD per rendered executive SVG chart (x402 instant micropayment)
Compiles structured business data into a crisp standalone SVG + base64 data URI across bar, stacked_bar, horizontal_bar, line, area, waterfall, funnel, and gantt chart types, returning a verified zero-overlap layoutReport.
Why buy vs. DIY: Replaces fragile headless Chromium/Canvas chart pipelines and LLM-hallucinated SVG paths with deterministic Heckbert scales and SAT text collision resolution at $0.002/chart in <10ms.
POST https://chart-viz.apikeg.com/v1/render-chart ·
Full Parameter Spec ·
Markdown Spec
$0.001 USD per executive KPI snapshot card (1-6 tiles) (x402 instant micropayment)
Renders 1-6 executive KPI summary tiles with formatted headline values ($1.2M, 45.3%), semantic trend pills (+14.2% MoM), and inline SVG sparklines ready for Slack, Notion, Email, PDFs, or slide decks.
Why buy vs. DIY: Instant board-grade visual metric snapshot with proportional typography and zero-overlap verification at $0.001/card.
POST https://chart-viz.apikeg.com/v1/render-kpi-card ·
Full Parameter Spec ·
Markdown Spec
Quickstart: MCP, x402 & Optional Bearer API Key
1. Streamable HTTP MCP Config (com.apikeg/chart-viz)
{
"mcpServers": {
"chart-viz": {
"type": "streamable-http",
"url": "https://chart-viz.apikeg.com/mcp"
}
}
}
Using a Monthly Stripe Plan? Get your per-email ak_live_... key at https://apikeg.com/account ($5 / $20 / $50 monthly tiers) and pass header Authorization: Bearer ak_live_... on REST or MCP requests.
2. Free Schema Dry-Run ($0.00)
curl -X POST "https://chart-viz.apikeg.com/v1/render-chart?dry_run=true" \
-H "Content-Type: application/json" \
-d '{"chartType":"waterfall","title":"FY26 Net ARR Bridge","subtitle":"Consolidated SaaS ($USD)","palette":"corporate","valueFormat":"currency","currencySymbol":"$","unitSuffix":"","width":840,"height":480,"showGrid":true,"waterfallSteps":[{"label":"Opening ARR","value":4200000,"kind":"start"},{"label":"New Logos","value":1150000,"kind":"delta"},{"label":"Expansion","value":680000,"kind":"delta"},{"label":"Gross ARR","kind":"subtotal"},{"label":"Contraction","value":-210000,"kind":"delta"},{"label":"Logo Churn","value":-320000,"kind":"delta"},{"label":"Ending ARR","kind":"total"}]}'
Frequently Asked Questions
Why should an AI agent call Executive SVG Chart & KPI Card Compiler Edge API instead of writing custom code?
Eliminates clipped axes, overlapping x-axis text, broken floating-point tick steps, heavyweight headless-browser Chart.js/Playwright containers, and thousands of wasted LLM tokens generating raw SVG coordinates.
How do I connect Executive SVG Chart & KPI Card Compiler Edge API to Claude, Cursor, or an MCP client?
Connect directly to the stateless Streamable HTTP MCP endpoint at https://chart-viz.apikeg.com/mcp (registry ID: com.apikeg/chart-viz). No API keys or OAuth accounts are required; initialize and tools/list are 100% free.
How much does Executive SVG Chart & KPI Card Compiler Edge API cost per API or MCP call?
Pay per call with zero signup via HTTP 402 (x402 v2 USDC on Base): render_chart ($0.002 USD per rendered executive SVG chart (x402 instant micropayment)); render_kpi_card ($0.001 USD per executive KPI snapshot card (1-6 tiles) (x402 instant micropayment)). Prefer traditional monthly billing? Get a verified-email Bearer API key at https://apikeg.com/account with $5/mo ($6 credit), $20/mo ($28 credit), or $50/mo ($80 credit) per-product plans. Invalid schemas (HTTP 400) and ?dry_run=true always cost $0.00.
Can I validate request payloads for free before paying?
Yes. Pass ?dry_run=true in the URL or send the header X-Dry-Run: true to validate your JSON input against the strict schema at $0.00 cost.