BlockRun.AI · Sandbox Create

by BlockRun.AI

POSTBase

$0.011

per call · USD Coin on Base

Create a managed Python 3.11 sandbox. Two billing modes selected by 'timeout': ≤300s = flat rate (CPU $0.01, GPU varies). >300s = per-hour billing for the full requested lifetime, no refund on early terminate. Max 24h.

Endpoint

POST https://blockrun.ai/api/v1/modal/sandbox/create

11

Calls / 30d

6

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://blockrun.ai/api/v1/modal/sandbox/create", {
  method: "POST",
});
const data = await res.json();
cURL
curl -X POST \
  "https://blockrun.ai/api/v1/modal/sandbox/create" \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0xe9030014f5dae217d0a152f02a043567b16c1abf
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from BlockRun.AI & similar services