{"uid":"cap_IInrfxgspWNcnS7nk-xnj","slug":"anokha-web-tools-chart-generator-3cdd3470","name":"Anokha Web Tools – Chart Generator","description":"Pay-per-call tools for AI agents: web to Markdown, PDF text, Markdown to PDF, charts, diagrams, QR, page publishing, DNS, RDAP, TLS. x402, USDC on Base, no API key.","url":"https://tools.anokha.space/v1/chart?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"x":{"type":"array"},"type":{"enum":["line","bar","barh","scatter","area","pie"],"type":"string"},"title":{"type":"string"},"format":{"enum":["png","svg"],"type":"string"},"series":{"type":"array","items":{"type":"object","required":["y"],"properties":{"y":{"type":"array","items":{"type":"number"}},"name":{"type":"string"}}}},"xlabel":{"type":"string"},"ylabel":{"type":"string"}}},"responseSchema":{"type":"json","example":{"url":"https://tools.anokha.space/f/abc123def456.png","bytes":20480,"expires":"2026-10-25T00:00:00Z","content_type":"image/png"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kkhiRk5j7wUkqNggxa8n8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a chart image (PNG or SVG) from provided data series and returns a hosted URL to the rendered file.","exampleAgentPrompt":"Make me a bar chart titled 'Monthly Sales Q1' with months Jan, Feb, Mar on the x-axis and two series — 'Online' with values 42000, 51000, 47000 and 'In-Store' with values 31000, 28000, 35000 — output it as a PNG.","exampleUseCases":[{"title":"Embedding a chart in a report","prompt":"I need a line chart titled 'User Growth 2024' showing months Jan through Jun on the x-axis and two series: 'Free' with values 1200, 1500, 1800, 2100, 2600, 3000 and 'Paid' with values 200, 260, 310, 400, 490, 580. Give it back as a PNG so I can drop the URL into my report."},{"title":"Visualizing survey results","prompt":"Can you make a horizontal bar chart of our NPS survey results? The categories are 'Very Satisfied', 'Satisfied', 'Neutral', 'Dissatisfied' with scores 45, 30, 15, 10. Title it 'Customer Satisfaction Survey' and export it as an SVG."},{"title":"Plotting financial portfolio allocation","prompt":"Create a pie chart called 'Portfolio Allocation' with slices for Stocks at 55, Bonds at 25, Cash at 10, and Crypto at 10, formatted as a PNG image I can share with my client."}],"resultDescription":"A JSON object containing a hosted URL to the rendered chart image (PNG or SVG), the file size in bytes, the MIME content type, and an expiry timestamp indicating when the file will no longer be available.","failureModes":["Missing or mismatched x-axis and y-axis array lengths causing a 400 error","Invalid chart type enum value returns a validation error","Empty data series array results in a render failure","Payment failure via x402/USDC on Base blocks the request","Unsupported format value outside png/svg causes rejection","Generated file URL expires after the indicated timestamp"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to produce a chart image on-demand from structured data without an API key, paying only $0.01 USDC per call via x402 on Base. It's ideal for agents embedding visualizations in reports, emails, or web pages, especially when the chart must be hosted and accessible via a URL. Supports line, bar, horizontal bar, scatter, area, and pie charts in PNG or SVG format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:47:19.879Z","isFirstParty":false,"canonicalSlug":"anokha-web-tools-chart-generator-3cdd3470"}