{"uid":"cap_LwzugHPqAEvULUNxMAnG6","slug":"sparks-re-api-token-audit-evm-contract-risk-scanner-2ee807a0","name":"Sparks RE API — Token Audit (EVM Contract Risk Scanner)","description":"AI-powered real estate tools for property normalization, FHA compliance scanning, and investor metrics calculation. Powered by x402 micropayments.","url":"https://sparks-re-api.sparksdigital-re.workers.dev/utilities/token-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"contract_address":{"type":"string","description":"42-character 0x EVM contract address on Base Mainnet"}}},"responseSchema":{"type":"json","example":{"notes":["EIP-1967 upgradeable proxy detected."],"network":"eip155:8453","is_contract":true,"risk_verdict":"MODERATE_ADMIN_PRIVILEGES","contract_address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","is_eip1967_proxy":true,"bytecode_size_bytes":1842,"risk_score_0_to_100":35,"detected_capabilities":{"has_mint_selector":false,"has_pause_selector":false,"has_blacklist_selector":false,"has_selfdestruct_opcode":false},"implementation_address":"0x2ce6311ddae708829bc0784c967b7d77d19fd779"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YLjAaOLKQkCBqiD7oVXW7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an EVM smart contract address on Base Mainnet to assess risk level, detect proxy patterns, and identify dangerous capabilities like minting, pausing, or blacklisting.","exampleAgentPrompt":"Can you audit the contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base and tell me if it has any risky capabilities like minting or blacklisting, and whether it's a proxy?","exampleUseCases":[{"title":"Pre-investment token safety check","prompt":"Before I buy this token, can you audit the contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base and tell me if there are any admin backdoors, mint functions, or pause controls I should know about?"},{"title":"DeFi protocol proxy detection","prompt":"I want to know if the contract at 0x2ce6311ddae708829bc0784c967b7d77d19fd779 is an upgradeable proxy — can you run a token audit and give me the risk score and any notes about its upgrade pattern?"},{"title":"Stablecoin blacklist risk assessment","prompt":"Can you check whether the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base has blacklist or freeze capabilities, and what's the overall risk verdict?"}],"resultDescription":"Returns a JSON object with the contract address, network identifier (eip155:8453 for Base), boolean flags for whether it's a contract and whether it's an EIP-1967 proxy, the implementation address if proxied, bytecode size in bytes, a numeric risk score from 0–100, a human-readable risk verdict (e.g. MODERATE_ADMIN_PRIVILEGES), detected capability flags (has_mint_selector, has_pause_selector, has_blacklist_selector, has_selfdestruct_opcode), and an array of explanatory notes.","failureModes":["Invalid or malformed contract address (non-42-char or missing 0x prefix) returns a validation error","Address is an EOA (externally owned account) rather than a contract — is_contract returns false with no further analysis","Contract bytecode not accessible or RPC timeout on Base Mainnet returns a network error","Address exists but has no detectable ABI selectors, resulting in empty detected_capabilities","Payment of $0.05 USDC not provided or x402 micropayment fails, resulting in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a fast, on-chain risk assessment of a specific EVM token or DeFi contract deployed on Base Mainnet — especially when evaluating whether to interact with or invest in a contract. Prefer this over generic block explorers when you need structured risk scoring, proxy detection, and capability flagging in a single machine-readable response without manually parsing bytecode or ABI.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T18:35:55.590Z","isFirstParty":false,"canonicalSlug":"sparks-re-api-token-audit-evm-contract-risk-scanner-2ee807a0"}