Here are some API quickstart examples for YFI-ETH on Sushi 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=sushi&chain_slug=ethereum&pair_slug=yfi-eth"

Click here to test.

Daily OHLCV data

Download daily OHLCV candles as JSON over HTTP GET.

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

Click here to test.

Backtesting datasets

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