# Aiutino Contract Scan > Pre-approval & EVM contract risk checks for AI agents. Pay per call with x402 (USDC on Base, eip155:8453). No account, no API key. Contact: aiutino-sfida@outlook.com ## Paid endpoints - POST https://aiutino-contract-scan.aiutino-sfida.workers.dev/v1/preapproval {chain, token, spender, owner?} 0.01 USDC — call BEFORE approve/permit - POST https://aiutino-contract-scan.aiutino-sfida.workers.dev/v1/scan-token {chain, address} 0.01 USDC — proxy, admin powers, owner type - POST https://aiutino-contract-scan.aiutino-sfida.workers.dev/v1/batch-scan {chain, addresses[1..50]} 0.25 USDC — worthwhile from 25 addresses up; below that, use /v1/scan-token at 0.01 each - POST https://aiutino-contract-scan.aiutino-sfida.workers.dev/v1/deep {chain, address} 0.05 USDC — Sourcify + Slither on verified source ## Free endpoints (shared limit 10/day/IP) - GET https://aiutino-contract-scan.aiutino-sfida.workers.dev/v1/free/preview?address=0x...&chain=base — risk score only, plus price and URL of the full report - POST https://aiutino-contract-scan.aiutino-sfida.workers.dev/v1/free/preapproval — same as /v1/preapproval, rate limited OpenAPI: https://aiutino-contract-scan.aiutino-sfida.workers.dev/openapi.json · Discovery: https://aiutino-contract-scan.aiutino-sfida.workers.dev/.well-known/x402 · MCP: https://aiutino-contract-scan.aiutino-sfida.workers.dev/mcp (Streamable HTTP) · Chains: base, ethereum, gnosis, optimism, arbitrum, polygon, bsc. payTo: 0x71dE735a5FEa5A7eb1257396Ea4067e42aBbe92f. Facilitator: PayAI. Settlement only after the result is ready. Not an audit. ## MCP (Streamable HTTP) POST https://aiutino-contract-scan.aiutino-sfida.workers.dev/mcp — JSON-RPC methods: initialize, tools/list, tools/call, ping. Tools: free_preview (free, 10/day/IP); scan_token (0.01 USDC); check_approval (0.01 USDC, same as /v1/preapproval); batch_scan (0.25 USDC, worthwhile from 25 addresses up). Payment: paid tools return payment_required plus url, price_usdc, payTo, network, asset, body and how, unless you attach PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) on the /mcp request, or pass the same payload as the x402_payment argument; then /mcp forwards to the REST route (verify -> work -> settle). Cursor / Claude config: {"mcpServers":{"aiutino-contract-scan":{"url":"https://aiutino-contract-scan.aiutino-sfida.workers.dev/mcp"}}}. Registry name: io.github.idioma/aiutino-contract-scan. ## Example: GET preview (free) Request: GET https://aiutino-contract-scan.aiutino-sfida.workers.dev/v1/free/preview?chain=base&address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 Response: ```json { "product": "preview", "chain": "base", "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "risk_score": 95, "verdict": "HIGH", "full_report": {"url": "https://aiutino-contract-scan.aiutino-sfida.workers.dev/v1/scan-token", "method": "POST", "price_usdc": 0.01, "body": {"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}, "billing": {"free": true} } ``` ## Example: POST /v1/scan-token (0.01 USDC, after x402 payment) Input: `{"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}` Output (real USDC on Base, 30/11/2026): ```json { "service": "aiutino-contract-scan", "product": "scan-token", "version": "0.4.0", "chain": "base", "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "admin_control_score": 95, "risk_score": 95, "verdict": { "admin_control": "HIGH", "code_risk": "LOW" }, "verdict_text": "Centralized control HIGH (privileged: upgrade, mint, pause, blacklist); code NOT analysed (fast scan: bytecode only; /v1/deep adds Sourcify+Slither+heuristics).", "summary": [ "Privileged 'upgrade': upgradeTo(address), upgradeToAndCall(address,bytes)", "Privileged 'mint': mint(address,uint256)", "Privileged 'pause': pause(), unpause()", "Privileged 'blacklist': blacklist(address)", "Upgradeable (ZeppelinOS upgradeable proxy): logic can change after you approve.", "Owner is a single EOA (no visible multisig/timelock)." ], "bytecode": { "proxy": { "type": "ZeppelinOS upgradeable proxy", "implementation": "0x2ce6311ddae708829bc0784c967b7d77d19fd779" }, "is_contract": true, "onchain": { "name": "USD Coin", "symbol": "USDC", "decimals": 6, "owner_type": "EOA", "paused": false } }, "disclaimer": "Automated first filter, not an audit." } ``` ## Batch pricing 0.25 USDC for /v1/batch-scan is worthwhile from 25 addresses up (25 × 0.01 = 0.25). For 1–24 addresses, use /v1/scan-token at 0.01 USDC each. ## Example: POST /v1/preapproval (0.01 USDC) Input: `{"chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","spender":"0x000000000022D473030F116dDEE9F6B43aC78BA3"}` Output (headline risk_score and verdict include token admin control; if Sourcify is down, verdict is UNKNOWN, never a clean 0/LOW while the text says admin HIGH): ```json { "service": "aiutino-contract-scan", "product": "pre-approval check", "version": "0.4.0", "chain": "base", "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "spender": "0x000000000022D473030F116dDEE9F6B43aC78BA3", "owner": null, "risk_score": 95, "verdict": "HIGH", "spender_risk_score": 20, "token_admin_risk": { "score": 95, "level": "HIGH" }, "verdict_text": "Overall risk HIGH (score 95): spender MEDIUM, token admin control HIGH.", "summary": [ "Spender source not verified on Sourcify.", "Upgradeable (ZeppelinOS upgradeable proxy): logic can change after you approve.", "Owner is a single EOA (no visible multisig/timelock)." ], "spender_is_contract": true, "spender_verified_sourcify": false, "verification_status": "unverified", "unlimited": false, "allowance_raw": null, "disclaimer": "Automated first filter, not an audit." } ``` ## Example: POST /v1/batch-scan (0.25 USDC) Input: `{"chain":"base","addresses":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","0x4200000000000000000000000000000000000006"]}` Output: `{product:"batch-scan", count:2, ok:2, results:[scan-token, scan-token], errors:[]}`