{"uid":"cap_A6f7eZHqxD9l-ifx-LlsU","slug":"ciel-code-translate-api-5abd750a","name":"CIEL Code Translate API","description":"50+ micro-services for AI agents: data parsing, crypto analytics, security scanning, code tools, and more. Pay per call via x402 (USDC on Base) or RapidAPI subscription.","url":"https://169.58.38.67.sslip.io/api/code-translate","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"data"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W-0Ueiq-I7TSoK8R5EtsH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates code snippets from one programming language to another via a micro-service endpoint.","exampleAgentPrompt":"Can you translate this Python function into JavaScript for me? Here's the code: `def add(a, b): return a + b`","exampleUseCases":[{"title":"Port Python script to JavaScript","prompt":"I have a Python utility function that parses JSON and I need it converted to JavaScript — here's the code: `def parse_data(data): return json.loads(data)`. Can you run it through the code translator?"},{"title":"Rewrite Go function in Rust","prompt":"Take this Go function I wrote and translate it into Rust for me: `func multiply(a, b int) int { return a * b }`."},{"title":"Convert Bash script to PowerShell","prompt":"I've got a Bash script for file cleanup and I need the equivalent PowerShell version — can you translate it? Here's the script: `find . -name '*.tmp' -delete`."}],"resultDescription":"Returns a JSON object containing the translated code result, with the converted code snippet in the target programming language under a 'result' field.","failureModes":["Unsupported source or target language returns an error or empty result","Malformed or syntactically invalid input code may produce incorrect translation","Ambiguous or context-dependent code may yield semantically incorrect output","Missing required properties parameter returns a generic or failed response","Network timeout due to IP-based hosting (no domain name) may cause intermittent failures"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call code translation between programming languages without a subscription overhead. It is well-suited for AI agents that occasionally need to port snippets and want to pay micro-amounts via USDC on Base (x402) rather than maintaining an API key subscription. Prefer this over general-purpose LLM translation when you want a dedicated, reproducible micro-service for code conversion tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T07:02:47.157Z","isFirstParty":false}