Commands
Overview
Lillo provides three main commands for accessing cryptocurrency market data:
/ticker
- Detailed token information lookup/dex
- Solana DEX market data/gecko
- Global cryptocurrency market data
Command Reference
1. Ticker Command
/ticker <symbol>
/ticker <symbol>
Fetches detailed token information by symbol or address.
Parameters:
symbol
(required): Token symbol or contract address
Features:
Fetches data through webapp endpoint
Supports both symbol and address lookups
Detailed token metrics
Social links and profile information (if available)
AI-powered market analysis using GPT-4o-mini
Response Format:
2. DEX Command
/dex [type]
/dex [type]
Fetches real-time market data from DexScreener for Solana tokens.
Parameters:
type
(optional): The type of data to fetchtrending
(default) - Fetches top 50 trending tokens by volume, displays top 10latest
- Fetches 50 most recently created pairs, displays top 10boosted
- Fetches 50 most boosted tokens, displays top 10
Features:
Solana chain focused
Volume-based sorting
AI market analysis using GPT-4o-mini
Top 10 tokens display from 50 fetched
Response Format:
3. Gecko Command
/gecko [type]
/gecko [type]
Retrieves market data from CoinGecko for major cryptocurrencies.
Parameters:
type
(optional): The type of data to fetchmarket
(default) - Fetches top 50 by market cap, displays top 10trending
- Shows trending coins
Features:
Global market coverage
Market cap rankings
24h and 7d price changes
AI market analysis using GPT-4o-mini
Response Format:
Implementation Details
Retry Logic
All commands implement retry logic (max 3 attempts)
Exponential backoff between retries (1s, 2s, 3s)
Clear error messages on failure
AI Analysis
Uses GPT-4o-mini model
Considers current market conditions
Provides actionable insights
Formatted with emojis and sections
Error Handling
Validates input parameters
Provides clear error messages
Handles API failures gracefully
Retries on transient failures
Best Practices
Command Usage
Use
/ticker
for specific token lookupsUse
/dex
for Solana market overviewUse
/gecko
for global market overview
Rate Limiting
Allow time between requests
Respect API limitations
Wait for retry attempts on failures
Error Recovery
Check input parameters
Wait for retry attempts
Report persistent errors
Related Documentation
Last updated