{"uid":"cap_eQBe2KUsKu0fik0NMGlrl","slug":"agent-tape-contract-check-c405d50d","name":"Agent Tape – Contract Check","description":"Live DEX tape for AI trading agents: search pairs, token price and liquidity, pair lookup, boosts, paid DexScreener orders, Base ETH/USDC balance, nonce, contract check, gas, and tx receipt. Pay-per-request USDC via x402. No API keys, no accounts.","url":"https://agent-tape.annushka1190.workers.dev/v1/contract","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DNmtBXOgfcTRGNiKcT6-s","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given address on Base is a deployed smart contract (vs. an EOA/wallet address)","exampleAgentPrompt":"Can you check if 0x4200000000000000000000000000000000000006 is a deployed smart contract or just a regular wallet on Base?","exampleUseCases":[{"title":"Pre-trade token contract verification","prompt":"Before I swap, can you confirm that 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 is actually a deployed smart contract on Base and not just some random wallet address?"},{"title":"Rug-pull risk screening","prompt":"I found this token address 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA — can you check if it's a real contract on Base before I put any money in?"},{"title":"Wallet vs contract classification","prompt":"Tell me whether 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD on Base is a smart contract or just a plain EOA wallet — I need to know before sending a transaction."}],"resultDescription":"A JSON response with an 'ok' flag and a boolean or status indicating whether the queried address has deployed contract bytecode on the Base network (contract) or is an externally-owned account (EOA/wallet).","failureModes":["Invalid or malformed address returns an error response","Address not found on Base network","Network/RPC timeout causing delayed or failed response","Payment failure via x402 USDC protocol blocks request","Rate limits or worker capacity issues on Cloudflare Workers runtime"],"whenToPreferThis":"Choose this endpoint when you need a fast, pay-per-request (no API key) check of whether a Base network address is a smart contract before executing trades, sending funds, or analyzing DeFi positions. Prefer it over general Etherscan lookups when operating in an agent context with x402 micropayment support and no account setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:30:34.991Z","isFirstParty":false}