# Nodebox > The agent writes code, Nodebox runs it on real Node.js in a fresh sandbox and throws the sandbox away. One API call, or one iframe in any page. Nodebox runs JavaScript on Node.js 26 LTS through the `function` parameter of the Microlink API. Each run starts a fresh sandbox, installs the npm packages the code requires or imports, returns the value and the console output, and discards the sandbox. ## Run code with one API call ```sh curl -G https://api.microlink.io/ \ --data-urlencode url=https://example.com \ --data-urlencode meta=false \ --data-urlencode function@- <<'JS' async () => { const os = require('node:os') console.log(`Hello from Node.js ${process.version}`) return { platform: os.platform(), arch: os.arch(), cpus: os.cpus().length } } JS ``` The code is the body of an async function, so `await` works and `return` sends the value back. Load npm packages with `require()`: any public package installs on the first run, and `require('cheerio@1.0.0')` pins a version. `import` statements are not valid inside the function body, so the playground rewrites them to `require()` and turns a last-line expression into `return` before it sends the request. The JSON response carries the result at `data.function.value`. Identical code is answered from the Microlink cache, so add `force=true` to run it again. With an API key, send the same request to https://pro.microlink.io with the key in the `x-api-key` header. ## Limits - Without an API key: 5 runs per day per IP address, 2 at a time, 15 seconds, 64 MB of memory and 5 KB of code per run, and no requests to other websites. - Free API key: 25 runs per day. - Pro: from $49 per month for 46,000 runs per month, 60-second runs and access to external APIs. ## What does not run - TypeScript, Deno, Bun and Python. Remove type annotations before running a snippet. - Packages that load native binaries, such as `bcrypt` or `sharp`. Use a pure JavaScript alternative like `bcryptjs`. - Private npm packages, environment variables and secrets. Treat the code as public. - Reading host files, writing to disk, reading stdin, spawning child processes or starting a server with `listen()`. ## Links - [Full page as Markdown](https://nodebox.microlink.io/llms-full.txt): every feature, use case and FAQ answer - [Playground](https://nodebox.microlink.io/p): write, run and share a snippet, then copy its API request or embed code - [Introducing Nodebox](https://microlink.io/blog/introducing-nodebox): the launch post - [Function parameter](https://microlink.io/docs/api/parameters/function): API reference - [Rate limits](https://microlink.io/docs/api/basics/rate-limit): how free runs are counted - [Pricing](https://microlink.io/pricing): Microlink plans - [Source code](https://github.com/microlinkhq/nodebox): the website, embed and playground, MIT licensed