Mermaid Diagram Renderer
Mermaid Diagram Renderer: Render a Mermaid diagram to an image (PNG or SVG). Returns a base64-encoded image (MCP content type image). Options: format (png|svg), theme (default|dark|forest|neutral), scale (1-4, PNG only). Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/mermaid.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
799 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.freeq.one/tools/mermaid
| Category | Image and media |
|---|---|
| Provider host | x402.freeq.one |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.005 | 473 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 475 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 809 ms |
| 2026-11-23 | valid payment request | 402 | $0.005 | 489 ms |
| 2026-11-22 | valid payment request | 402 | $0.005 | 806 ms |
| 2026-11-21 | valid payment request | 402 | $0.005 | 799 ms |
| 2026-11-20 | valid payment request | 402 | $0.005 | 806 ms |
| 2026-11-19 | valid payment request | 402 | $0.005 | 817 ms |
| 2026-11-18 | valid payment request | 402 | $0.005 | 475 ms |
| 2026-11-17 | valid payment request | 402 | $0.005 | 484 ms |
| 2026-11-16 | valid payment request | 402 | $0.005 | 464 ms |
| 2026-11-15 | valid payment request | 402 | $0.005 | 796 ms |
| 2026-11-14 | valid payment request | 402 | $0.005 | 1018 ms |
| 2026-11-13 | valid payment request | 402 | $0.005 | 809 ms |
| 2026-11-12 | valid payment request | 402 | $0.005 | 803 ms |
| 2026-11-11 | valid payment request | 402 | $0.005 | 467 ms |
| 2026-11-10 | valid payment request | 402 | $0.005 | 465 ms |
| 2026-11-09 | valid payment request | 402 | $0.005 | 467 ms |
| 2026-11-08 | valid payment request | 402 | $0.005 | 469 ms |
| 2026-11-07 | valid payment request | 402 | $0.005 | 482 ms |
| 2026-11-06 | valid payment request | 402 | $0.005 | 480 ms |
| 2026-11-05 | valid payment request | 402 | $0.005 | 467 ms |
| 2026-11-04 | valid payment request | 402 | $0.005 | 493 ms |
| 2026-11-03 | valid payment request | 402 | $0.005 | 631 ms |
| 2026-11-02 | valid payment request | 402 | $0.005 | 923 ms |
| 2026-11-01 | valid payment request | 402 | $0.005 | 924 ms |
| 2026-10-31 | valid payment request | 402 | $0.005 | 915 ms |
| 2026-10-29 | valid payment request | 402 | $0.005 | 913 ms |
Example input (from the provider)
{
"body": {
"code": "graph TD\n A[Client] -->|402| B[x402 Gateway]\n B -->|settle| C[USDC on Base]\n B -->|forward| D[Upstream API]",
"format": "png",
"scale": 2,
"theme": "default"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"description": "JSON request body. See GET /tools for the parameter catalog.",
"properties": {
"code": {
"description": "Mermaid diagram source code, e.g. 'graph TD; A-->B'. Max 50000 chars.",
"example": "graph TD\n A[Client] -->|402| B[x402 Gateway]\n B -->|settle| C[USDC on Base]\n B -->|forward| D[Upstream API]",
"type": "string"
},
"format": {
"description": "Output format (default png). SVG returns vector text.",
"enum": [
"png",
"svg"
],
"example": "svg",
"type": "string"
},
"scale": {
"description": "Raster scale 1-4, PNG only (default 2).",
"example": 2,
"type": "number"
},
"theme": {
"description": "Mermaid theme (default 'default').",
"enum": [
"default",
"dark",
"forest",
"neutral"
],
"example": "default",
"type": "string"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"description": {
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"mcpServerUrl": {
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"queryParams": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"toolName": {
"type": "string"
},
"transport": {
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"content": {
"type": "array"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}