Skip to content
TraceFast Docs

Contracts running exactly the same code

Open the contract on its entity page →

Every contract whose runtime code hashes to codeHash, the hash of this contract's current code — the same deployed code at other addresses — by address ascending, with contractCount, the size of the whole list. The same code does not mean the same owner or the same deployer: a factory, a template or a copied contract produces identical code for unrelated parties, and two contracts with the same code can hold different state. Identical code is byte for byte; code that differs only in its metadata or constructor-set values is not listed (compare fingerprint on the bytecode method). For an account delegated by EIP-7702 the shared code is the delegation, so the list is the accounts delegated to the same contract. The list is updated once a day: a contract deployed, or whose code changed, since then — this one included — is missing from it, or still listed under its earlier code, until the next update. An address with no indexed code answers 404. Continue with nextCursor.

GET https://tracefast.xyz/api/v1/chains/1/contracts/{address}/clones
ParameterInTypeNotes
addresspathstringThe contract, 0x + 40 hex, any case.
limitqueryinteger, optional1 to 100, default 25.
cursorquerystring, optionalnextCursor of the previous page. Opaque, and valid only for this method and this code.

Access — an API key on the Investigation plan or higher (plans), or no key at all: pay per call with x402 at the same path on https://mpp.tracefast.xyz/api/v1, at the price its 402 states. As a tool for AI agents: get_contract_clones on the MCP server. Stable — see stability.

chains/1 is a literal: other chain ids answer 404 chain_not_supported. An unknown query parameter is refused rather than ignored.

Response

200 application/json, USDC. Lists in the example are cut to two entries.

{
  "data": {
    "chainId": 1,
    "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "codeHash": "0xd80d4b7c890cb9d6a4893e6b52bc34b56b25335cb13716e0d1d31383e6b41505",
    "contractCount": 12,
    "contracts": [
      {
        "address": "0x121689f0f3db379493db30593bf3058b408bec9b",
        "blockNumber": 15509115
      },
      {
        "address": "0x14039994048f873dc5f86a32075669652b9f0fa7",
        "blockNumber": 9079551
      }
    ],
    "nextCursor": "AVsiMTQwMzk5OTQwNDhmODczZGM1Zjg2YTMyMDc1NjY5NjUyYjlmMGZhNyJdNuVa_fRyWFDyUkmuy4wzXw"
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918331848,
    "cached": true,
    "docs": "https://docs.tracefast.xyz/api/contract-clones"
  }
}

data

FieldMeaning
addressThe contract asked about, lowercase and 0x-prefixed.
chainIdChain id. 1 is Ethereum mainnet.
codeHashKeccak-256 hash of its current runtime code, 0x-prefixed: what every listed contract shares.
contractCountHow many contracts the list holds in all, across every page.
contractsThis page, by address ascending.
nextCursorCursor of the next page. Absent on the last page.

data.contracts[]

FieldMeaning
addressThe contract, lowercase and 0x-prefixed.
blockNumberBlock height at which this contract's code was set.

meta is the same envelope on every method — see conventions.

Errors

StatusWhen
400bad_request: a malformed address (reason: address_invalid), limit outside 1 to 100, or an unknown query parameter; invalid_cursor
404not_found: no contract code is indexed at the address; chain_not_supported, or an unknown path
422block_not_available (reason: coverage_gap): the address cannot be confirmed absent right now

Malformed input, unknown parameters and the key check's 401/403/429/503 are the same for every method — see conventions and API keys.


Last updated 19 Nov 2026, 11:46 UTC · verified against TraceFast v1.0.332 · Markdown