waveguard_market_data
Fetch live crypto market data from CoinGecko and DexScreener. No external data needed — WaveGuard pulls it for you.
Use 'coin_id' for CoinGecko (e.g. 'bitcoin', 'ethereum', 'solana'). Use 'contract_address' for DexScreener (any chain). Use 'search' to find token IDs by name/symbol.
Returns: price, volume, market cap, liquidity, price history, OHLC candles — ready to feed into waveguard_token_risk, waveguard_volume_check, or waveguard_price_manipulation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days of history (default: 90 for price_history, 30 for ohlc). | |
| count | No | Number of results for top_coins (default: 25). | |
| query | No | Search query. Required for search, dex_search. | |
| action | Yes | What data to fetch: - token_data: full metrics for a CoinGecko coin - price_history: daily prices (for price_manipulation) - ohlc: OHLC candles (for volume_check) - top_coins: top N by market cap (training baseline) - search: find CoinGecko coin IDs - dex_token: DEX data by contract address - dex_search: search DEX pairs | |
| coin_id | No | CoinGecko coin ID (e.g. 'bitcoin', 'ethereum'). Required for token_data, price_history, ohlc. | |
| contract_address | No | Token contract address (any chain). Required for dex_token. |