# MimirAPI Chart — Numeric Series to SVG

> MimirAPI Chart — Numeric Series to SVG is a paid API for AI agents from mimirapi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Renders a numeric data series as a deterministic 800×400 line or bar chart SVG, with optional axis labels and title, in a single API call.

## Facts

- Endpoint: POST https://mimirapi.com/v1/chart?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mimirapi-chart-numeric-series-to-svg-bb3337d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wen25Neq9-IKe70jilXK3

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 mimirapi-chart-numeric-series-to-svg-bb3337d9 -d '<json body>'
```

Example prompt: Make me a bar chart titled 'Monthly Revenue Q1' with labels Jan, Feb, Mar and values 12000, 15400, 11800 — I need it as an SVG I can drop into a report.

## When to prefer this

Choose this endpoint when an AI agent needs to embed a chart image in a generated report, email, or document without access to a browser, JavaScript charting library, or rendering environment. It is ideal for deterministic, reproducible charts where pixel-perfect consistency matters — the same inputs always produce the same SVG. Prefer it over screenshot-based chart services when you want a clean, lightweight SVG rather than a rasterized PNG, and over full charting frameworks when you want a zero-dependency, per-call solution at low cost.

## Known failure modes

- Empty or missing values array returns a validation error
- More than 100 values triggers a maxItems constraint error
- Label strings exceeding 24 characters may be rejected or truncated
- Invalid chart type (not 'line' or 'bar') returns an enum validation error
- Title exceeding 80 characters may be rejected
- Network timeout or service unavailability returns a 5xx error
- Payment failure via x402 protocol results in a 402 response

## How this service works

Data to chart in one call: a numeric series rendered as a deterministic 800x400 line or bar chart SVG with optional labels and title. No charting library, no browser — an agent composing a report gets a predictable picture of its numbers.

## Output

Returns a deterministic 800×400 SVG image representing the submitted numeric series as either a line chart or bar chart, including the specified title and axis labels. The SVG is browser-free, reproducible for identical inputs, and ready to embed in reports, emails, or documents.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "enum": [
    "line",
    "bar"
   ],
   "type": "string"
  },
  "title": {
   "type": "string",
   "maxLength": 80
  },
  "labels": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 24
   }
  },
  "values": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "maxItems": 100,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mimirapi-chart-numeric-series-to-svg-bb3337d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mimirapi.com](https://www.zero.xyz/host/mimirapi.com/llms.txt)
