{"uid":"cap_VO5JumbwOOC-J_u44sL28","slug":"whatchuneed-multi-language-code-execution-a0cfa54f","name":"WhatChuNeed Multi-Language Code Execution","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/code/multi","method":"POST","headers":{},"bodySchema":{"type":"object","required":["files","language"],"properties":{"files":{"type":"array"},"language":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"stderr":{"type":"string"},"stdout":{"type":"string"},"exitCode":{"type":"integer"},"language":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BYE1gl-PwuGLHCuTbmNoe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes code files in a specified programming language and returns stdout, stderr, and exit code","exampleAgentPrompt":"Run these Python files for me — there's a main.py and a utils.py — and tell me what the output and any errors are.","exampleUseCases":[{"title":"Remote Python script validation","prompt":"I've got a Python script that processes some data — can you run it for me and show me what it prints and whether it exits cleanly?"},{"title":"Multi-file JavaScript execution","prompt":"Run these three JavaScript files together as a program and give me the stdout and exit code — the entry point is index.js."},{"title":"Automated code output testing","prompt":"Execute this snippet in a sandbox and tell me if it errors out or produces the expected output: I don't want to run it on my machine."}],"resultDescription":"Returns a JSON object with stdout (standard output text), stderr (error output text), exitCode (integer indicating success or failure), and the language that was executed.","failureModes":["Unsupported language specified — returns error or non-zero exit code","Syntax errors in submitted code — reflected in stderr with non-zero exitCode","Execution timeout for long-running scripts","Missing required 'files' or 'language' fields — likely 400 validation error","Runtime exceptions — captured in stderr with non-zero exitCode","Payment failure via x402 — 402 response before execution begins"],"whenToPreferThis":"Use this endpoint when an agent needs to execute code in a sandboxed remote environment without provisioning local infrastructure, especially for multi-file programs across various languages. Prefer it over local execution when the code is untrusted, when the agent lacks a local runtime, or when you need a quick pay-per-call execution without managing compute resources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:56.537Z","isFirstParty":false}