{"uid":"cap_94-O80_2xvA46YJlU6Gkz","slug":"primeapi-ai-code-debugger-ff470e5a","name":"PrimeAPI 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://prime-api-seven.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_NR4SKL3At1SJnCfOsOM3s","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 or programming queries using AI, identifying errors and suggesting fixes","exampleAgentPrompt":"Can you debug this Python function for me? It keeps throwing a TypeError on line 12 when I pass in a list: `def sum_values(items): return items + 10`","exampleUseCases":null,"resultDescription":"Returns an AI-generated analysis of the submitted code or programming query, including identification of bugs, explanation of errors, and suggested fixes or corrected code snippets.","failureModes":["Missing or empty query field returns an error response","Ambiguous or incomplete code snippet may produce vague debugging suggestions","Non-code text input may yield irrelevant or low-quality output","Payment failure in USDC on Base blocks the request entirely","Overly long code snippets may be truncated or rejected"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically submit code or error descriptions for debugging analysis without managing API keys, paying per-call in USDC on Base via x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:49:48.868Z","isFirstParty":false}