lion_adaptive_data_query
LION Adaptive Data Fabric: ONE typed x402 query endpoint that adapts to any agent request over live Base on-chain data, covering multiple verticals from one call. Query params: source (base_dex | token_risk | defi_yields), token (0x address; for token_risk / single-token base_dex), sort (activity|volume|liquidity|age), limit, min_liquidity, max_age_hours, fields (output projection), q (free-text intent). base_dex = ranked active Base tokens (liquidity, volume, price-change, pair-age, activity_score) via DexScreener; token_risk = token security card (honeypot, buy/sell tax, mintable, owner, holders + mechanical risk_flags) via GoPlus; defi_yields = Base DeFi pools ranked by TVL with APY via DefiLlama. Free self-describing capability manifest at the same URL with ?describe=1 (no payment). Returns typed JSON rows + freshness fields (as_of, data_age_seconds, confidence, source_provider). Public keyless data, no API key. Raw public market data only - not financial or investment advice. Pay 0.005 USDC on Base via x402; tools/call returns payment-required metadata only, settle at the paid route to fetch the live JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text intent (echoed; reserved for semantic routing). | |
| sort | No | Ranking key. | |
| limit | No | Max rows. | |
| token | No | Base token address; required for token_risk, optional for base_dex single-token lookup. | |
| fields | No | Comma-separated output field projection. | |
| source | No | Which live data vertical to query. Default base_dex. | |
| max_age_hours | No | Filter: max pair age in hours (base_dex). | |
| min_liquidity | No | Filter: minimum liquidity/TVL in USD. |