{"uid":"cap_vOO48_AYyycKvzN56maO_","slug":"datavault-code-review-47a058db","name":"DataVault Code Review","description":"54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.","url":"https://zetdatavault.vercel.app/api/code-review","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":"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.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_u6CssoyEHQj5nTAG1D3TD","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":"Submits code for AI-powered review, returning analysis of issues, best practices, and improvements for a given language and focus area.","exampleAgentPrompt":"Review this Python function for security vulnerabilities and suggest improvements: def login(user, pwd): query = 'SELECT * FROM users WHERE user=' + user + ' AND pwd=' + pwd; return db.execute(query)","exampleUseCases":[{"title":"Spot-check JavaScript for performance issues","prompt":"I've got a React component that's rendering slowly. Can you review this code and tell me what's making it slow and how to fix it?"},{"title":"Analyze API endpoint for security flaws","prompt":"I just wrote a REST endpoint that handles user authentication. Review this code and flag any security vulnerabilities or dangerous patterns I should know about."},{"title":"Improve code quality and maintainability","prompt":"My team inherited this legacy Python script and it's a mess. Can you review it, point out the code smells, and suggest how we can make it cleaner and easier to maintain?"}],"resultDescription":"Returns a structured object with a success boolean and a data object containing AI-generated code review feedback, including identified issues, improvement suggestions, and best practices relevant to the submitted code, language, and specified focus area.","failureModes":["Missing required 'code' field returns a validation error","Empty or malformed code string may produce low-quality or generic review","Unsupported or unrecognized language value may result in language-agnostic analysis","Very large code submissions may timeout or be truncated","Focus area not understood by the model may be ignored or generalized"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call AI code review without subscribing to a dedicated code analysis service. Ideal for spot-checking individual functions or snippets, especially when you want to specify a particular focus like security, performance, or style. Best suited for lightweight, on-demand review tasks rather than full codebase scanning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:36.652Z","isFirstParty":false}