Api Endpoint

svg-bar-chart-renderer.jannioura.workers.dev

Deterministic, paid-per-render SVG bar chart generator for LLM agents. Accepts labeled scalar data and layout options, performs exact geometry math (min/max normalization, nice-interval y-axis ticks, label spacing, bar-width distribution), and returns schema-valid, escape-correct SVG with identical input always yielding byte-identical output.

Open interactive test console

Offering

Provider
svg-bar-chart-renderer.jannioura.workers.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://svg-bar-chart-renderer.jannioura.workers.dev/
MIME type
application/json
First seen
2026-10-16T01:51:30.109Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.015 USDC
Atomic price: 15000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "15000",
    "payTo": "0x86256e25d4e5511eb6dcc474a4e779970267e903"
  }
]

Observed health

Status
Healthy
Latest latency
1506 ms
Average latency
711 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "required": [
        "data"
      ],
      "properties": {
        "data": {
          "type": "array",
          "minItems": 1,
          "maxItems": 500,
          "items": {
            "type": "object",
            "required": [
              "label",
              "value"
            ],
            "properties": {
              "label": {
                "type": "string"
              },
              "value": {
                "type": "number"
              }
            }
          }
        },
        "options": {
          "type": "object",
          "properties": {
            "width": {
              "type": "integer",
              "minimum": 100,
              "maximum": 4000,
              "default": 640
            },
            "height": {
              "type": "integer",
              "minimum": 100,
              "maximum": 4000,
              "default": 400
            },
            "title": {
              "type": "string",
              "default": ""
            },
            "fill": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}$",
              "default": "#4f46e5"
            },
            "theme": {
              "type": "string",
              "enum": [
                "light",
                "dark"
              ],
              "default": "light"
            },
            "showGrid": {
              "type": "boolean",
              "default": true
            },
            "yAxisLabel": {
              "type": "string",
              "default": ""
            }
          }
        }
      }
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "required": [
        "svg",
        "byteLength",
        "yAxis",
        "pointCount"
      ],
      "properties": {
        "svg": {
          "type": "string",
          "description": "Complete, well-formed SVG document."
        },
        "byteLength": {
          "type": "integer",
          "description": "UTF-8 byte length of the svg string."
        },
        "yAxis": {
          "type": "object",
          "required": [
            "min",
            "max",
            "ticks"
          ],
          "properties": {
            "min": {
              "type": "number"
            },
            "max": {
              "type": "number"
            },
            "ticks": {
              "type": "array",
              "items": {
                "type": "number"
              }
            }
          }
        },
        "pointCount": {
          "type": "integer"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}