# AgentRXI Chart Generator

> AgentRXI Chart Generator is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-15).

Generates bar, line, pie, or scatter chart images as PNG or SVG from numeric data with titles, labels, multiple series, and legends

## Facts

- Endpoint: GET https://agentrxi.com/v1/chart?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-chart-generator-f562dd7e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FbCWG1hMI0ozamzg0-G9Y

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentrxi-chart-generator-f562dd7e
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-chart-generator-f562dd7e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
