{"uid":"cap_FbCWG1hMI0ozamzg0-G9Y","slug":"agentrxi-chart-generator-f562dd7e","name":"AgentRXI Chart Generator","description":"Chart images: bar, line, pie or scatter charts as PNG or SVG from your numbers, with title, labels, several series and legend. Ready to drop into a report or message. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/chart?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"type":{"type":"string","description":"bar | line | pie | scatter"},"title":{"type":"string"},"width":{"type":"integer"},"format":{"type":"string","description":"png | svg"},"height":{"type":"integer"},"labels":{"type":"string","description":"| separated"},"series":{"type":"string","description":"JSON [{name, values}]"},"values":{"type":"string","description":"| separated numbers"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9rI3JGXh1mqeni05RRn4n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates bar, line, pie, or scatter chart images as PNG or SVG from numeric data with titles, labels, multiple series, and legends","exampleAgentPrompt":"Make me a bar chart titled 'Q1 Sales by Region' with labels East|West|North|South and values 142|98|211|175 — output as a 800x600 PNG with a legend.","exampleUseCases":[{"title":"Weekly revenue trend for report","prompt":"Create a line chart called 'Weekly Revenue' with labels Mon|Tue|Wed|Thu|Fri and values 4200|3800|5100|4700|6300, 800 pixels wide and 500 tall, save it as a PNG so I can drop it into the weekly report."},{"title":"Market share pie chart for presentation","prompt":"Generate a pie chart titled 'Product Mix Q2' showing three slices: labels ProductA|ProductB|ProductC with values 45|30|25 — make it SVG format at 600x600 so it scales cleanly in my slide deck."},{"title":"Multi-series sales comparison","prompt":"Plot a bar chart called 'Sales vs Target by Month' that has two series — 'Actual' with values 80|95|110|102|130 and 'Target' with values 100|100|100|100|120 — labels Jan|Feb|Mar|Apr|May, output as a 900x500 PNG with a legend."}],"resultDescription":"A binary image file (PNG or SVG) of the requested chart, ready to embed in a document, email, or message. The image includes the specified title, axis labels, data series with distinct colors, and a legend if multiple series are provided.","failureModes":["Missing required 'type' or 'method' fields returns an error","Malformed 'series' JSON (invalid structure) causes a parse error","Mismatched number of labels vs values may produce an incomplete or garbled chart","Unsupported chart type string returns a validation error","Very large datasets or extreme dimensions may cause slow rendering or timeout","Invalid format value (not 'png' or 'svg') returns an error"],"whenToPreferThis":"Choose this endpoint when you need a quick, self-contained chart image (PNG or SVG) generated directly from raw numbers without setting up a charting library or rendering pipeline. It is ideal for AI agents that need to attach a chart to a report, email, or message and supports multiple series with legends, making it suitable for comparative visualizations. Prefer it over code-execution approaches when you want a reliable, pay-per-call, no-setup chart in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:02.378Z","isFirstParty":false,"canonicalSlug":"agentrxi-chart-generator-f562dd7e"}