{"uid":"cap_PJJ9O_FPMxlzb_Pl2eJNe","slug":"24k-labs-ai-debug-assist-a1ebf8f0","name":"24K Labs AI Debug Assist","description":"Find bugs, explain errors, suggest fixes.","url":"https://api.24klabs.ai/api/debug-assist","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string","description":"Primary input content"},"context":{"type":"string","description":"Optional context or instructions"},"language":{"type":"string","description":"Programming language (code services)"}}},"responseSchema":{"type":"json","example":{"model":"claude-sonnet-4-5","result":"The variable is None at that point. Check for a missing return...","tokens_used":220}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EsuqKQ8ZPbSTW0AsJnziw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes code snippets using Claude AI to diagnose bugs, explain errors, and suggest fixes, billed per request in USDC on Base L2.","exampleAgentPrompt":"Can you debug this Python function for me? It keeps returning None when it should return a list — here's the code: `def get_items(db): results = db.query('SELECT * FROM items') return results` — the language is Python.","exampleUseCases":null,"resultDescription":"A JSON object containing the Claude model used (e.g. claude-sonnet-4-5), a natural-language explanation of the bug or issue found in the code with suggested fixes, and the number of tokens consumed by the request.","failureModes":["Missing or empty code field returns an error response","Unsupported or ambiguous language may reduce diagnostic accuracy","Payment failure (insufficient USDC balance) blocks the request via x402 protocol","Very large code snippets may exceed token limits or increase cost","Malformed JSON input may result in a 400 error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to programmatically debug code snippets without a subscription or API key, paying only $0.20 USDC per call on Base L2. Ideal for autonomous agents that encounter runtime errors during code execution and need on-demand AI-powered diagnosis. Best suited when you need Claude-quality debugging without setting up a full Anthropic API account.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:50.462Z","isFirstParty":false}