Skip to content
GET /v1/contract

Verification status, compiler, name and deployment for a contract

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/contractverify-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/contractverify-api/v1/contract" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/contractverify-api/v1/contract", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/contractverify-api/v1/contract");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/contractverify-api/v1/contract",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "name": "FiatTokenProxy",
        "note": "match=exact_match means bytecode matches exactly; match=match is a partial (metadata-hash) match.",
        "match": "match",
        "source": "Sourcify",
        "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
        "chain_id": 1,
        "language": "Solidity",
        "verified": true,
        "deployment": {
            "deployer": "0x95Ba4cF87D6723ad9C0Db21737D862bE80e93911",
            "block_number": 6082465,
            "transaction_hash": "0xe7e0fe390354509cd08c9a0168536938600ddc552b3f7cb96030ebef62e75895"
        },
        "verified_at": "2024-08-08T13:20:07Z",
        "runtime_match": "match",
        "creation_match": "match",
        "compiler_version": "0.4.24+commit.e67f0147"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:17.625Z",
        "request_id": "3e2888de-49c2-41d2-a068-99a75b40b2bb"
    },
    "status": "ok",
    "message": "Contract verification retrieved successfully",
    "success": true
}