$0.005
per call · USDC on Base Sepolia
Inspect a Base smart-contract address before interacting with it. Returns deterministic bytecode hash/size, EIP-1967 implementation information, ERC-20 metadata when available, and the current chain head. Read-only and does not make safety or legitimacy claims.
Endpoint
POST https://agent-api-testnet.tim1712.workers.dev/v1/evm/contract-preflight1
Calls / 30d
1
Unique payers / 30d
Aug 30
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://agent-api-testnet.tim1712.workers.dev/v1/evm/contract-preflight", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e"
}),
});
const data = await res.json();curl -X POST \
"https://agent-api-testnet.tim1712.workers.dev/v1/evm/contract-preflight" \
-H "Content-Type: application/json" \
-d '{"address":"0x036CbD53842c5426634e7929541eC2318f3dCF7e"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"chain": {
"blockNumber": 25000000,
"headAgeSeconds": 2,
"headTimestamp": "2026-08-30T10:00:00.000Z"
},
"chainId": 84532,
"checkedAt": "2026-08-30T10:00:02.000Z",
"codeHash": "0x8e8f23e7f585953f9438e890f6f2c7f4287fef3a543aa48a8f6f547e840f5a87",
"codeSizeBytes": 492,
"isContract": true,
"network": "base-sepolia",
"proxy": {
"detected": true,
"implementation": "0xd74cc5d436923b8ba2c179b4bCA2841D8A52C5B5",
"type": "eip1967"
},
"token": {
"decimals": 6,
"erc20Like": true,
"name": "USDC",
"symbol": "USDC",
"totalSupply": "1000000000000"
}
}Payment details
0x5229384bd502d85aa7eca0a31b515e5e48d3910fUSDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7eIs this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Agent Miner Tools & similar services
Agent Miner Tools · Shopping Budget Basket
agent-api-testnet.tim1712.workers.dev
Use when an agent already knows several products/categories a buyer needs and wants one real Shopify product for each need while staying within one overall item-price budget. Each need.query must already carry the important compatibility and preference details; this service does not reinterpret intent. Returns a cross-merchant basket plan with per-item checkout URLs. It is not a generic product search and does not create carts or checkouts.
Agent Miner Tools · NPM Install Preflight
agent-api-testnet.tim1712.workers.dev
Use before a coding agent installs an unfamiliar npm dependency. Returns current facts from the official npm registry: the version `npm install` resolves (dist-tags.latest), prerelease and deprecation status, engines.node compatibility with an optional target Node version (real SemVer evaluation), license, days since release, best-effort weekly downloads, repository URL and maintainer count. Facts only — no safety, trust, or malware verdict.
Agent Miner Tools · Shopping Product Search
agent-api-production.tim1712.workers.dev
Use when an agent already knows the product it wants and needs real current Shopify listings for a structured query. Returns normalized product/variant price, currency, seller, rating, product URL and checkout URL in upstream search-rank order, with an optional maximum item price. The query must already carry the compatibility and preference details. Not a recommendation engine, intent interpretation, web search, or cart/checkout.