Get Crypto Trades
get_crypto_tradesFetch historical trade records for one or more crypto pairs, with configurable time ranges, sorting, and limits.
Instructions
Retrieve historical trade data for one or more cryptocurrencies.
When start is omitted, it is automatically computed as now minus the days/hours/minutes lookback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Inclusive end time (RFC 3339). Omit for current time. | |
| days | No | Days to look back when start is omitted (default 0). | |
| sort | No | Timestamp sort order — "asc" (default) or "desc". | asc |
| hours | No | Additional hours in the lookback (default 0). | |
| limit | No | Max total data points returned across all symbols, 1–10000 (default 1000). | |
| start | No | Inclusive start time (RFC 3339). Omit to use relative lookback. | |
| minutes | No | Additional minutes in the lookback (default 15). | |
| symbols | Yes | Comma-separated crypto pairs (e.g. "BTC/USD" or "BTC/USD,ETH/USD"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||