{"uid":"cap_O0ThB97bjf49aRm2IdC4k","slug":"synapse-code-review-dcfd77fa","name":"Synapse Code Review","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/code-review?utm_source=zero.xyz","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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"issues":[{"fix":"...","line":1,"issue":"...","severity":"high"}],"summary":"..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_70BSGw6vzyE8WKltmKG56","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes code submitted via HTTP GET and returns a list of issues with severity ratings, fix suggestions, and a summary","exampleAgentPrompt":"Can you review this code snippet for bugs and issues? I want a list of problems with severity ratings and suggested fixes.","exampleUseCases":[{"title":"Security vulnerability scan before deploy","prompt":"Before I push this function to production, can you check it for high-severity security issues and tell me exactly which lines need fixing?"},{"title":"Code quality check during PR review","prompt":"I'm reviewing a pull request — can you analyze this code, flag any bugs or bad practices, and give me a summary of the main issues with severity levels?"},{"title":"Learning from code mistakes","prompt":"I just wrote this function and want to improve — can you review it, point out any issues line by line with how bad they are, and suggest how to fix each one?"}],"resultDescription":"A JSON object containing an array of issues (each with a line number, issue description, severity level such as 'high', and a suggested fix) plus an overall summary string describing the quality of the reviewed code.","failureModes":["Missing required 'input' parameter returns a 400/422 validation error","Invalid HTTP method value (not GET/HEAD/DELETE) causes schema validation failure","Empty or malformed code input may produce an empty issues array with no actionable feedback","Service unavailable (duckdns dynamic DNS host may go offline) returns a connection error","Payment not completed via x402 protocol results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call automated code review without setting up accounts or API keys. It is ideal for AI agents needing programmatic code quality feedback with structured output (line numbers, severity, fixes). Prefer it over heavier static analysis tools when you want lightweight, on-demand review at $0.01 per call over the x402 micropayment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:06.896Z","isFirstParty":false,"canonicalSlug":"synapse-code-review-dcfd77fa"}