Agent API rendering
APILet external agents generate single or batch trade review charts through API
Agents can call preflight to validate payload, quota, and data routes, then call review-chart or review-batch to generate PNG images and ZIP archives.
Free tier: 150 chart renders and 20 batch jobs per month with a required KLinePic watermark. Preflight does not consume render quota.
Best for
- External trading agents
- Automated research reports
- Batch trade-image production
Input notes
- Send a standard chart or batch request body
- When source=csv, include K-line CSV data
- Use stable requestId values in production for idempotency and tracing
Chart output
- Uses the same high-quality renderer as the web app
- Supports brand, watermark, indicators, and multi-market options
- Batch jobs expose status, manifest, image, and archive links
From file to review chart
Call preflight
Validate payload, permissions, quota, and market route.
Call review-chart
Generate a single review chart or PNG response.
Use review-batch
Create a batch job and download the archive for multiple trades.
Questions this workflow answers
How can an external agent generate trade review charts?
An agent can call preflight to validate payload, permission, and quota, then use review-chart for one PNG or review-batch for a batch job and ZIP archive.
Is there machine-readable API documentation?
Yes. The OpenAPI contract is public at /api/agents/openapi.json, and AI tools can discover it from llms.txt and llms-full.txt.
Can an AI agent use this workflow through MCP?
Yes. The open-source stdio MCP server exposes capability, no-charge preflight, and annotated PNG tools for AI agents.
Is there a free Agent API tier?
Yes. The Free plan includes 150 chart renders and 20 batch jobs per month with a required KLinePic watermark. Preflight does not consume render quota.
Which long-tail searches does this page target?
Trade review chart API, automated chart API, Agent API chart generation, and batch trade chart ZIP.