Chain IS Contract
Is a Base address a smart contract or an EOA? Returns is_contract and bytecode size. Use when an agent must decide whether a recipient is a contract before sending funds or approving it.
- Category
- Crypto & DeFi
- Starting price
- $0.001
- Paid calls · 30 days
- 49
- Unique payers · 30 days
- 45
Paid endpoints
46 endpoints, sorted by usage. Prices are per request.
- GET/chain/is-contract
Is a Base address a smart contract or an EOA? Returns is_contract and bytecode size. Use when an agent must decide whether a recipient is a contract before sending funds or approving it.
$0.002Base7calls / 30d - GET/crypto/fear-greed
Crypto Fear & Greed Index (alternative.me): current value 0-100, classification, history of last N days. No params. Use when an agent needs a market-sentiment gauge.
$0.002Base6calls / 30d - GET/defi/fees-top
Top DeFi protocols by 24h fees (DefiLlama): name, 24h/7d fees USD, 1d change, plus market total. No params. Use when an agent needs which protocols earn the most.
$0.003Base4calls / 30d - GET/brief/market
One-call crypto market brief: Fear & Greed, global market cap/dominance, top movers, trending coins and top DeFi fee earners. No params. Use when an agent needs a full market snapshot in a single payment.
$0.01Base2calls / 30d - GET/defi/protocol-risk
Protocol risk score from DefiLlama: joins TVL, 1d/7d TVL change, age, audits, chain count and matching hack history into one 0-100 score with flags; ?protocol=<slug> (default aave-v3). Use when an agent needs a due-diligence check before routing funds to a DeFi protocol.
$0.01Base2calls / 30d - GET/defi/safe-yields
Vetted stablecoin yields: top stablecoin pools (DefiLlama, TVL>$5M, APY 1-25%) joined with each protocol's age and hack history, safest-yield first; optional ?chain= & ?limit=. No required params. Use when an agent needs where to park stablecoins with due-diligence already applied.
$0.01Base2calls / 30d - GET/ai/classify
Zero-shot text classification (Llama 3.2 3B): ?text=<up to 1000 chars>&labels=<comma-separated labels, 2-10> returns the single best label. Use when an agent needs to route or tag text (intent, sentiment, topic, spam) in one cheap call.
$0.003Base2calls / 30d - GET/ai/translate
Text translation (Llama 3.2 3B): ?text=<up to 800 chars>&to=<target language, e.g. es, fr, de, ja> returns the translated text only. Use when an agent needs quick pay-per-call translation with no API key.
$0.003Base2calls / 30d - GET/crypto/stablecoins
Top stablecoins by circulating supply (DefiLlama): name, symbol, price, peg type, circulating USD. No params. Use when an agent needs stablecoin supply and depeg checks.
$0.003Base2calls / 30d - GET/defi/hacks-recent
Most recent DeFi/crypto hacks and exploits (DefiLlama): date, name, amount lost USD, chain, technique, bridge-hack flag; ?limit= up to 50. No required params. Use when an agent needs live security-incident risk signals.
$0.003Base2calls / 30d - GET/defi/protocols-top
Top DeFi protocols by TVL (DefiLlama): name, category, TVL USD, 1d/7d change, chain. No params. Use when an agent needs a ranked protocol league table.
$0.003Base2calls / 30d - GET/defi/yields-top
Top DeFi yield pools by TVL (DefiLlama): chain, project, symbol, APY, TVL USD; optional ?chain= & ?stable=true. Use when an agent needs where to earn yield.
$0.003Base2calls / 30d - GET/ai/summarize
Text summarization (Llama 3.2 3B): ?text=<up to 1500 chars> returns a 1-3 sentence summary. Use when an agent needs to compress a passage cheaply before reasoning over it.
$0.003Base2calls / 30d - GET/defi/chains-tvl
Top blockchains ranked by total DeFi TVL (DefiLlama): name, TVL USD, gas token. No params. Use when an agent needs a quick map of where DeFi capital sits.
$0.003Base2calls / 30d - GET/defi/dex-volume
Top DEXs by 24h trading volume (DefiLlama): name, 24h/7d volume USD, 1d change, plus market total. No params. Use when an agent needs where on-chain swap volume is flowing.
$0.003Base2calls / 30d - GET/ai/extract
Text-to-JSON extraction (Llama 3.2 3B): ?text=<up to 1500 chars>&fields=<comma-separated field names> returns a strict JSON object with exactly those keys (null when absent). Use when an agent needs messy text turned into typed structured data.
$0.005Base1calls / 30d - GET/crypto/trending
Trending coins on CoinGecko right now: name, symbol, market-cap rank, 24h price change. No params. Use when an agent needs what the market is searching for.
$0.003Base1calls / 30d - GET/crypto/global
Global crypto market stats (CoinGecko): total market cap, 24h volume, BTC/ETH dominance, active coins. No params. Use when an agent needs a one-call market overview.
$0.002Base1calls / 30d - GET/crypto/markets-top
Top coins by market cap (CoinGecko): price, market cap, 24h volume, 24h change; ?limit= up to 100. No required params. Use when an agent needs a ranked market snapshot.
$0.003Base1calls / 30d - GET/crypto/movers
Top 24h gainers and losers among the top-100 coins (CoinGecko). No params. Use when an agent needs what is moving the market right now.
$0.003Base1calls / 30d - GET/crypto/exchanges-top
Top crypto exchanges by trust score (CoinGecko): name, country, year, trust score and rank, 24h BTC volume. No params. Use when an agent needs exchange due-diligence data.
$0.003Base1calls / 30d - GET/crypto/categories
Crypto sector performance (CoinGecko categories): market cap, 24h change, volume per sector, top by market cap. No params. Use when an agent needs sector rotation signals.
$0.003Base1calls / 30d - GET/crypto/derivatives-exchanges
Top crypto derivatives exchanges (CoinGecko): open interest BTC, 24h volume BTC, perpetual and futures pair counts, year established. No params. Use when an agent needs perp/futures venue liquidity data.
$0.003Base1calls / 30d - GET/chain/tx
Transaction details by hash on Base mainnet.
$0.001Base0calls / 30d - GET/crypto/funding
Cross-venue Hyperliquid+OKX+dYdX perp funding rates — top coins by 24h notional volume, per-venue funding + arb spread (bps) + cheapest-long/richest-short venue, premium/basis, annualized rates, LONGS_PAY/SHORTS_PAY/NEUTRAL signal.
$0.004Base0calls / 30d - GET/chain/erc20-meta
ERC-20 metadata on Base: name, symbol, decimals, totalSupply for any token contract.
$0.005Base0calls / 30d - GET/chain/proxy-info
EIP-1967 proxy resolver for a Base contract: implementation, admin, beacon addresses + is_proxy. Use when an agent must know what code actually runs behind a proxy before trusting or calling it.
$0.003Base0calls / 30d - GET/chain/block
Base block summary by number or latest: hash, timestamp, tx count, gas used/limit, base fee.
$0.001Base0calls / 30d - GET/chain/token-report
Decision-grade token trade-safety report for a Base ERC-20: security flags, risk score, verdict and rationale.
$0.02Base0calls / 30d - GET/pm/markets
Live Polymarket prediction-market data — question, outcomes, live prices, volume, liquidity, end date. Filter by keyword. Agent-native, pay-per-call via x402.
$0.005Base0calls / 30d - GET/chain/balance
ETH balance of a Base mainnet address, incl. balance_usd.
$0.001Base0calls / 30d - GET/chain/token-balance
ERC-20 token balance of a Base mainnet address, incl. symbol, decimals, balance_formatted.
$0.001Base0calls / 30d - GET/chain/receipt
Transaction receipt by hash on Base mainnet — status, gas used, full logs, L1 fee breakdown.
$0.001Base0calls / 30d - GET/chain/code
Contract-code check for a Base mainnet address (is_contract + code size + EIP-7702 delegated-EOA detection).
$0.001Base0calls / 30d - GET/gate/swap
Pre-trade GO / HOLD / BLOCK gate for an agent about to swap into a Base token: honeypot sim, upgradeability, ownership, liquidity checks in one call.
$0.008Base0calls / 30d - GET/chain/gas-price
Current Base mainnet gas price (wei/gwei), EIP-1559 base/priority fees, gas_price_usd. One-call light.
$0.001Base0calls / 30d - GET/chain/block-number
Current Base mainnet block number. Lightest endpoint — single eth_call.
$0.001Base0calls / 30d - GET/chain/nonce
Transaction count (nonce) for a Base address, latest and pending.
$0.001Base0calls / 30d - GET/ai/ask
Cheap LLM answer (Llama 3.2 3B on Workers AI): ?q=<prompt up to 500 chars>, returns concise text. Pay-per-call, no API key.
$0.002Base0calls / 30d - GET/chain/storage-at
Raw storage slot (eth_getStorageAt) of a Base contract. Use when an agent needs proxy implementation/admin slots or raw contract state.
$0.002Base0calls / 30d - GET/chain/allowance
ERC-20 allowance(owner, spender) on Base, raw + formatted, flags unlimited approvals.
$0.002Base0calls / 30d - GET/chain/total-supply
ERC-20 total supply on Base (raw + formatted, with symbol and decimals). Use when an agent needs a token supply base for market-cap or dilution math.
$0.003Base0calls / 30d - GET/chain/token-security
Token security / honeypot detector for a Base ERC-20: proxy/upgradeability check, mint/pause/blacklist/fee-setter bytecode scan, ownership check, honeypot simulation. Risk score + verdict + flags.
$0.009Base0calls / 30d - GET/chain/wallet
Wallet bundle: ETH balance + balance_usd + tx count + contract-code check for a Base mainnet address, in one call.
$0.003Base0calls / 30d - GET/crypto/prices
Spot token prices from DefiLlama — pass comma-separated CoinGecko ids, get price/change_24h/symbol/confidence/timestamp.
$0.004Base0calls / 30d - GET/defi/yields
Top DeFi lending/LP yields — project, chain, symbol, pool id, APY breakdown + 1d/7d/30d APY trend, IL risk, exposure, reward/underlying tokens, outlier flag, DefiLlama stability forecast, TVL.
$0.001Base0calls / 30d