Sourcify
Use Sourcify APIs through OpenAny to look up smart-contract verification resources, function signatures and supported-chain metadata. Provide the package, repository, contract or project identifier and any version or network selectors required by the chosen operation. Compare technical records, trace resource identities and organise reference data for software research, integration or documentation workflows. The chosen operation determines the available metadata, versions and source references. Individual API pages provide supported parameters, available implementations, request and response examples, and usage pricing.
- Endpoints / Providers
- 7 / 1In this collection
- Requests
- —Loading...
- Success rate
- —Loading...
- Response P50
- —Loading...
Sourcify
Choose an API, then continue with your agent.
- Endpoints
- 7
- Providers
- 1
Each endpoint publishes its own rate and billing unit.
View APIsConnect your agentOn this page
Available APIs
Sourcify — Get the list of supported and deprecated chains
Retrieve the list of supported and deprecated chains with the Sourcify API. The sample response includes names. Use it for on-chain or crypto market research.
Sourcify — Lookup signatures
Look up one or more function or event signatures by hash with the Sourcify API. The sample response includes names. Use it for on-chain or crypto market research. The GET request schema also lists filter.
Sourcify — List recently added signatures
List the signatures that were added to the database at or after since, oldest first with the Sourcify API. Each signature has its types and, if a verified contract uses it, one such contract as source. Use it for on-chain or crypto market research. The GET request schema also lists limit, cursor.
Sourcify — Show database stats
Retrieve show database stats with the Sourcify API. The sample response includes metadata. Use it for on-chain or crypto market research.
Sourcify — Search signatures
Search for signatures by name (case sensitive) with wildcards, limited to the first 100 unordered results with the Sourcify API. Supply a search query. Sample fields include names. Use it to surface relevant records in a search or discovery tool. The GET request schema also lists filter. Use the results to organize a research workflow and cross-check the relevant source records.
Sourcify — Get verified contract
By default returns minimal information about the contract: `match`, `creationMatch`, `runtimeMatch`, `chainId`, `address`, and `verifiedAt`. To get other details one can either list the fields requested in the `fields` query param or ask all fields but omit several with `omit`. To get everything just pass `fields=all`. **Request only the fields that you need.** `fields=all` returns every field, including all source files and the full standard JSON input and output. It is the most expensive request on this endpoint. Do not use `fields=all` or `stdJsonInput` in loops. To collect data for many contracts, use the [Parquet export](https://docs.sourcify.dev/docs/repository/download-dataset/) or the [BigQuery dataset](https://docs.sourcify.dev/docs/bigquery/) instead. **Available fields:** - `matchId` – unique match ID - `creationMatch` – creation bytecode match status (`match`, `exact_match`, or `null`) - `runtimeMatch` – runtime bytecode match status (`match`, `exact_match`, or `null`) - `verifiedAt` – ISO 8601 timestamp of when the current match was verified. If a later verification upgrades the match (for example from `match` to `exact_match`), this timestamp changes to the time of that verification. - `abi` – contract ABI - `metadata` – Solidity compiler metadata object - `sources` – map of source file paths to their content - `sourceIds` – AST source IDs from the standard JSON compiler output - `userdoc` – user-facing NatSpec documentation - `devdoc` – developer NatSpec documentation - `storageLayout` – contract storage layout - `transientStorageLayout` – transient storage layout (Solidity >= 0.8.24) - `additionalInput` – extra top-level compiler input fields (e.g. Vyper `storage_layout_overrides`) - `stdJsonInput` – full standard JSON compiler input - `stdJsonOutput` – full standard JSON compiler output Nested objects support dot-notation sub-selection (e.g. `creationBytecode.onchainBytecode`): - `creationBytecode` — sub-fields: `onchainBytecode`, `recompiledBytecode`, `sourceMap`, `linkReferences`, `cborAuxdata`, `transformations`, `transformationValues` - `runtimeBytecode` — sub-fields: `onchainBytecode`, `recompiledBytecode`, `sourceMap`, `linkReferences`, `cborAuxdata`, `immutableReferences`, `transformations`, `transformationValues` - `deployment` — sub-fields: `transactionHash`, `blockNumber`, `transactionIndex`, `deployer` - `compilation` — sub-fields: `language`, `compiler`, `compilerVersion`, `compilerSettings`, `name`, `fullyQualifiedName` - `signatures` — sub-fields: `function`, `event`, `error` - `proxyResolution` – proxy detection result (no sub-fields) Documentation prepared only; runtime not verified.
Sourcify — List of verified contracts per chain
List of verified contracts per chain with the Sourcify API. Supply a chain ID. Sample fields include addresses. Use it for on-chain or crypto market research. The GET request schema also lists chainId, sort, limit.
Common questions
How are Sourcify APIs priced?
Each endpoint publishes its own rate and billing unit. Compare the selected implementation and request-specific conditions; a collection starting price is not a quote for every request.
How do I authenticate Sourcify requests?
Use your OpenAny API key from a secure environment variable for supported account-based calls. Never paste secrets into prompts, documentation examples or public logs.
Are all implementations interchangeable?
No. Read each endpoint request schema, response examples and limitations before execution. Different suppliers may expose different fields and behavior; approve the budget before a paid call.