xpay tools logo
  • Providers
  • Collections
  • Explore
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Code Runner
  4. ›
  5. Execute Code

Code Runner
Code Runner
Tool

Execute Code

execute_code

Execute JavaScript or Python code securely with comprehensive error handling and security measures


Pricing

Per call

$0.01

Model

flat


Pay only for what you use. No subscriptions.
Inputs

input

string

language *

string

memoryLimit

number

code *

string

enableNetworking

boolean

timeout

number
Try It
API
MCP Config
Input Parameters
input
Input data for the program (stdin)
​
language *
Programming language to execute
memoryLimit
Memory limit in MB (max 512)
code *
Code to execute
timeout
Execution timeout in milliseconds (max 60000)
Cost per run
Execution cost
$0.01
Deducted from your xPay allowance
xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

Product
ExploreCollectionsBundles
Resources
Documentationxpay.shGitHub

© 2026 Agentically Inc. All rights reserved.Microtransactions happen via Stablecoins