LogoEdgeKeeper
/API Reference
/Data API

Data API

Access historical and real-time market data.

Get Candles (OHLCV)

Retrieve historical candle data for a specific symbol and timeframe.

GET/api/v1/data/candles

Query Parameters

  • symbol (string, required): e.g., "BTC/USD"
  • timeframe (string, required): e.g., "1h", "4h", "1d"
  • limit (integer, optional): Max number of candles (default: 100)

Response

[
  {
    "timestamp": 1678886400000,
    "open": 24500.0,
    "high": 24800.0,
    "low": 24400.0,
    "close": 24750.0,
    "volume": 120.5
  },
  ...
]

Get Supported Symbols

List all available trading pairs on a connected exchange.

GET/api/v1/data/symbols

Query Parameters

  • exchange (string, required): e.g., "binance"