Deterministic, paid-per-render SVG bar chart generator for LLM agents
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-…
by svg-bar-chart-renderer.jannioura.workers.dev · discovered, not yet claimed by its owner · updated 2026-09-24
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: bazaar · builder-code
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-09-24
{
"data": [
{
"label": "Q1",
"value": 12
},
{
"label": "Q2",
"value": 19
},
{
"label": "Q3",
"value": 7
}
]
}{
"byteLength": 1877,
"pointCount": 3,
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"640\" height=\"400\" viewBox=\"0 0 640 400\" role=\"img\" aria-label=\"Bar chart\"><rect x=\"0\" y=\"0\" width=\"640\" height=\"4...",
"yAxis": {
"max": 20,
"min": 0,
"ticks": [
0,
5,
10,
15,
20
]
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/41615.jsonfor the price and payment options. - Pay. Call
GET https://svg-bar-chart-renderer.jannioura.workers.dev/. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.015 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 7 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.015 | 0x86256e25d4e5511eb6dcc474a4e779970267e903 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x86256e25d4e5511eb6dcc474a4e779970267e903",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "15000",
"amountUsd": 0.015,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"byteLength": {
"description": "UTF-8 byte length of the svg string.",
"type": "integer"
},
"pointCount": {
"type": "integer"
},
"svg": {
"description": "Complete, well-formed SVG document.",
"type": "string"
},
"yAxis": {
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"ticks": {
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"min",
"max",
"ticks"
],
"type": "object"
}
},
"required": [
"svg",
"byteLength",
"yAxis",
"pointCount"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"byteLength": 0,
"pointCount": 0,
"svg": "string",
"yAxis": {
"max": 0,
"min": 0,
"ticks": [
0
]
}
},
"type": "string"
}Examples
curl "https://svg-bar-chart-renderer.jannioura.workers.dev/"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://svg-bar-chart-renderer.jannioura.workers.dev/");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://svg-bar-chart-renderer.jannioura.workers.dev/")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- svg-bar-chart-renderer.jannioura.workers.dev
- Endpoint
- https://svg-bar-chart-renderer.jannioura.workers.dev/
- Machine-readable
/resources/41615.json