{"uid":"cap_f8nV0FxmCF-Uj61flgmvL","slug":"nexusapi-ai-code-debugger-f929ad89","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-virid.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.134048","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.134048/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.134048","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.134048","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aKjZX9jSM3KEOTkliECR_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.134048","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 using AI to identify errors, explain issues, and suggest fixes","exampleAgentPrompt":"Can you debug this Python function for me? It's throwing a KeyError on line 12: `def get_user(data): return data['user']['name']` — find the bug and tell me how to fix it.","exampleUseCases":[{"title":"Fix a crashing production function","prompt":"My Node.js function keeps throwing a TypeError in production — here's the code: `function parseConfig(cfg) { return cfg.settings.timeout * 1000; }` — can you debug it and tell me what's wrong?"},{"title":"Explain a confusing Python error","prompt":"I'm getting an AttributeError in this Python class and I can't figure out why. Can you debug it for me: `class Dog: def __init__(self, name): self.nome = name; print(self.name)`"},{"title":"Debug a logic error in a loop","prompt":"This JavaScript loop is supposed to sum an array but it always returns 0. Can you find the bug: `function sumArray(arr) { let total = 0; arr.forEach(n => { total = n; }); return total; }`"}],"resultDescription":"Returns an AI-generated analysis of the submitted code, including identified bugs, explanations of errors, and suggested corrections or fixed code snippets.","failureModes":["Empty or missing query field returns an error response","Extremely long code snippets may exceed input limits","Non-code text input may produce irrelevant or low-quality output","Highly obscure programming languages may yield inaccurate analysis","Payment failure in USDC on Base blocks the request entirely"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to automatically debug or diagnose code issues without manual developer intervention, especially in workflows where code quality must be checked programmatically. Prefer this over general LLM calls when you want a pay-per-use, no-API-key solution for code debugging within an agent pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:02:47.104Z","isFirstParty":false}