| name | ccxt-market |
| description | Query public crypto exchange market data through CCXT. Use for ticker, order book, OHLCV, and symbol discovery. Do not use for balances or trading. |
Use this skill for public market data only.
Rules:
- Never call private account or trade actions.
- Always pass
exchange and action-specific required fields.
- Prefer normalized fields when present in output.
- If exchange does not support a method, return
UNSUPPORTED_FEATURE.
Action Selection
- Use
list_markets to discover available symbols and market metadata.
- Use
fetch_ticker for latest price snapshot and 24h stats.
- Use
fetch_order_book for bid/ask ladder and spread context.
- Use
fetch_ohlcv for candle data across a timeframe.
For exact input/output examples, read references/actions.md.
Input Contract
- Required for all market actions:
exchange
- Required for symbol-based actions:
symbol (or payload.symbol for compatibility)
- Optional payload keys:
limit, timeframe, since
Preferred request shape:
{
"exchange": "binance",
"action": "fetch_ticker",
"symbol": "BTC/USDT",
"payload": {}
}
Output Contract
Success shape:
{
"ok": true,
"action": "<action>",
"exchange": "<exchange>",
"result": {},
"normalized": {}
}
Failure shape:
{
"ok": false,
"action": "<action>",
"exchange": "<exchange>",
"code": "<ERROR_CODE>",
"message": "<message>"
}
Error Handling
- Unsupported exchange methods map to
UNSUPPORTED_FEATURE.
- Unknown or missing symbol maps to
INVALID_SYMBOL or VALIDATION_ERROR.
- Missing required fields map to
VALIDATION_ERROR.