← Back to directory

Run a short synchronous JavaScript snippet in QuickJS inside an isolated OS proc...

https://code.halowerk.com/v1/js-run

Overview

Run a short synchronous JavaScript snippet in QuickJS inside an isolated OS process, with JSON input, a JSON result and captured console output. Evaluates a JavaScript script with the input JSON available as global input. The last expression is the result; undefined becomes null. Uses installed quickjs-emscripten 0.32.0 (MIT), with a fresh WASM runtime for every call, a 32 MiB VM heap and a 500 ms interrupt deadline.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network Base
Category crypto/defi
Provider code
Source bazaar
Indexed 2026-11-20 13:10:04

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "code": "input.prices.reduce((sum, price) => sum + price, 0)", "input": { "prices": [ 12, 8, 5 ] } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "engine": "QuickJS 0.32.0 (WASM)", "execution_ms": 1, "limits": { "console_bytes": 8192, "execution_ms": 500, "process_memory_bytes": 268435456, "result_bytes": 65536, "vm_memory_bytes": 33554432 }, "stdout": [], "value": 25 }, "type": "json" }