{"uid":"cap_BXnZAIuX2GH6-GJq0YUKa","slug":"mike-digital-arbitrage-agent-code-audit-api-e945f1ed","name":"Mike - Digital Arbitrage Agent Code Audit API","description":"ngrok is the fastest way to put anything on the internet with a single command.","url":"https://upturned-penniless-obedient.ngrok-free.dev/v1/audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"},"language":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.000001","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.000001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.000001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.000001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z7-vvu7q_R_R3YE1B0yCz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.000001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits code snippets for issues, quality, or correctness, returning analysis results for a given programming language","exampleAgentPrompt":"Can you audit this JavaScript function for me and flag any bugs or quality issues? Here's the code: `function add(a,b){ return a+b }`","exampleUseCases":[{"title":"Automated code review before merge","prompt":"Before I merge this pull request, can you audit this Python function for any bugs or bad practices? Here's the code: `def divide(a, b): return a / b`"},{"title":"Learning tool for code correctness","prompt":"I just wrote this JavaScript snippet to reverse a string — can you audit it and tell me if there are any issues or improvements? Code: `function reverse(s){ return s.split('').reverse().join(''); }`"},{"title":"Catching bugs in agent-generated code","prompt":"The AI just generated this SQL query for me — can you audit it to make sure there are no logic errors or injection vulnerabilities? Language: SQL, code: `SELECT * FROM users WHERE id = '` + userId + `'`"}],"resultDescription":"Returns an audit report of the submitted code snippet, typically including identified issues, potential bugs, quality feedback, or a correctness assessment for the specified programming language.","failureModes":["Missing required 'code' field returns a 400/422 error","Unsupported or unrecognized language may produce degraded or generic analysis","ngrok tunnel may be offline or rate-limited, returning a 502 or 503","Very large code inputs may time out or be truncated","Payment not received (x402 protocol failure) results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use code audit for arbitrary code snippets without requiring a full CI/CD pipeline integration. It is ideal for agent workflows that generate or receive code dynamically and need a quick sanity check before execution or deployment. Best for single-snippet audits rather than whole-repository scans.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:43:34.189Z","isFirstParty":false,"canonicalSlug":"mike-digital-arbitrage-agent-code-audit-api-e945f1ed"}