{"uid":"cap_cJPcdHch_stJqSqeBa36B","slug":"nexusapi-ai-code-converter-514cb550","name":"NexusAPI AI Code Converter","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-virid.vercel.app/api/ai/code/convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.091694","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.091694/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.091694","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.091694","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w3l5dTNZiPyOP0azVLNvB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.091694","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts code from one programming language to another using AI","exampleAgentPrompt":"Can you convert this Python function to JavaScript for me? def add(a, b): return a + b","exampleUseCases":[{"title":"Python to JavaScript migration","prompt":"I have a Python utility function I need in JavaScript — can you translate it? Here it is: def greet(name): return f'Hello, {name}'"},{"title":"Legacy PHP to modern Node.js","prompt":"Rewrite this PHP endpoint logic in Node.js so I can migrate our backend: <?php echo json_encode(['status' => 'ok']); ?>"},{"title":"Rust rewrite of C snippet","prompt":"Convert this C snippet to idiomatic Rust for me: int sum(int a, int b) { return a + b; }"}],"resultDescription":"Returns a JSON object containing the converted/translated code in the target programming language, ready to use or integrate.","failureModes":["Ambiguous or missing target language results in generic or incorrect output","Highly complex or framework-specific code may produce incomplete translations","Input code with syntax errors may cause conversion failures or poor output quality","Very long code snippets may exceed processing limits","Unsupported language pairs may return errors or low-quality results"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call AI-powered code translation without managing API keys or rate limits. Ideal for one-off or infrequent language conversions where setting up a dedicated LLM integration would be overkill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:43:10.970Z","isFirstParty":false}