81trust / 100
Chart
by MimirAPI in Search & web
x402 APIPassing, checked 4 h ago
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.
POST https://mimirapi.com/v1/chart
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 39 ms typical, 39 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://mimirapi.com/v1/chart" \
-H "content-type: application/json" \
-d '{"labels":["Q1","Q2","Q3","Q4"],"title":"Settled calls","type":"bar","values":[3,7,4,9]}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmimirapi.com%2Fv1%2Fchart
const res = await pay("https://mimirapi.com/v1/chart", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"labels":["Q1","Q2","Q3","Q4"],"title":"Settled calls","type":"bar","values":[3,7,4,9]}),
});
console.log(await res.json());Example input
{
"labels": [
"Q1",
"Q2",
"Q3",
"Q4"
],
"title": "Settled calls",
"type": "bar",
"values": [
3,
7,
4,
9
]
}Example output
{
"contentType": "image/svg+xml",
"points": 4,
"svg": "<svg xmlns=\"…\">…</svg>",
"type": "bar"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 39 ms | $0.01 |