router.sasona.ai/x402/run-code/payai
Runs Python you send in a sandbox and returns its stdout, exit status, time and memory. Use it to execute code an agent wrote - a calculation, a parse, a transformation - without a machine, an account or an API key of your own.
POST
https://router.sasona.ai/x402/run-code/payaiUptime100% of 3 checks in 30 days
30 days agoToday
Call it from an agent
curl -i -X POST -H 'content-type: application/json' "https://router.sasona.ai/x402/run-code/payai" \
-d '{"input":"print(sum(range(10)))"}'
# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.Example input
{
"input": "print(sum(range(10)))"
}