Api Endpoint

x402.freeq.one

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), s…

Open interactive test console

Offering

Provider
x402.freeq.one
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.freeq.one/tools/mermaid
MIME type
Not provided
First seen
2026-10-16T02:15:11.607Z
Last seen
Tags
None supplied

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
103 ms
Average latency
269 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": "mcp"
    },
    "tool": {
      "type": "string",
      "description": "Tool name to call"
    },
    "inputSchema": {
      "type": "object",
      "description": "Arguments object matching the tool's input schema (see GET /tools)"
    },
    "body": {
      "type": "object",
      "description": "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).",
      "properties": {
        "code": {
          "type": "string",
          "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]"
        },
        "format": {
          "type": "string",
          "enum": [
            "png",
            "svg"
          ],
          "description": "Output format (default png). SVG returns vector text.",
          "example": "svg"
        },
        "theme": {
          "type": "string",
          "enum": [
            "default",
            "dark",
            "forest",
            "neutral"
          ],
          "description": "Mermaid theme (default 'default').",
          "example": "default"
        },
        "scale": {
          "type": "number",
          "description": "Raster scale 1-4, PNG only (default 2).",
          "example": 2
        }
      }
    }
  }
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "json"
    },
    "example": {
      "type": "object",
      "properties": {
        "result": {
          "description": "Tool output (JSON)"
        }
      }
    }
  }
}