{"uid":"cap_mk4WBCtYCsh0_haL4ib-8","slug":"strale-code-review-api-c54ee7e4","name":"Strale Code Review API","description":"AI code review. Returns issues with severity, line numbers, fix suggestions. Focus on security, performance, readability, or bugs.","url":"https://api.strale.io/x402/v2/code-review","method":"POST","headers":{},"bodySchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"},"focus":{"type":"string","description":"security/performance/readability/bugs/all"},"language":{"type":"string"}}},"responseSchema":{"issues":{"type":"array"},"quick_wins":{"type":"array"},"overall_score":{"type":"integer"},"security_flags":{"type":"array"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.216","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.216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YsMssSKxhx4qQUp-Ulsf6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs automated code review with configurable focus areas (security, performance, readability, bugs, or all) and returns structured findings with an audit trail.","exampleAgentPrompt":"Can you do a security-focused code review on this Python function I just wrote? Here's the code: [paste code]. Flag any vulnerabilities, insecure patterns, or edge cases I might have missed.","exampleUseCases":[{"title":"Security audit before deployment","prompt":"Before I push this to production, can you do a security-focused code review on this Node.js authentication handler? I want to know about any vulnerabilities, injection risks, or insecure patterns."},{"title":"Bug hunt in data processing logic","prompt":"I've got a Python data pipeline that keeps producing wrong results — can you review it for bugs? Focus on logic errors, off-by-one issues, and anything that could cause silent failures."},{"title":"Performance review of database queries","prompt":"Can you review this SQL-heavy JavaScript code for performance issues? I'm seeing slow response times and want to know if there are inefficient queries, N+1 problems, or unnecessary operations."}],"resultDescription":"Returns structured code review findings categorized by the requested focus area (security vulnerabilities, performance bottlenecks, readability issues, bugs), along with severity ratings and recommendations. Each response includes a cryptographic audit record for provenance tracking.","failureModes":["Empty or missing code field returns validation error","Unsupported language may produce incomplete analysis","Very large code submissions may time out or be truncated","Invalid focus enum value may default to 'all' or return an error","Payment failure via x402 returns 402 status before analysis begins"],"whenToPreferThis":"Choose this endpoint when you need an auditable, agent-callable code review with a configurable focus (security, bugs, performance, readability) and want structured JSON output with a cryptographic audit chain. Prefer over generic LLM code review when you need provenance records, consistent structured output, or micropayment-based per-call billing without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:16:47.143Z","isFirstParty":false}