{"uid":"cap_KlwhNNDdVgbK4A-TbzFx5","slug":"nexusapi-ai-code-debugger-00c6014c","name":"NexusAPI AI Code Debugger","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-peach-nine.vercel.app/api/ai/code/debug","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.144191","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.144191/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.144191","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.144191","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UppOzpzDZ6LebwN6SUv12","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.144191","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes and debugs code snippets, identifying errors, suggesting fixes, and explaining issues using AI.","exampleAgentPrompt":"Can you debug this Python function for me? It keeps throwing a TypeError on line 5: `def add(a, b): return a + b + c` — tell me what's wrong and how to fix it.","exampleUseCases":[{"title":"Quick function debugging for developers","prompt":"I've got this JavaScript snippet that's supposed to filter an array but it keeps returning undefined. Can you look at it and tell me what's breaking? Here's the code: `const filtered = arr.map(x => x > 5).filter()` — I need to know what's wrong and how to fix it."},{"title":"Runtime error troubleshooting in production","prompt":"My Node.js service is crashing with a strange error about undefined properties. I pulled this snippet from where it's failing: `const user = data.profile; console.log(user.name.toUpperCase());` — can you debug this and explain why it's throwing an error?"},{"title":"Code review and improvement suggestions","prompt":"I wrote this Python script to process user input but I'm not confident it's correct. Can you analyze it for bugs and issues? `def process(items): total = 0; for item in items: total = total + item[value]; return total` — what's wrong and how should I fix it?"}],"resultDescription":"The agent receives an AI-generated analysis of the submitted code, including identified bugs, explanations of the errors, and suggested corrections or fixed code snippets.","failureModes":["Empty or missing query field returns a generic error response","Malformed or non-code input may produce irrelevant or low-quality debug suggestions","Payment failure (402) if USDC balance is insufficient on Base","Timeout if the code snippet is excessively large","Ambiguous input without language context may yield inaccurate results"],"whenToPreferThis":"Choose this endpoint when you need a quick AI-powered code debugging analysis via a pay-per-call model without managing API keys. Best suited for single code snippet debugging tasks where you want an explanation plus fix suggestion. Avoid if you need deep static analysis, linting integrated into a CI/CD pipeline, or full project-level code review.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:04:02.298Z","isFirstParty":false}