{"uid":"cap_6pwImpYHzbFtWWIHzQn9B","slug":"tracefast-contract-bytecode-90c94194","name":"TraceFast Contract Bytecode","description":"TraceFast live Ethereum data: the current runtime bytecode of a contract as hex, with its code hash and a structural fingerprint that is equal across contracts sharing the same logic. Up to 24 576 bytes of code. An address with no indexed code answers 404. Path address: The contract address, `0x`-prefixed, 40 hex characters, any case. Docs: https://docs.tracefast.xyz/api/contract-bytecode.md","url":"https://mpp.tracefast.xyz/api/v1/chains/1/contracts/:address/bytecode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"required":["method"],"properties":{"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3Z9tIgyGxoSdnegJaXqIT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the live runtime bytecode, code hash, and structural fingerprint of an Ethereum smart contract by address","exampleAgentPrompt":"Can you fetch the current runtime bytecode and code hash for the Ethereum contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on mainnet?","exampleUseCases":[{"title":"Verify deployed contract integrity","prompt":"Pull the live bytecode for the contract at 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum mainnet — I want to check the code hash matches what was audited."},{"title":"Detect contract clones by fingerprint","prompt":"Fetch the structural fingerprint for the contract at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D so I can compare it against other contracts to see if they share the same logic."},{"title":"Inspect unknown contract code","prompt":"Get me the full runtime bytecode hex for Ethereum contract 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 — I want to disassemble it and understand what it does."}],"resultDescription":"Returns up to 24,576 bytes of hex-encoded runtime bytecode, the keccak256 code hash, and a structural fingerprint that is identical across contracts sharing the same logic (e.g. clones or proxies). Returns 404 if the address has no deployed code.","failureModes":["404 if address has no deployed bytecode (EOA or undeployed address)","Invalid address format returns an error (must be 0x-prefixed 40 hex chars)","Network or payment failure returns non-200 status","Address with self-destructed contract may return 404 or empty bytecode"],"whenToPreferThis":"Use this endpoint when you need the live, current runtime bytecode of an Ethereum mainnet contract — especially when you also need the code hash for verification or the structural fingerprint for clone/proxy detection. Prefer this over static datasets when you need real-time accuracy of what is actually deployed on-chain right now.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:31:35.924Z","isFirstParty":false,"canonicalSlug":"tracefast-contract-bytecode-90c94194"}