← Market

Vega Render

Compiles Vega-Lite 6.5 to Vega 6.4 and renders to SVG with the string renderer (no canvas); PNG comes from the Chrome canvas. Both libraries run from node_modules inside a sandboxed Chrome renderer with network blocked, so Vega expressions never run in the API process. Data must be inline: any url is rejected and loader access is blocked and reported. Returns size, mark item count and warnings.

POST https://format.halowerk.com/v1/vega-render

0.005 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.005 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "spec": {
    "data": {
      "values": [
        {
          "month": "Jan",
          "revenue": 120
        },
        {
          "month": "Feb",
          "revenue": 180
        }
      ]
    },
    "encoding": {
      "x": {
        "field": "month",
        "type": "nominal"
      },
      "y": {
        "field": "revenue",
        "type": "quantitative"
      }
    },
    "mark": "bar"
  }
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score73 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency30 ms
Paid calls (30d, on-chain)978 calls · 7 buyers · shared price cohort of 1537
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://format.halowerk.com/v1/vega-render · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "spec"
  ],
  "properties": {
    "spec": {
      "type": "object",
      "description": "Vega-Lite or Vega specification with inline data values."
    },
    "spec_type": {
      "type": "string",
      "enum": [
        "auto",
        "vega-lite",
        "vega"
      ],
      "default": "auto"
    },
    "format": {
      "type": "string",
      "enum": [
        "svg",
        "png",
        "both"
      ],
      "default": "svg",
      "description": "svg, png (rasterised by Chrome) or both."
    },
    "scale": {
      "type": "number",
      "minimum": 1,
      "maximum": 4,
      "default": 2,
      "description": "Device pixel ratio for PNG output."
    }
  }
}
curl -i -X POST 'https://format.halowerk.com/v1/vega-render' \
  -H 'content-type: application/json' -d '{"spec":{"data":{"values":[{"month":"Jan","revenue":120},{"month":"Feb","revenue":180}]},"mark":"bar","encoding":{"x":{"field":"month","type":"nominal"},"y":{"field":"revenue","type":"quantitative"}}}}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)