API दस्तावेज़ीकरण

get/api/v1/Instruments/historical-data

Returns OHLCV historical bars for several instruments in one request (e.g. watchlist sparklines). Unknown symbols or instruments with no series are included with an empty bar list — the response is always successful when the query is well formed. Prefer typed per-symbol {GET …/{type}/{symbol}/historical-data} when the instrument type is known.

Instruments

पैरामीटर

symbols

query · string

आवश्यक

barSize

query · integer

वैकल्पिक

version

path · string

आवश्यक

जवाब

  • 200Batch of symbols with OHLCV bar arrays.application/json
    {
      "barSize": 300,
      "items": [
        {
          "symbol": "EURUSD_spot",
          "bars": [
            [
              1720000000000,
              1.0841,
              1.0845,
              1.0839,
              1.0842,
              1200
            ]
          ]
        },
        {
          "symbol": "AAPL_US",
          "bars": []
        }
      ]
    }
  • 400Missing symbols or invalid barSize.application/json
    {}
Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

अपने प्लेटफ़ॉर्म को लॉन्च करें।

शुरू करें।