{"slug":"format-halowerk-com-v1-vega-render-8063e6","title":"Render a Vega-Lite or Vega chart specification with inline data to SVG and/or PN","host":"format.halowerk.com","method":"POST","resource":"https://format.halowerk.com/v1/vega-render","category":"other","description":"Render a Vega-Lite or Vega chart specification with inline data to SVG and/or PNG, with mark counts and compiler warnings. 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 sandb","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":895,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"spec":{"data":{"values":[{"month":"Jan","revenue":120},{"month":"Feb","revenue":180}]},"encoding":{"x":{"field":"month","type":"nominal"},"y":{"field":"revenue","type":"quantitative"}},"mark":"bar"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"format":{"default":"svg","description":"svg, png (rasterised by Chrome) or both.","enum":["svg","png","both"],"type":"string"},"scale":{"default":2,"description":"Device pixel ratio for PNG output.","maximum":4,"minimum":1,"type":"number"},"spec":{"description":"Vega-Lite or Vega specification with inline data values.","type":"object"},"spec_type":{"default":"auto","enum":["auto","vega-lite","vega"],"type":"string"}},"required":["spec"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1002,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":895,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":904,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":885,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":892,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":887,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":899,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":883,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":356,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":2127,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":348,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":321,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":334,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":992,"error":null}],"description_full":"Render a Vega-Lite or Vega chart specification with inline data to SVG and/or PNG, with mark counts and compiler warnings. 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.","last_updated":"2026-11-20T19:57:48.642Z","schemes":["exact"]}