REST JSON · Bearer Auth6 EVM Mainnets0 USDC if Unverified
EVM Smart Contract Vulnerability Scanner & On-Chain API
Run read-only static Solidity vulnerability triage across Ethereum, Base, BNB Chain, Arbitrum, Optimism, and Polygon in a single HTTP request. Automatic ERC-1967 proxy resolution, 3-layer noise filtering, and exact file + line evidence built for CI/CD pipelines, new-pool monitors, and security alert bots.
Sign in with any EVM wallet in the Workspace API & keys tab (no password needed), create a pqk_ key, and top up native USDC on Base from 1 USDC (single top-ups of 25 / 50 / 100 / 250 / 500 USDC unlock +2.5 / +8 / +20 / +65 / +150 USDC bonus credit).
2
Send Chain + Address
POST chain and address to /api/v1/contracts/triage. We fetch verified Solidity sources from Blockscout/Sourcify and resolve proxy implementations automatically.
3
Act on Structured Findings
Read severity totals in data.counts and inspect line-level hits in data.findings[]. You can also test calls live inside the workspace without writing code.
Fetches publicly verified Solidity source for the given chain and contract address, follows proxy implementations automatically, and executes our 3-layer static analysis and false-positive filtering kernel. Returns up to 25 highest-severity findings alongside full severity counts.
Request Body (application/json)
Field
Type
Required
Validation & Notes
chain
string
Yes
One of ethereum, base, bsc, arbitrum, optimism, polygon.
address
string
Yes
42-character EVM address (0x + 40 hex characters, case-insensitive, normalized to lowercase in responses).
Runs 28 Solidity detectors after stripping interface/abstract boilerplate (preserving line numbers) and applies contract-family context review to suppress benign patterns (reported in filtered_drops).
paid when verified source was scanned and billed, or unverified_free when no source was found (0 USDC).
data.verified
boolean
Whether verified Solidity source (direct or proxy implementation) was fetched and scanned.
data.source_address
string
Actual contract address analyzed; differs from address when a proxy implementation was resolved.
data.proxy_type
string
Detected proxy pattern (e.g., eip1967, proxy) or empty string for non-proxy contracts.
data.raw_hits / filtered_drops
integer
Total raw detector matches versus benign matches suppressed by context and family filters.
data.counts
object
Severity totals across critical, high, medium, low, and info.
data.findings[]
array
Ordered findings array with severity, rule, file, line, evidence, and origin.
On-Chain Transaction Receipt Lookup
POST/api/v1/chain/receipt
0.0001 USDC / call · 0 USDC on 404
Fetches a normalized EVM transaction receipt over pinned read-only RPCs for ethereum, base, or bsc. Returns execution status (success / reverted / unknown), block number, sender/recipient, deployed contract address, gas used, effective gas price (wei), and log count.
Top-up bonuses & mainnet airdrop: Single native Base USDC top-ups of 25 / 50 / 100 / 250 / 500 USDC automatically grant +2.5 / +8 / +20 / +65 / +150 USDC bonus credit usable across both APIs and web scans. Confirmed paid principal stays permanently recorded per wallet for the winterchain mainnet airdrop even after your balance is spent. Need higher throughput, custom monitoring webhooks, or private deployment? Open a 20 USDC private thread in Workspace (non-deductible inquiry fee) or use the optional Base ETH on-chain memo address there.
Missing, malformed, or revoked Authorization: Bearer pqk_... API key.
402
insufficient_usdc / insufficient_credits
Account balance is below the endpoint price. Top up Base USDC in the workspace.
404
receipt_not_found
No transaction receipt exists for that hash on the selected network (0 USDC charged).
429
rate_limited
Per-minute or daily limit exceeded. Retry with exponential backoff or email for higher limits.
502 / 503
chain_unavailable / triage_engine_unavailable
Upstream RPC or analysis engine temporarily unavailable (0 USDC charged).
Frequently Asked Questions
Does POST /api/v1/contracts/triage charge USDC for unverified contracts?
No. When no verified Solidity source is available from Blockscout, Sourcify, or the ERC-1967 implementation slot, the API returns verified: false, billing: "unverified_free", and charges 0 USDC. Your account still requires at least 1.49 USDC balance before calling to protect upstream quotas.
How are ERC-1967, Transparent, and UUPS proxy contracts resolved?
Proxy metadata from Blockscout and Sourcify is checked first, followed by a read-only on-chain eth_getStorageAt lookup on the ERC-1967 slot (0x360894...). When resolved, the implementation contract is analyzed and surfaced via source_address and proxy_type.
Does the triage API execute contracts, fork chains, or touch user funds?
Never. All scans run as pure-text, read-only static analysis over verified source code in an ephemeral directory deleted immediately after each request.
How do I create and rotate API keys?
Visit the Workspace API & keys tab and sign in with any wallet. You can hold up to 12 active pqk_ keys at once; only SHA-256 digests are stored server-side, and compromised keys can be revoked instantly.
Can I request higher rate limits, custom webhooks, or private deployment?
Yes. Open the Workspace Custom & contact tab and pay 20 USDC (non-deductible inquiry fee) to submit your chains, throughput, and private reply handle off-chain, or use the optional Base ETH on-chain memo option.