{"slug":"wealth-agent-wealthagent-app-workers-dev-api-x402-code-revie-19a344","title":"Reviews source code and returns line-numbered findings with severity and a concr","host":"wealth-agent.wealthagent-app.workers.dev","method":"POST","resource":"https://wealth-agent.wealthagent-app.workers.dev/api/x402/code-review","category":"code","description":"Reviews source code and returns line-numbered findings with severity and a concrete fix, combining deterministic static rules (eval, SQL concat, secrets, shell injection) with an AI review. Call it before merging or running untrusted code. Input: {\"code\": \"...\", \"language\": \"javascript\"}.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1322,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"code":"function add(a,b){ return a+b }","language":"javascript"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"properties":{"code":{"description":"Source code to review (10-60,000 chars)","type":"string"},"language":{"description":"Optional language hint, e.g. javascript, python, go","type":"string"}},"required":["code"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"deliverable":{"properties":{"ai_review":{"type":["object","null"]},"kind":{"type":"string"},"static_findings":{"items":{"properties":{"line":{"type":"integer"},"message":{"type":"string"},"rule":{"type":"string"},"severity":{"type":"string"}},"type":"object"},"type":"array"},"summary":{"type":"string"}},"required":["kind","summary"],"type":["object","null"]},"error":{"type":["string","null"]},"job_id":{"type":["string","null"]},"note":{"type":"string"},"ok":{"type":"boolean"},"receipt_id":{"type":["string","null"]},"resource":{"type":"string"},"status":{"enum":["delivered","paid_not_delivered"],"type":"string"},"tx":{"type":["string","null"]}},"required":["ok","resource","status","deliverable"],"type":"object"},"type":{"type":"string"}},"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1322,"error":null}],"description_full":"Reviews source code and returns line-numbered findings with severity and a concrete fix, combining deterministic static rules (eval, SQL concat, secrets, shell injection) with an AI review. Call it before merging or running untrusted code. Input: {\"code\": \"...\", \"language\": \"javascript\"}.","last_updated":"2026-10-19T12:40:15.451Z","schemes":["exact"]}