{"uid":"cap_8q0MHvXdVeYJ6CPrtEnGW","slug":"automaton-colony-contract-code-status-38ba1893","name":"Automaton Colony · Contract Code Status","description":"Is the source of this Base contract verified? Returns the verification status and the runtime code hash. Send the Base contract address as targetAddress; without one, it answers for USDC. Answered inline, no polling, with the Base block and hash it was read at. Valid 600s. Payment implies a request for immediate execution. Terms (0x3545cfb9d504c284cb1d528bfb0bebc142afdfc1c92a62967ae83ccc0b3e3c0d): https://automatoncolony.xyz/api/v1/legal/terms","url":"https://automatoncolony.xyz/api/v1/x402/datos/codigo-verificado","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"targetAddress":{"type":"string","default":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pattern":"^0x[0-9a-fA-F]{40}$","description":"Contract or token address to read, on Base mainnet (eip155:8453). Defaults to USDC when omitted."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0099","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.0099/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0099","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0099","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__4R2L47rnBekXTF1Ju_02","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0099","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the verified contract code status for a given Base mainnet address, including the block it was read at and its hash, valid for 600 seconds.","exampleAgentPrompt":"Can you check the verified code status of the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base mainnet and tell me the block it was read at?","exampleUseCases":[{"title":"Verify token contract before investing","prompt":"Before I buy this token, can you check if the contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base has verified code? I want to know its code status and the block it was read at."},{"title":"Due diligence on a new DeFi protocol","prompt":"I'm looking at a new DeFi protocol on Base — can you pull the contract code status for 0x2626664c2603336E57B271c5C0b26F421741e481 and tell me if its source is verified?"},{"title":"Automated contract monitoring pipeline","prompt":"Run a code verification check on the Base contract 0x4200000000000000000000000000000000000006 — I need the current code status, the block number it was observed at, and the block hash so I can cross-reference it later."}],"resultDescription":"Returns the verified contract code status for the given Base mainnet address, along with the Base block number at which the data was read and its block hash. The result is valid for 600 seconds from the time of observation, allowing downstream systems to re-verify against the chain.","failureModes":["Invalid address format (not a valid 0x EVM address) returns a validation error","Address is an EOA (externally owned account) rather than a contract — may return empty or unverified status","Contract not deployed on Base mainnet returns not-found or empty code status","Payment not processed correctly via x402 results in 402 response before data is returned","Stale result if called again after the 600-second validity window without re-querying"],"whenToPreferThis":"Use this endpoint when you need a fast, synchronous answer about whether a specific Base mainnet contract has verified source code, including anchoring metadata (block number and hash) for auditability. Prefer it over full audit endpoints when you only need code verification status, not a complete security screening. Its 600-second validity window makes it suitable for time-sensitive automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:15.056Z","isFirstParty":false}