Here are some API quickstart examples for ETH-USDT on Unknown on Ethereum blockchain.

Examples here do not cover the full API. Read the full real-time API or algorithmic trading programming documentation.

Trading pair info

Get trading pair overview as JSON over HTTP GET.

curl "https://tradingstrategy.ai/api/pair-details?exchange_slug=0x1097053fd2ea711dad45caccc45eff7548fcb362&chain_slug=ethereum&pair_slug=eth-usdt"

Daily OHLCV data

JSONL

Download daily as OHLCV candles as JSONL over HTTP GET. This is preferred method for getting large amounts of OHLCV data. Find more information about streaming JSONL data line-by-line in our API specification.

curl "https://tradingstrategy.ai/api/candles-jsonl?pair_ids=2732352&time_bucket=1d"

JSON

Download daily OHLCV candles as JSON over HTTP GET.

curl "https://tradingstrategy.ai/api/candles?pair_id=2732352&exchange_type=uniswap_v2&time_bucket=1d"

Backtesting datasets

Backtesting datasets are available as a separate download. The datasets include ETH-USDT data. View backtesting datasets.