{"name":"AgentPay","version":"1.0","tagline":"The trust layer for AI agents that pay per call — verified delivery, a capped session, a receipt.","description":"The trust layer for AI agents that pay per call — we pay x402 services ourselves, check they deliver, rank them, and give the agent a verifiable receipt; a session cap bounds every call. 17 tools free to start. USDC on Base or Stellar (standard x402), sBTC or STX on Stacks (any Stacks x402 client), no keys.","url":"https://agentpay.tools","payment_protocol":"x402","payment_network":"eip155:8453","payment_asset":"USDC","payment_networks":[{"network":"eip155:8453","asset":"USDC","via":"x402-exact"},{"network":"stellar:pubnet","asset":"USDC","via":"x402-exact"},{"network":"stacks:1","asset":"sBTC","via":"agentpay-sdk"}],"pricing_model":"per-call","budget_aware":true,"faucet":"https://agentpay.tools/faucet","tools_endpoint":"https://agentpay.tools/tools","capabilities":["market-data","onchain-analytics","defi","sentiment","whale-tracking"],"tools":[{"name":"token_price","description":"Get the current USD price of any cryptocurrency token","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"symbol":{"type":"string","description":"Token symbol, e.g. BTC, ETH, SOL"}},"required":["symbol"]},"endpoint":"https://agentpay.tools/tools/token_price/call","triggers":["price","how much is","what is btc","token value","crypto price","usd","market price","worth"],"use_when":"You need the current USD price, 24h change, or market cap of any cryptocurrency.","returns":"price_usd, change_24h_pct, market_cap_usd, coin_id","response_example":{"symbol":"ETH","price_usd":2069.73,"change_24h_pct":-4.04,"market_cap_usd":250330787714.19,"source":"coingecko"}},{"name":"gas_tracker","description":"Get current Ethereum gas prices (slow, standard, fast)","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{}},"endpoint":"https://agentpay.tools/tools/gas_tracker/call","triggers":["gas","gwei","transaction fee","ethereum fee","network congestion","gas price","eth fee"],"use_when":"You need to know current Ethereum gas prices before submitting a transaction or estimating costs.","returns":"slow_gwei, standard_gwei, fast_gwei, base_fee_gwei, estimated confirmation times","response_example":{"slow_gwei":1.5,"standard_gwei":2.0,"fast_gwei":3.0,"base_fee_gwei":1.2,"source":"etherscan"}},{"name":"yield_scanner","description":"Find best DeFi yield opportunities across protocols for a given token","price_usdc":"0.000","category":"defi","parameters":{"type":"object","properties":{"token":{"type":"string","description":"Token symbol to find yields for, e.g. 'ETH', 'USDC', 'BTC'"},"chain":{"type":"string","description":"Filter by chain: 'ethereum', 'base', 'arbitrum', 'polygon'. Leave empty for all chains.","default":""},"min_tvl":{"type":"number","description":"Minimum pool TVL in USD (default 1,000,000)","default":1000000}},"required":["token"]},"endpoint":"https://agentpay.tools/tools/yield_scanner/call","triggers":["yield","apy","earn","interest","lending","staking","defi returns","best rate"],"use_when":"You need to find the best yield/APY for a token across DeFi protocols.","returns":"list of pools with protocol, apy, tvl_usd, chain, risk_level sorted by APY descending","response_example":{"token":"USDC","pools":[{"protocol":"morpho","apy":8.74,"tvl_usd":312000000.0,"chain":"Ethereum","risk_level":"low"},{"protocol":"aave-v3","apy":5.21,"tvl_usd":1840000000.0,"chain":"Ethereum","risk_level":"low"},{"protocol":"compound-v3","apy":4.87,"tvl_usd":920000000.0,"chain":"Ethereum","risk_level":"low"}],"source":"defillama"}},{"name":"open_interest","description":"Get total open interest in perpetual futures for any asset, with 1h and 24h change rates. Pairs with funding_rates to complete the derivatives picture — rising OI with high funding = overcrowded position.","price_usdc":"0.000","category":"defi","parameters":{"type":"object","properties":{"asset":{"type":"string","description":"Token symbol, e.g. 'BTC', 'ETH', 'SOL'","default":"BTC"}}},"endpoint":"https://agentpay.tools/tools/open_interest/call","triggers":["open interest","oi","long short ratio","futures positioning","perp oi","market positioning","leverage"],"use_when":"You need to know total open interest in perpetual futures and whether it's rising or falling. Combine with funding_rates for a full derivatives picture.","returns":"total_oi_usd (sum of the venues listed in oi_venues), oi_change_1h_pct, oi_change_24h_pct, long_short_ratio (median across venues) with long_short_ratios per venue and long_short_spread, per-exchange breakdown","response_example":{"asset":"ETH","price_usd":2069.73,"total_oi_usd":8415777792.0,"oi_venues":["Binance"],"oi_change_1h_pct":1.2,"oi_change_24h_pct":12.4,"long_short_ratio":1.08,"long_short_ratios":{"Binance":1.08,"OKX":1.11,"Gate.io":1.02},"long_short_spread":0.09,"exchanges":[{"exchange":"Binance","oi_contracts":4066123.5,"oi_usd":8415777792.0,"oi_change_1h_pct":1.2,"oi_change_24h_pct":12.4,"long_short_ratio":1.08}],"source":"binance/bybit/okx + gate/bitget (L/S)","primary":"binance"}},{"name":"orderbook_depth","description":"Get real bid/ask depth and slippage estimates at $10k, $50k, and $250k notional from Binance, Bybit and OKX. Use before sizing a position to know if you can execute without moving the market.","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"asset":{"type":"string","description":"Token symbol, e.g. 'BTC', 'ETH', 'SOL'","default":"ETH"}},"required":["asset"]},"endpoint":"https://agentpay.tools/tools/orderbook_depth/call","triggers":["slippage","orderbook","market depth","liquidity","can i sell","execution cost","bid ask","spread","fill price"],"use_when":"You need to estimate slippage before executing a large trade. Tells you how much a $10k, $50k, or $250k order will move the market.","returns":"best_bid, best_ask, spread_pct, depth with slippage_pct at $10k/$50k/$250k notional, per-exchange best prices","response_example":{"asset":"ETH","pair":"ETH/USDT","best_ask":2071.5,"best_bid":2071.2,"spread_pct":0.0145,"depth":[{"notional_usd":10000,"slippage_pct":0.002,"executable":true},{"notional_usd":50000,"slippage_pct":0.008,"executable":true},{"notional_usd":250000,"slippage_pct":0.031,"executable":true}],"exchanges":[{"exchange":"Binance","best_ask":2071.5,"best_bid":2071.2},{"exchange":"Bybit","best_ask":2071.6,"best_bid":2071.1}],"source":"binance/bybit/okx"}},{"name":"wallet_balance","description":"Get the token balances for any Ethereum or Stellar wallet address","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"address":{"type":"string","description":"Wallet address (Ethereum 0x... or Stellar G...)"},"chain":{"type":"string","enum":["ethereum","stellar"],"description":"Blockchain to query"}},"required":["address","chain"]},"endpoint":"https://agentpay.tools/tools/wallet_balance/call","triggers":["wallet","balance","holdings","portfolio","address","how much does","tokens in wallet"],"use_when":"You need to look up the token holdings of an Ethereum or Stellar wallet address.","returns":"list of token balances (symbol, amount) for the given address","response_example":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","chain":"ethereum","balances":[{"token":"ETH","amount":"1.234"},{"token":"USDC","contract":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","amount":"500.00"}]}},{"name":"fear_greed_index","description":"Crypto Fear & Greed Index (0=extreme fear, 100=extreme greed) with optional history","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"limit":{"type":"integer","description":"Number of days of history to return (default 1, max 30)","default":1}}},"endpoint":"https://agentpay.tools/tools/fear_greed_index/call","triggers":["fear","greed","sentiment","market mood","investor sentiment","bullish","bearish","panic","fomo"],"use_when":"You need to gauge overall crypto market sentiment or mood — whether the market is fearful or greedy.","returns":"value (0–100), value_classification (e.g. 'Greed'), optional history[]","response_example":{"value":10,"value_classification":"Extreme Fear","timestamp":1774137600,"source":"alternative.me"}},{"name":"crypto_news","description":"Latest crypto news and community sentiment from r/CryptoCurrency for any token","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"currencies":{"type":"string","description":"Comma-separated token symbols, e.g. 'BTC,ETH'","default":"BTC,ETH"},"filter":{"type":"string","enum":["hot","new","rising","top"],"description":"Feed sort order (default: hot)","default":"hot"}}},"endpoint":"https://agentpay.tools/tools/crypto_news/call","triggers":["news","headlines","what's happening","latest","trending","community","reddit","narrative","buzz"],"use_when":"You need recent news headlines or community sentiment for one or more crypto tokens.","returns":"headlines[] with title, url, sentiment (bullish/neutral/bearish), score, published_at","response_example":{"currencies":"ETH","headlines":[{"title":"Ethereum devs confirm Pectra upgrade timeline","url":"https://reddit.com/r/CryptoCurrency/...","sentiment":"bullish","score":1842,"published_at":"2026-03-22T08:14:00Z"},{"title":"ETH gas fees drop to yearly lows","url":"https://reddit.com/r/CryptoCurrency/...","sentiment":"bullish","score":934,"published_at":"2026-03-22T06:31:00Z"}],"source":"reddit"}},{"name":"defi_tvl","description":"DeFi protocol Total Value Locked from DeFiLlama. Returns top 10 or a specific protocol.","price_usdc":"0.000","category":"defi","parameters":{"type":"object","properties":{"protocol":{"type":"string","description":"Protocol name or slug, e.g. 'uniswap', 'aave', 'lido'. Leave empty for top 10.","default":""}}},"endpoint":"https://agentpay.tools/tools/defi_tvl/call","triggers":["tvl","total value locked","defi","protocol","aave","uniswap","lido","compound","locked funds"],"use_when":"You need the Total Value Locked in a specific DeFi protocol or want to compare the top protocols by TVL.","returns":"tvl, change_1h, change_1d, change_7d, chains[], category for the protocol (or top 10 list)","response_example":{"protocol":"aave","tvl":23800000000.0,"change_1h":0.12,"change_1d":-1.43,"change_7d":3.21,"chains":["Ethereum","Polygon","Avalanche","Base"],"category":"Lending","source":"defillama"}},{"name":"token_market_data","description":"Get 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.","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"token_a":{"type":"string","description":"First token symbol"},"token_b":{"type":"string","description":"Second token symbol, e.g. USDC"}},"required":["token_a","token_b"]},"endpoint":"https://agentpay.tools/tools/token_market_data/call","triggers":["liquidity","volume","dex","trading volume","slippage","market depth","uniswap","all-time high","ath"],"use_when":"You need 24h trading volume, market cap, or all-time high for a token pair on decentralized exchanges.","returns":"volume_24h_usd, market_cap_usd, price_usd, ath_usd, price_change_24h_pct","response_example":{"token_a":"ETH","token_b":"USDC","price_usd":2071.45,"volume_24h_usd":312847293.0,"volume_change_24h_pct":-8.3,"market_cap_usd":249800000000.0,"ath_usd":4878.26,"price_change_24h_pct":-3.91,"source":"coingecko"}},{"name":"token_security","description":"Scan any token contract for honeypot, rug pull, and security risks","price_usdc":"0.000","category":"security","parameters":{"type":"object","properties":{"contract_address":{"type":"string","description":"Token contract address (0x...)"},"chain":{"type":"string","enum":["ethereum","bsc"],"description":"Blockchain to query (default: ethereum)","default":"ethereum"}},"required":["contract_address"]},"endpoint":"https://agentpay.tools/tools/token_security/call","triggers":["rug","honeypot","safe","scam","contract risk","token security","is this safe","audit"],"use_when":"You need to check if a token contract is safe before trading or investing.","returns":"risk_level, is_honeypot, buy_tax, sell_tax, holder_count, owner_address, is_mintable, can_take_back_ownership","response_example":{"contract_address":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2","chain":"ethereum","risk_level":"low","is_honeypot":false,"buy_tax":0.0,"sell_tax":0.0,"holder_count":842341,"is_mintable":false,"can_take_back_ownership":false,"source":"goplus"}},{"name":"dune_query","description":"Run 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.","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"query_id":{"type":"integer","description":"Dune Analytics query ID (visible in the query URL)"},"query_parameters":{"type":"object","description":"Optional named parameters to pass to the Dune query","default":{}},"limit":{"type":"integer","description":"Maximum rows to return (default 25)","default":25},"fast_only":{"type":"boolean","description":"If True, return cached result immediately or raise — never execute a fresh query. Use for live bots where latency matters. Default: False.","default":false}},"required":["query_id"]},"endpoint":"https://agentpay.tools/tools/dune_query/call","triggers":["dune","onchain","sql","analytics","custom query","blockchain data","onchain metrics","protocol stats"],"use_when":"You need deep onchain analytics from a specific Dune query — protocol revenue, user counts, custom metrics.","returns":"rows[], columns[], row_count, generated_at from the Dune Analytics query result","response_example":{"query_id":3810512,"row_count":2,"columns":["protocol","revenue_usd"],"rows":[{"protocol":"Uniswap V3","revenue_usd":1243800.0},{"protocol":"Aave V3","revenue_usd":987200.0}],"generated_at":"2026-03-22T00:00:00Z","source":"dune"}},{"name":"url_reader","description":"Convert any URL to clean, LLM-ready markdown. Strips ads, nav, and boilerplate — returns just the content. No API key needed.","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"url":{"type":"string","description":"The URL to fetch and convert to markdown"}},"required":["url"]},"endpoint":"https://agentpay.tools/tools/url_reader/call","triggers":["read url","fetch page","scrape","extract content","read article","get page","url to text","website content"],"use_when":"You need to read the content of a web page or article and get clean, structured text for further processing.","returns":"content (markdown), url, length, truncated flag","response_example":{"url":"https://example.com","content":"# Example Domain\n\nThis domain is for use in illustrative examples...","length":1256,"truncated":false,"source":"jina_reader"}},{"name":"web_search","description":"Search 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.","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{"query":{"type":"string","description":"The search query"}},"required":["query"]},"endpoint":"https://agentpay.tools/tools/web_search/call","triggers":["search","look up","find","google","web search","what is","latest news","who is","current"],"use_when":"You need to find current information on any topic — news, documentation, prices, events, or anything else on the web.","returns":"results[] with url, title, description, content; query; count","response_example":{"query":"ETH gas fees today","count":5,"results":[{"url":"https://etherscan.io/gastracker","title":"Ethereum Gas Tracker","description":"Real-time Ethereum gas price tracker","content":"Current gas: 2 Gwei..."}],"source":"jina_search"}},{"name":"session_create","description":"Open 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.","price_usdc":"0.01","category":"session","parameters":{"type":"object","properties":{"agent_address":{"type":"string","description":"Your wallet address (Stellar G... or EVM 0x...)"},"max_spend":{"type":"string","description":"Hard budget cap in USDC for this session, e.g. '0.10'","default":"0.10"},"label":{"type":"string","description":"Optional human-readable label for this session"}}},"endpoint":"https://agentpay.tools/tools/session_create/call","triggers":["start session","open session","register agent","budget cap","session create","agentpay session"],"use_when":"You want to start an AgentPay session with a hard spend cap and get a session_id for tracking.","returns":"session_id, max_spend, agent_address, gateway_url, tools_endpoint, created_at, receipt (tx_hash + network)","response_example":{"session_id":"f47ac10b-58cc-4372-a567-0e02b2c3d479","max_spend":"0.10","agent_address":"GBCVQCNFWPM3GDO4GPT4YEQ42ZHPY67QTJA3WN5ERQIKQDXKBX62SLNJ","label":null,"gateway_url":"https://agentpay.tools","tools_endpoint":"https://agentpay.tools/tools","created_at":"2026-05-27T12:00:00Z","receipt":{"tx_hash":"0xabc...def","network":"base","amount_usdc":"0.01"},"sdk_hint":"Use `from agentpay import Session` to enforce the max_spend cap client-side."}},{"name":"funding_rates","description":"Get perpetual futures funding rates across Binance, Bybit, and OKX","price_usdc":"0.000","category":"defi","parameters":{"type":"object","properties":{"asset":{"type":"string","description":"Token symbol, e.g. 'BTC', 'ETH'. Leave empty for all major assets.","default":""}}},"endpoint":"https://agentpay.tools/tools/funding_rates/call","triggers":["funding rate","perp","perpetual","long","short","futures","leverage sentiment"],"use_when":"You need funding rates to gauge leveraged market sentiment or cost of holding a perp position.","returns":"funding_rate_pct, annualized_rate_pct and a contrarian sentiment per exchange: bearish = longs are paying (crowded longs), bullish = shorts are paying (crowded shorts), neutral = near the 0.01% equilibrium","response_example":{"asset":"BTC","rates":[{"asset":"BTC","exchange":"Binance","funding_rate_pct":0.036,"annualized_rate_pct":39.42,"next_funding_time":1794844800000,"sentiment":"bearish"},{"asset":"BTC","exchange":"Bybit","funding_rate_pct":0.012,"annualized_rate_pct":13.14,"next_funding_time":1794844800000,"sentiment":"neutral"},{"asset":"BTC","exchange":"OKX","funding_rate_pct":-0.012,"annualized_rate_pct":-13.14,"next_funding_time":1794844800000,"sentiment":"bullish"}],"count":3,"sources":["Binance","Bybit","OKX"]}},{"name":"market_snapshot","description":"Fed 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.","price_usdc":"0.000","category":"data","parameters":{"type":"object","properties":{}},"endpoint":"https://agentpay.tools/tools/market_snapshot/call","triggers":["market overview","market snapshot","macro","big picture","market summary","overall market","sp500","s&p","bitcoin and stocks"],"use_when":"You need a combined macro + crypto market overview in one call: S&P 500, Treasury yield, BTC, ETH, and Ethereum gas.","returns":"sp500_price, sp500_change_pct, treasury_yield_10y, btc_price_usd, eth_price_usd, gas_standard_gwei, timestamp","response_example":{"sp500_price":5234.18,"sp500_change_pct":-0.42,"treasury_yield_10y":4.31,"btc_price_usd":67200.0,"eth_price_usd":3450.0,"gas_standard_gwei":5.2,"timestamp":"2026-05-26T12:00:00Z","source":"yahoo_finance+coingecko+etherscan"}},{"name":"pre_trade_check","description":"One-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. Stacks tokens (STX, sBTC, USDCx, stSTX, ZEST, LEO, USDh, aeUSDC, stBTC) add the Bitflow DEX venue: price impact at YOUR size from a live route quote, the pools and bins the swap crosses, and their TVL; STX and sBTC keep their CEX perp legs, DEX-only tokens report funding/OI n/a and contract risk unscreened (no GoPlus coverage on Stacks).","price_usdc":"0.01","category":"trading","parameters":{"type":"object","properties":{"symbol":{"type":"string","description":"Asset to check, e.g. 'ETH', 'BTC', 'SOL'"},"size_usd":{"type":"number","description":"Intended position size in USD (drives the slippage check)","default":10000},"side":{"type":"string","enum":["long","short"],"description":"Trade direction (funding carry is side-aware)","default":"long"},"venue":{"type":"string","enum":["auto","cex","bitflow"],"description":"Where the trade executes. auto (default): CEX books for majors, Bitflow for Stacks tokens, both for STX/sBTC. bitflow: price the swap on Bitflow only; cex: skip Bitflow","default":"auto"},"token_address":{"type":"string","description":"Optional ERC-20 contract address for the GoPlus security scan. Auto-resolved for major tokens; required for a full verdict on tokens the resolver doesn't know (otherwise security reads 'unknown' and caps the verdict at caution)"}},"required":["symbol"]},"endpoint":"https://agentpay.tools/tools/pre_trade_check/call","triggers":["pre trade check","should I trade","is this trade sane","trade check","entry check","before I buy","slippage and funding","trade readiness"],"use_when":"An agent (or human) is about to enter a position and wants one verdict covering liquidity, carry, crowding, and security — instead of four raw feeds plus its own synthesis.","returns":"verdict (ok/caution/avoid), factors{liquidity,carry,crowding,security} each with level + reason, components{orderbook_depth,funding_rates,open_interest}, symbol, side, size_usd","response_example":{"symbol":"ETH","side":"long","size_usd":50000,"venue":"cex","verdict":"caution","factors":{"liquidity":{"level":"ok","slippage_pct":0.011,"bucket_usd":50000,"reason":"fills within 0.011% of best ask"},"carry":{"level":"caution","median_funding_pct":0.062,"annualized_pct":67.9,"reason":"longs paying elevated funding"},"crowding":{"level":"ok","long_short_ratio":1.4,"oi_change_24h_pct":3.2,"reason":"positioning unremarkable"},"security":{"level":"n/a","reason":"ETH is a native chain asset — no token contract to screen"}},"not_checked":["security"]}},{"name":"verified_route","description":"Paid 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.","price_usdc":"0.01","category":"routing","parameters":{"type":"object","properties":{"need":{"type":"string","description":"What the agent needs, e.g. 'dex pair liquidity', 'crypto prices'"},"budget_usd":{"type":"number","description":"Max USDC the agent will pay the downstream tool per call","default":1},"chain":{"type":"string","description":"Optional chain filter: 'base', 'arbitrum', 'arbitrum-stack'. Empty = all chains.","default":""}},"required":["need"]},"endpoint":"https://agentpay.tools/tools/verified_route/call","triggers":["verified route","which tool","is this tool real","vet tool","trustworthy x402","find a real tool","avoid scam tool","best x402 tool","trust score","vetted route"],"use_when":"An agent is about to pay an unknown x402 tool and wants the real, used, non-sybil one under budget — not just the cheapest.","returns":"recommendation (with ready_to_pay), survivors[] (each with typed evidence[]), catalog{scanned, real_providers, sybil_collapsed, biggest_factory}, vetting summary","response_example":{"need":"dex pair liquidity","chain":null,"budget_usd":"1","recommendation":{"name":"Otto AI","url":"https://otto.example/dex","price_usd":"0.001","network":"eip155:8453","pay_to":"0x0e84ddedaae6a7","payers30d":200,"calls30d":3246,"quality":3851,"flags":[],"evidence":[{"type":"delivery","source":"agentpay-prober","metric":"delivery_rate","value":1.0,"n":12,"observed_at":"2026-09-30T13:05:00Z","ref":"/s/otto-example-dex-1a2b3c"},{"type":"third-party","source":"coinbase-bazaar","metric":"unique_payers_30d","value":200,"observed_at":"2026-10-01T12:00:00Z","ref":null}],"ready_to_pay":{"url":"https://otto.example/dex","network":"eip155:8453","price_usd":"0.001","accepts":{"scheme":"exact","network":"eip155:8453"}}},"survivors":[],"catalog":{"scanned":117,"after_vetting":114,"real_providers":41,"unique_wallets":38,"sybil_collapsed":73,"biggest_factory":{"pay_to":"0x2bb72231eed3","listings":72}},"vetting":"swept 17 queries → 117 listings → collapsed 73 sybil listings → 41 real providers"}},{"name":"whale_activity","description":"Detect recent large wallet movements for a token (whale tracking)","price_usdc":"0.000","category":"monitoring","parameters":{"type":"object","properties":{"token":{"type":"string","description":"Token symbol to track"},"min_usd":{"type":"number","description":"Minimum transaction size in USD","default":100000}},"required":["token"]},"endpoint":"https://agentpay.tools/tools/whale_activity/call","triggers":["whale","large transfer","big move","institutional","smart money","accumulation","dump","sell-off"],"use_when":"You need to detect large token transfers that may signal institutional moves, accumulation, or sell-offs.","returns":"large_transfers[] with from, to (full addresses), amount, usd_value, minutes_ago, tx_hash; total_volume_usd","response_example":{"token":"USDC","large_transfers":[{"from":"0xabababababababababababababababababababab","to":"0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd","amount":5000000.0,"usd_value":5000000.0,"minutes_ago":12,"tx_hash":"0x9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f9f"},{"from":"0x1111111111111111111111111111111111111111","to":"0x2222222222222222222222222222222222222222","amount":2500000.0,"usd_value":2500000.0,"minutes_ago":34,"tx_hash":"0x7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a"}],"total_volume_usd":7500000.0,"source":"etherscan"}},{"name":"funding_spread","description":"Cross-venue perp funding divergence for one asset — the basis/carry read, not the raw rates. Reads Binance, Bybit, OKX, Gate.io, Bitget, Hyperliquid, dYdX, MEXC and KuCoin in parallel, normalises every rate to a per-8h figure (hourly venues scaled), and returns the spread (max minus min, cheapest and dearest venue, deviation from the median), its percentile against the last 7 days of cross-venue spreads, a plain-English read, and — given notional_usd — a carry estimate (per 8h / day / 30d) net of an assumed taker fee with the breakeven holding time. Venues that fail to answer are named in venues_unavailable; the spread is computed over the ones that did.","price_usdc":"0.01","category":"trading","parameters":{"type":"object","properties":{"symbol":{"type":"string","description":"Perp underlying, e.g. 'BTC', 'ETH', 'SOL'"},"notional_usd":{"type":"number","description":"Optional position size per leg in USD — adds carry_estimate (long the cheapest venue, short the dearest)"}},"required":["symbol"]},"endpoint":"https://agentpay.tools/tools/funding_spread/call","triggers":["funding spread","funding arbitrage","basis trade","carry trade","cross-exchange funding","funding divergence","which venue pays funding","cheapest funding"],"use_when":"An agent wants to know whether funding on one venue is out of line with the others for the same perp — to pick the cheaper venue for a position, or to size a long/short carry across venues.","returns":"asset, as_of, venues[{venue, rate_8h_pct, rate_annualized_pct, raw_rate_pct, interval_hours, next_funding_time}] sorted cheapest first, spread{pct_8h, bps_8h, annualized_pct, median_8h_pct, max_deviation_from_median_pct, cheapest, dearest}, history{days, buckets, spread_pct_8h_p50/p90/max, current_percentile}, carry_estimate{per_8h_usd, per_day_usd, per_30d_usd, taker_fees_round_trip_usd, breakeven_hours, assumptions} | null, read, venues_unavailable{venue: reason}","response_example":{"asset":"ETH","as_of":"2026-11-05T12:41:00+00:00","venues":[{"venue":"okx","rate_8h_pct":0.01,"rate_annualized_pct":10.95,"raw_rate_pct":0.01,"interval_hours":8.0,"next_funding_time":1793923200000},{"venue":"hyperliquid","rate_8h_pct":0.01,"rate_annualized_pct":10.95,"raw_rate_pct":0.00125,"interval_hours":1.0,"next_funding_time":1793883600000},{"venue":"dydx","rate_8h_pct":0.039,"rate_annualized_pct":42.7,"raw_rate_pct":0.004875,"interval_hours":1.0,"next_funding_time":1793883600000}],"spread":{"pct_8h":0.029,"bps_8h":2.9,"annualized_pct":31.75,"median_8h_pct":0.01,"max_deviation_from_median_pct":0.029,"cheapest":"okx","dearest":"dydx"},"history":{"days":7,"buckets":22,"venues_with_history":["dydx","hyperliquid","okx"],"spread_pct_8h_p50":0.0125,"spread_pct_8h_p90":0.04242,"spread_pct_8h_max":0.05698,"current_percentile":77},"carry_estimate":{"notional_usd":10000.0,"long_on":"okx","short_on":"dydx","per_8h_usd":2.9,"per_day_usd":8.7,"per_30d_usd":261.0,"taker_fees_round_trip_usd":20.0,"breakeven_hours":55.2,"assumptions":"taker 0.05% per leg on both venues, open and close; spread held constant; no slippage, no basis move"},"read":"ETH funding 0.0390%/8h on dydx vs 0.0100% on okx — 2.9 bps/8h, 77th percentile of the last 7 days (7 of 9 venues answered)","venues_unavailable":{"binance":"geo-blocked (451)","bybit":"geo-blocked (403)"}}},{"name":"sbtc_peg","description":"The sBTC peg as an agent-readable feed — the one dataset only Stacks state can answer. Live sBTC supply (and share of the peg cap), peg-in and peg-out flows for 24h and 7d (sats, counts, unique recipients, net), in-flight bridge requests (pending and accepted deposits with the oldest pending age, pending withdrawals, 24h failures), the last peg events with Bitcoin txids, the signer set and signature threshold, and the rolling withdrawal cap with its current headroom. Read from the sBTC token and registry contracts and the bridge API (Emily); a source that fails degrades to null plus a note. Signer liveness is not public and is reported as null — the pending ages and withdrawal headroom are the proxies.","price_usdc":"0.01","category":"data","parameters":{"type":"object","properties":{},"required":[]},"endpoint":"https://agentpay.tools/tools/sbtc_peg/call","triggers":["sbtc peg","sbtc supply","peg in","peg out","sbtc bridge","sbtc signers","bitcoin on stacks","sbtc withdrawals"],"use_when":"An agent wants the state of the sBTC peg before moving BTC onto or off Stacks, sizing against the withdrawal cap, or reading Bitcoin-capital flow into Stacks as a signal.","returns":"asset, contract, network, as_of{time, stacks_height, bitcoin_height}, supply{sats, btc, peg_cap_sats, pct_of_cap}, flows{24h, 7d}{peg_in_sats, peg_in_count, peg_in_unique_recipients, peg_out_sats, peg_out_count, net_sats, from_stacks_height, complete}, in_flight{deposits_pending, deposits_accepted, oldest_pending_deposit_age_hours, withdrawals_pending, withdrawals_accepted, deposits_failed_24h, withdrawals_failed_24h}, last_events[{type, sats, stacks_height, bitcoin_txid, recipient|sender}], signers{count, signature_threshold, aggregate_pubkey, limits{peg_cap_sats, per_deposit_minimum_sats, per_withdrawal_cap_sats, rolling_withdrawal_cap_sats, rolling_window_blocks, available_to_withdraw_sats, withdrawal_headroom_pct, throttle_mode}, liveness, note}, read, sources, notes[]","response_example":{"asset":"sBTC","contract":"SM3VDXK3WZZSA84XXFKAFAF15NNZX32CTSG82JFQ4.sbtc-token","network":"stacks-mainnet","as_of":{"time":"2026-11-05T13:16:06+00:00","stacks_height":9418770,"bitcoin_height":974675},"supply":{"sats":248402294199,"btc":2484.02294199,"peg_cap_sats":2100000000000000,"pct_of_cap":0.0118},"flows":{"24h":{"peg_in_sats":349000521,"peg_in_count":870,"peg_in_unique_recipients":11,"peg_out_sats":172451573,"peg_out_count":15,"net_sats":176548948,"from_stacks_height":9411041,"complete":true},"7d":{"peg_in_sats":1093108934,"peg_in_count":5324,"peg_in_unique_recipients":39,"peg_out_sats":790710098,"peg_out_count":110,"net_sats":302398836,"from_stacks_height":9359229,"complete":true}},"in_flight":{"deposits_pending":10,"deposits_accepted":16,"oldest_pending_deposit_age_hours":50.0,"withdrawals_pending":0,"withdrawals_accepted":3,"deposits_failed_24h":0,"withdrawals_failed_24h":1},"last_events":[{"type":"peg_in","sats":85000,"stacks_height":9418744,"bitcoin_txid":"62acd3f2cee3b1bb0ba547de0d1fc32253bf69e79b63cf19f9e055dc97f741db","recipient":"SP000000000000000000002Q6VF78.pox-5"}],"signers":{"count":11,"signature_threshold":8,"aggregate_pubkey":"0x02d99ad0f0111a7e9aaa2ed22940efec98db0ece9b9475e61e1eec65a6e7f3af69","limits":{"peg_cap_sats":2100000000000000,"per_deposit_minimum_sats":10000,"per_withdrawal_cap_sats":5100000000,"rolling_withdrawal_cap_sats":15100000000,"rolling_window_blocks":150,"available_to_withdraw_sats":14786411900,"withdrawal_headroom_pct":97.9,"throttle_mode":null},"liveness":null,"note":"signer liveness is not published; the observable proxies are pending/accepted deposit ages and the rolling withdrawal headroom"},"read":"sBTC supply 2484.02 BTC; 24h net +1.7655 BTC (870 in / 15 out); 7d net +3.0240 BTC (5324 in / 110 out); 10 deposits pending (oldest 50.0h); 8-of-11 signers; withdrawal headroom 97.9%","notes":[]}}]}