Api Endpoint

Saylor Innovations Reference

Render diagram code (Mermaid, Graphviz, PlantUML, D2 and more) to SVG, with shareable image URLs

Open interactive test console

Offering

Provider
saylorinnovations.com
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://saylorinnovations.com/api/diagram/render
MIME type
Not provided
First seen
2026-10-16T01:51:20.002Z
Last seen
Tags
diagrams, mermaid, graphviz, plantuml, rendering

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 5
10000 atomic units
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB · Scheme: exact
Payment option 6
92459 atomic units
Atomic price: 92459 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: So11111111111111111111111111111111111111112 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
    "amount": "10000",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "So11111111111111111111111111111111111111112",
    "amount": "92459",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  }
]

Observed health

Status
Healthy
Latest latency
1478 ms
Average latency
1446 ms
HTTP status
402
Last checked
Reachability
100% over 8 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "queryParams": {
      "properties": {
        "source": {
          "description": "diagram source text (query)",
          "type": "string"
        },
        "type": {
          "description": "optional mermaid | graphviz | plantuml | d2 | c4plantuml | bpmn | erd | nomnoml ... default mermaid (query)",
          "type": "string"
        }
      },
      "required": [
        "source"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "source": {
              "description": "diagram source text (query)",
              "type": "string"
            },
            "type": {
              "description": "optional mermaid | graphviz | plantuml | d2 | c4plantuml | bpmn | erd | nomnoml ... default mermaid (query)",
              "type": "string"
            }
          },
          "required": [
            "source"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "format": {
              "description": "Format of the result",
              "type": [
                "string",
                "null"
              ]
            },
            "image_urls": {
              "description": "Image urls",
              "type": "object"
            },
            "note": {
              "description": "Caveat or context for reading the result",
              "type": [
                "string",
                "null"
              ]
            },
            "rendered": {
              "type": "boolean"
            },
            "rendered_by": {
              "description": "Rendered by",
              "type": [
                "string",
                "null"
              ]
            },
            "svg": {
              "type": "string"
            },
            "svg_bytes": {
              "description": "Svg, in bytes",
              "type": [
                "number",
                "null"
              ]
            },
            "type": {
              "description": "Type or kind",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "rendered"
          ],
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}