{"uid":"cap_CJF3XwwoGLhijatFV8wAm","slug":"bolt-code-review-4197f1bd","name":"Bolt Code Review","description":"Utility toolkit for AI agents. 54 endpoints — tools, data, and AI processing. Pay per request in USDC via x402.","url":"https://datsavalt.vercel.app/api/code-review?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"},"focus":{"type":"string"},"language":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_f_06ci4GGk_BjCSafyhBo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs AI-powered code review on a submitted code snippet, providing feedback on quality, bugs, and best practices","exampleAgentPrompt":"Can you do a code review on this Python function I wrote? Focus on security vulnerabilities:\n\n```python\ndef get_user(user_id):\n    query = f\"SELECT * FROM users WHERE id = {user_id}\"\n    return db.execute(query)\n```","exampleUseCases":[{"title":"Security audit of backend code","prompt":"Review this Node.js route handler for security issues — I'm especially worried about SQL injection and input validation:\n\n```js\napp.get('/user', (req, res) => { db.query('SELECT * FROM users WHERE id=' + req.query.id, ...); })\n```"},{"title":"Code quality check before PR","prompt":"Can you review this TypeScript class I'm about to submit as a pull request and focus on code quality and best practices? Here's the code: `class UserService { constructor(private db: any) {} async getUser(id) { return this.db.find(id); } }`"},{"title":"Beginner code feedback session","prompt":"I'm learning JavaScript — can you review this function I wrote and tell me what I'm doing wrong or could improve? The code is: `function addNumbers(a, b) { var result = a + b; return result; }`"}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing AI-generated code review feedback, which typically includes identified issues, suggestions for improvement, security concerns, style recommendations, and an overall quality assessment tailored to the submitted language and focus area.","failureModes":["Missing required 'code' field returns validation error","Very large code snippets may exceed token limits","Unsupported or ambiguous language may reduce review accuracy","Vague or empty focus parameter may produce generic feedback","Network timeout on slow inference for complex code"],"whenToPreferThis":"Choose this endpoint when you need quick, pay-per-use AI code review without setting up your own LLM pipeline. It's well-suited for agents that need on-demand code quality feedback as part of a development workflow, CI-adjacent automation, or tutoring scenarios. At $0.05 per call it's cost-effective for occasional reviews. Prefer a dedicated static analysis tool for large-scale batch linting or language-specific rule enforcement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:40:14.702Z","isFirstParty":false,"canonicalSlug":"bolt-code-review-4197f1bd"}