ToolAssay

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-09-29
1 of 1checks answered this week
891 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

CategoryImage and media
Provider hostx402.freeq.one
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days13 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-29 valid payment request 402$0.005 891 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": {
            "result": {
              "description": "Tool output (JSON)"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON