S

SYNTHORA · Code Sandbox

by SYNTHORA

POSTBase

$0.01

per call · USD Coin on Base

Python code execution as a service for agents: send code, get stdout/stderr/exit code. Isolated, hard limits. $0.01 USDC x402 Base.

Endpoint

POST https://api.hergertsynthora.com/v1/code-sandbox

1

Calls / 30d

1

Unique payers / 30d

Aug 19

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://api.hergertsynthora.com/v1/code-sandbox", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "code": "print(sum(range(100)))"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.hergertsynthora.com/v1/code-sandbox" \
  -H "Content-Type: application/json" \
  -d '{"code":"print(sum(range(100)))"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "niche": "code_sandbox",
  "ok": true,
  "receipt": {},
  "result": {}
}

Payment details

Pay to0x10800a5a5b9d72251566ec651e862a8b4b427de0
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 SYNTHORA & similar services