S

Sovereign X402 Zeta · Code Exec

by Sovereign X402 Zeta

POSTBase

$0.02

per call · USD Coin on Base

Execute Python code in a real, isolated E2B cloud sandbox (not a subprocess) and return stdout/stderr/results.

Endpoint

POST https://sovereign-x402-zeta.vercel.app/api/v1/code/exec

8

Calls / 30d

2

Unique payers / 30d

Aug 29

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://sovereign-x402-zeta.vercel.app/api/v1/code/exec", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "code": "print(1 + 1)"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://sovereign-x402-zeta.vercel.app/api/v1/code/exec" \
  -H "Content-Type: application/json" \
  -d '{"code":"print(1 + 1)"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{}

Payment details

Pay to0x41595e02275629126ad11551e39ee9ac8531ad3c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Sovereign X402 Zeta & similar services