Here are some API quickstart examples for PEEPS-ETH on Uniswap v2 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=uniswap-v2&chain_slug=ethereum&pair_slug=peeps-eth"

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=50800&time_bucket=1d"

JSON

Download daily OHLCV candles as JSON over HTTP GET.

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

Backtesting datasets

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