{"uid":"cap_7M6_k-5UdwuADBwH2_4QV","slug":"24k-labs-ai-code-review-8c948001","name":"24K Labs AI Code Review","description":"A curated directory of x402 services — each one on the list on purpose, with the health, uptime, and independent trust grades from across the ecosystem gathered in one place.","url":"https://api.24klabs.ai/api/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_johYT0kyJjuuuZ7JiqVWe","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":"Performs AI-powered security and quality review of source code, identifying issues like SQL injection and other vulnerabilities, billed per request in USDC on Base L2","exampleAgentPrompt":"Review this Python function for security issues and bugs: 'def login(user, pw): query = \"SELECT * FROM users WHERE name=\" + user' — it's Python and I want to know about any SQL injection risks.","exampleUseCases":null,"resultDescription":"A JSON object containing the AI model used (e.g. claude-sonnet-4-5), a markdown-formatted review text listing numbered issues with line-level detail (e.g. SQL injection risk on line 3), and the number of tokens consumed.","failureModes":["Payment not provided or insufficient USDC — returns 402 Payment Required","Code field missing or empty — may return error or empty review","Unsupported or ambiguous language specified — review may be less precise","Rate limiting or service unavailability — returns 5xx error","Extremely large code inputs may exceed token limits"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use AI code review without committing to a subscription or managing API keys, especially when billing via USDC crypto micropayments on Base L2 is acceptable. Ideal for agents that review code on-demand and want to avoid recurring SaaS costs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:53:20.909Z","isFirstParty":false}