Overview
The Sourcify API enables programmatic access to smart contract verification services, allowing developers to verify contract source code, check verification status, and retrieve verified contract files. Sourcify is a decentralized, open-source verification service that’s essential for developers and auditors who need to confirm smart contract transparency by proving that the deployed bytecode matches the published source code across EVM-compatible networks. Sourcify natively supports Hedera Mainnet (chain ID295) and Hedera Testnet (chain ID 296), so verification on Hedera uses the same API and tooling as any other supported chain.
Key Features
- Contract Verification: Submit smart contract source code and metadata for verification against deployed bytecode on any supported network.
- Multiple Verification Methods: Support for Solidity Standard JSON input, Solidity metadata.json uploads, Etherscan-verified contract import, and similarity-based verification.
- Verification Job Tracking: Asynchronous verification jobs with a
verificationIdso you can poll for status. - Contract Lookup: Query verified contract data by address and chain ID, list verified contracts on a given chain, or search all chains for a single address.
- Multi-Chain Support: Compatible with every chain Sourcify recognizes, including Hedera Mainnet and Testnet.
Hedera previously operated a self-hosted Sourcify instance at
verify.hashscan.io and server-verify.hashscan.io. Requests to those hosts are forwarded to sourcify.dev so existing integrations continue to work, but the legacy endpoints are deprecated. Please update your tooling and scripts to call sourcify.dev directly.Hedera Chain IDs
Base URL
📣 For interactive API exploration and testing, visit https://sourcify.dev/server/api-docs/