{"uid":"cap_T-mvrtbFK0fI_ayDCeotP","slug":"structured-code-review-api-5629a793","name":"Structured Code Review API","description":"Structured code review: correctness, security, edge cases, reuse. Returns numbered findings.","url":"https://linked-aimed-reproduced-changing.trycloudflare.com/v1/coder/review?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usage":{"type":"object"},"choices":{"type":"array"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.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_MNso3B0iotAwZVLi5O6_6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs structured code review covering correctness, security, edge cases, and reuse, returning numbered findings.","exampleAgentPrompt":"Can you do a structured code review on this Python function I wrote — check it for correctness, security issues, edge cases, and reuse opportunities, and give me back numbered findings?","exampleUseCases":[{"title":"Security audit before deployment","prompt":"Before I push this to production, can you review this Node.js authentication handler for security vulnerabilities and edge cases? I want a numbered list of issues to fix."},{"title":"Junior dev code quality check","prompt":"I just wrote this Go function to parse user input — can you review it for correctness, edge cases I might have missed, and any security risks? Give me structured numbered findings."},{"title":"Code review for open source contribution","prompt":"I'm about to submit a pull request with this Python class — can you audit it for correctness, security problems, and opportunities to reuse existing patterns? Return numbered findings so I can address them one by one."}],"resultDescription":"Returns a structured list of numbered findings organized by category: correctness issues, security vulnerabilities, edge case problems, and code reuse opportunities. Each finding is specific and actionable.","failureModes":["Empty or missing code input returns an error or empty findings list","Extremely large code submissions may exceed token limits and return partial results","Non-code text input may produce irrelevant or nonsensical findings","Network timeout on the Cloudflare tunnel may return a 502 or 504 error","Payment failure (x402) returns a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a structured, categorized code review with numbered findings rather than a freeform narrative. It is particularly useful in automated pipelines where findings need to be parsed and actioned programmatically. Prefer it over generic LLM chat for code review when you want consistent, organized output across correctness, security, edge cases, and reuse dimensions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:42:45.331Z","isFirstParty":false,"canonicalSlug":"structured-code-review-api-5629a793"}