{"uid":"cap_loiSb8EjImwYrI4X9ulfc","slug":"24k-labs-ai-code-review-898e35e9","name":"24K Labs AI Code Review","description":"Security, performance, and architecture review with actionable feedback.","url":"https://api.24klabs.ai/api/v1/code-review","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":"**Issues found (2):**\n- SQL injection risk on line 3...","tokens_used":410}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.4","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.4/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dFlrAWjUhHOzRQtc012lj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.4","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reviews submitted source code for bugs, security vulnerabilities, and quality issues using Claude AI, returning structured findings per request","exampleAgentPrompt":"Can you review this Python function for security issues and bugs? Here's the code: `def get_user(id): return db.execute(f'SELECT * FROM users WHERE id={id}')` — it's Python and I'm concerned about SQL injection.","exampleUseCases":null,"resultDescription":"A JSON object containing the AI model used (claude-sonnet-4-5), a markdown-formatted review result listing specific issues found with line references (e.g. SQL injection risks, logic errors), and the number of tokens consumed for the analysis.","failureModes":["Missing or empty 'code' field returns an error response","Unsupported or ambiguous language may reduce review quality","Very large code blocks may hit token limits","Payment failure via x402/USDC will block the request from being processed","Network timeout if code is extremely large"],"whenToPreferThis":"Choose this endpoint when you need on-demand, pay-per-use AI code review without committing to a subscription or managing API keys — ideal for agents that review code sporadically or for one-off security audits. Prefer this over embedded linting tools when you want natural-language AI commentary on security vulnerabilities and code quality rather than rule-based static analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:45:09.264Z","isFirstParty":false}