Color Mode
  • Use system setting
  • Light mode
  • Dark mode
  • BITCOIN-BNB API and historical data

    Here are some API quickstart examples for BITCOIN-BNB on PancakeSwap v2.

    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=pancakeswap-v2&chain_slug=binance&pair_slug=bitcoin-bnb"
    Click here to test.

    Daily OHLCV data

    Download daily OHLCV candles as JSON over HTTP GET.

    curl "https://tradingstrategy.ai/api/candles?pair_id=1964619&exchange_type=uniswap_v2&time_bucket=1d"
    Click here to test.

    Backtesting datasets

    Backtesting datasets are available as a separate download. The datasets include BITCOIN-BNB data. View backtesting datasets.