{"uid":"cap_DrU3jh3IfIV-A4u-f1qeb","slug":"jarvisclaw-sandbox-code-execution-d88cea49","name":"JarvisClaw Sandbox Code Execution","description":"AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.","url":"https://api.jarvisclaw.ai/v1/marketplace/compute/sandbox/exec","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Request parameters"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.045","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0022","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0wBWVg1AQX4mS8U5wNeuw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0022","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes AI-powered code or compute tasks in a sandboxed environment via an OpenAI-compatible chat API, billed per-call in USDC on Base or Solana.","exampleAgentPrompt":"Run this Python snippet in the AI sandbox using gpt-4.1-nano — 'print([x**2 for x in range(10)])' — keep max_tokens at 512 and temperature at 0.2, and stream the response back to me.","exampleUseCases":[{"title":"Autonomous cost calculator for dynamic pricing","prompt":"I need you to run a quick Python script in the sandbox that calculates shipping costs based on weight and distance — use gpt-4.1-nano and keep it under 1000 tokens. Just execute it and stream back the results so I can integrate them into my pricing engine."},{"title":"Real-time data processing for agent workflows","prompt":"Execute this data transformation task: take a CSV of customer records, filter for recent signups, and generate summary statistics. Use Claude Sonnet, set temperature to 0.1 for accuracy, and stream the output back token-by-token so my agent can act on it immediately."},{"title":"On-demand code validation for autonomous systems","prompt":"My agent needs to validate some untrusted user-submitted code before deployment. Can you run it in your sandbox using GPT-4, give it a max of 2000 tokens, and stream back whether it's safe with detailed feedback on any issues?"}],"resultDescription":"Returns an OpenAI-compatible chat completion response containing the AI-generated output or code execution result; supports streaming token-by-token delivery. Payment is deducted at $0.01 USDC per call settled on Base or Solana.","failureModes":["402 Payment Required if USDC balance is insufficient or x402 header is missing","Invalid model ID returns 400 or model-not-found error","Sandbox timeout if compute task exceeds allowed duration","Malformed messages array causes 422 validation error","Rate limiting if too many concurrent calls are made"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible AI inference or sandboxed code execution with pay-per-call USDC billing and no subscription required — especially useful for autonomous agents that need to pay dynamically per task using Base or Solana crypto rails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:11:16.041Z","isFirstParty":false}