{"uid":"cap_gmTLCXCu_3KdbkvGOphT0","slug":"pagos-andreax-dev-code-review-api-dda0cc27","name":"pagos.andreax.dev Code Review API","description":"PREMIUM: revisión de código (bugs, seguridad, mejoras). Para devs/empresas. input=código.","url":"https://pagos.andreax.dev/api/taller/peaje/revisar-codigo","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"código"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I4BdQb0zrl1yhW6COoKue","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reviews submitted source code for bugs, security vulnerabilities, and improvement suggestions using LLM-powered analysis.","exampleAgentPrompt":"Can you review this code for bugs, security issues, and improvements? Here's the function: `def login(user, pwd): query = f'SELECT * FROM users WHERE user={user} AND pwd={pwd}'; return db.execute(query)`","exampleUseCases":[{"title":"Security audit before production deploy","prompt":"Before I push this to production, can you run a security review on this authentication middleware? I want to catch any SQL injection, XSS, or other vulnerabilities: [paste code here]"},{"title":"Bug hunting in legacy codebase","prompt":"I'm getting weird behavior in this legacy JavaScript function and can't figure out why. Can you review it for bugs and tell me what's wrong? Here's the code: `function calcTotal(items) { let sum; for(let i=0; i<=items.length; i++) sum += items[i].price; return sum; }`"},{"title":"Code quality check before PR","prompt":"I'm about to submit a pull request for this Python class. Can you review it and suggest any improvements to make it cleaner, more efficient, or more maintainable?"}],"resultDescription":"A structured code review report identifying bugs, security vulnerabilities (e.g. injection flaws, insecure patterns), and actionable improvement suggestions for the submitted code snippet.","failureModes":["Missing 'input' query parameter returns validation error","Empty or malformed code string may produce generic or low-quality review","Very large code inputs may be truncated or exceed processing limits","Non-code text input may return irrelevant analysis","Network or LLM backend unavailability returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.02) automated code review covering bugs, security, and improvements in a single call, especially for individual functions or snippets. Prefer it for developer workflows where a lightweight LLM-powered review is sufficient without requiring a full CI/CD integration or human reviewer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:41:07.481Z","isFirstParty":false}