{"uid":"cap_p0mbOVZksYc1FqhcJQ3Es","slug":"ddg-code-execution-service-cf29830f","name":"DDG Code Execution Service","description":"Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.","url":"https://agents.daedalusdevelopmentgroup.com/v1/code-execution","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ccTMdhOfvosoX7PZu8Uv4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes code or HTTP-triggered computations server-side and returns a bounded result, payable per-call via x402 USDC micropayment","exampleAgentPrompt":"Run a server-side computation for me — POST a JSON body with the input parameters I need processed, and give me back the result; I'll authorize the $0.01 USDC x402 payment automatically.","exampleUseCases":[{"title":"Agent-triggered data transformation job","prompt":"I need you to run a data transformation on the DDG code execution service — send it my JSON payload with the transformation logic and return whatever computed artifact comes back; pay the micropayment automatically."},{"title":"Sandboxed script execution for CI pipeline","prompt":"Can you execute this script logic remotely on DDG's agent-payable service using a POST with my JSON body, pay the one-cent USDC fee, and bring back the result so I can use it in the next pipeline step?"},{"title":"On-demand computation for AI reasoning step","prompt":"I need a quick server-side calculation done — fire off a POST request to the DDG code execution endpoint with these inputs, handle the x402 payment, and tell me what the output looks like."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, plus any computed artifact or result data specified by the caller's output schema example. The response is a bounded, self-contained result — not raw provider access.","failureModes":["Payment not authorized or USDC balance insufficient — 402 Payment Required returned","Malformed input body or missing required fields (input.type, input.method, input.bodyType, input.body, output.type, output.example) — 400 Bad Request","Unsupported HTTP method in input.method (only POST, PUT, PATCH accepted) — validation error","Unsupported bodyType (only json, form-data, text accepted) — validation error","Service temporarily unavailable or provider environment not configured — 5xx error","Execution timeout or resource limit exceeded for the requested computation"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to execute a bounded computation or code task server-side without provisioning its own runtime, and when you want pay-per-call pricing via x402 USDC micropayments. It is particularly well-suited for agent workflows that need ephemeral, one-shot computations billed automatically at $0.01 per call with no subscription overhead. Prefer it over raw cloud functions when you want a pre-integrated, agent-payable compute primitive with no infrastructure management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:45:25.484Z","isFirstParty":false}