Here are some API quickstart examples for ETH-USDC on Crypto.com DeFi Swap 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=crypto-com-defi-swap&chain_slug=ethereum&pair_slug=eth-usdc"

Click here to test.

Daily OHLCV data

Download daily OHLCV candles as JSON over HTTP GET.

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

Click here to test.

Backtesting datasets

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