Skip to main content

Overview

Sourcify provides a public server API for verification, and checking if a contract is verified, and a repository API for retrieving files.

Repository

Server

Deployed server APIs are: https://sourcify.dev/server and https://staging.sourcify.dev/server.

Verification API

Session-based Verification API

note

Session-based API is only meant for the sourcify.dev UI. Because it makes use of session cookies and it is not possible have Access-Control-Allow-Origin: * with credentials: true, meaning these endpoints can only be used on explicitly set domains on the browser. (e.g. sourcify.dev). Please use the verification API if you want Sourcify on your frontend.

Other