← AgentPay
Tools for AI agents
All 20 AgentPay tools: market data, DeFi, security, and routing APIs AI agents can call over HTTP, Python SDK, or MCP. 17 are free with no API key or wallet; paid tools cost $0.01 via x402 (USDC on Base or Stellar).
- crypto_newsFreeLatest crypto news and community sentiment from r/CryptoCurrency for any token
- defi_tvlFreeDeFi protocol Total Value Locked from DeFiLlama. Returns top 10 or a specific protocol.
- dune_queryFreeRun any Dune Analytics query and return live onchain results by query ID. Use fast_only=True for live bots — returns cached result instantly or raises immediately, never blocks.
- fear_greed_indexFreeCrypto Fear & Greed Index (0=extreme fear, 100=extreme greed) with optional history
- funding_ratesFreeGet perpetual futures funding rates across Binance, Bybit, and OKX
- gas_trackerFreeGet current Ethereum gas prices (slow, standard, fast)
- market_snapshotFreeFed rate, inflation proxy, S&P 500, BTC, ETH, and gas in one call. Replaces three separate API integrations with a single normalized response — the only tool that gives you macro + crypto in one shot.
- open_interestFreeGet total open interest in perpetual futures for a given asset, including 1h and 24h change percentages, long/short ratio, and per-exchange breakdown. Pairs with funding_rates to complete the derivatives picture.
- orderbook_depthFreeGet real bid/ask depth and slippage estimates at $10k, $50k, and $250k notional for a trading pair. Returns best bid/ask, spread percentage, and how much slippage to expect at each trade size.
- pre_trade_check$0.01One-call pre-trade sanity check: 'I want to long $X of SYMBOL — is now sane?' Combines live orderbook slippage at YOUR size, cross-exchange funding (carry cost), open-interest crowding, and contract security (GoPlus) into a single ok/caution/avoid verdict with a per-factor breakdown. Major ERC-20 addresses (LINK, UNI, ARB, OP, AAVE, PEPE, SHIB) resolve automatically; native assets (BTC, ETH, SOL, ...) report security n/a; an unrecognized token without token_address reads 'unknown' and caps the verdict at caution — an unscreened contract can never read 'ok'. Replaces four API integrations and the judgment layer on top of them. Raw component data embedded so you can apply your own thresholds.
- session_create$0.01Open a budget-capped agent session on AgentPay. Pay $0.01 USDC once — get a session_id, budget config, and gateway URL. Enforces a hard max_spend cap across all subsequent tool calls via the AgentPay SDK. The entry point for agents discovering AgentPay on Base Bazaar.
- token_market_dataFreeGet market cap, 24h volume, ATH, and price change for any token. Note: does NOT return pool depth or slippage — for pre-trade liquidity estimates, use a dedicated orderbook tool.
- token_priceFreeGet the current USD price of any cryptocurrency token
- token_securityFreeScan any token contract for honeypot, rug pull, and security risks
- url_readerFreeConvert any URL to clean, LLM-ready markdown. Strips ads, nav, and boilerplate — returns just the content. No API key needed.
- verified_route$0.01Paid buyer-side trust oracle: 'I need X, budget $Y — which x402 tool is real?' Sweeps the WHOLE x402 marketplace across many queries (a single search shows only a slice), collapses sybil/factory clusters (one wallet stamping many fake-distinct listings → one entry), ranks the genuinely-used survivors by real unique-payer usage, and returns ONE vetted recommendation with a ready-to-pay x402 challenge. The credit-bureau check an agent cannot do itself in one query — pay $0.01 to avoid paying a scam or a dead stub.
- wallet_balanceFreeGet the token balances for any Ethereum or Stellar wallet address
- web_searchFreeSearch the web and return the top 5 results with their full content as clean markdown. Better than DIY because zero setup and results include page content, not just links.
- whale_activityFreeDetect recent large wallet movements for a token (whale tracking)
- yield_scannerFreeFind best DeFi yield opportunities across protocols for a given token