{"uid":"cap_KsoemaXGs8uEeS3iQ5-SP","slug":"momoai-code-review-22e4b195","name":"momoAI Code Review","description":"Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.","url":"https://momoai-cyan.vercel.app/api/code","method":"POST","headers":{},"bodySchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"Source code to review"},"focus":{"type":"string"},"language":{"type":"string","description":"Programming language (auto-detect if omitted)"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","properties":{"model":{"type":"string"},"usage":{"type":"object"},"review":{"type":"object","properties":{"score":{"type":"integer"},"issues":{"type":"array"},"summary":{"type":"string"},"suggestions":{"type":"array"}}}}},"meta":{"type":"object","properties":{"focus":{"type":"string"},"price":{"type":"string"},"endpoint":{"type":"string"},"language":{"type":"string"},"timestamp":{"type":"string"}}},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VF0Z5FycnzexwiHDKeKDl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","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 submitted source code, returning a score, issues list, suggestions, and summary.","exampleAgentPrompt":"Can you do a code review on this Python function I wrote — focus on security issues and tell me the quality score, any bugs, and suggestions for improvement?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a review sub-object containing an integer quality score, an array of issues found, an array of improvement suggestions, and a plain-language summary. Also includes metadata such as the programming language detected, review focus, model used, token usage, and timestamp.","failureModes":["Missing required 'code' field returns a 400 or error response","Payment not received or insufficient USDC results in a 402 Payment Required","Unsupported or undetectable programming language may reduce review quality","Very large code submissions may exceed model context limits","Network or Vercel hosting downtime returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a structured, scored code review with explicit issues and suggestions returned as machine-readable JSON. Prefer it over generic chat LLM endpoints when you need a consistent review schema (score, issues array, suggestions array) and pay-per-call pricing via USDC on Base without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:48:09.128Z","isFirstParty":false}