Helix API

Helix-api EndPoints

BaseURL: https://helix-data.io/api

Endpoint 1 - /pairs

The /pairs endpoint provides a summary on crypto asset trading pairs available on the exchange.

{ “ticker_id”: “0x231…_0xC02..”, “pool_id”: “0xc6f47e4eb14b421c3ae0984141bE9cF3793bDe93”, "base": "HELIX", "target": "WETH", “base_name”: “Helix”, “base_address”: “0x231CC03E6d8b7368eC2aBfAfb5f73D216c8af980”, “target_name”: “Wrapped Ether”, “target_address”: “0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2”, “price”: “0.00009264199358808715”, “base_volume”: “163485.366155771566560557”, “target_volume”: “14.087847964362054559”, “liquidity”: “111376.3607594455161360619883045426”, “liquidity_ETH”: “70.41369082307403118611343058279249” }

/pairs endpoint response description:

Endpoint 2 - /tickers (Market Info)

The /tickers endpoint provides 24-hour pricing and volume information on each market pair available on an exchange.

{ "ticker_id": "0x…_0x..", "pool_id": "0x..", "base_currency": "HELIX", "target_currency": "WETH", "last_price": "0.15", "base_volume": "174596.366155", "target_volume": "14.9796283", "base_id": "0x..", "base_name": "Helix", "target_id": "0x..", "target_name": "Wrapped Ether" }

/tickers endpoint response description:

Endpoint 3 - /orderbook (Order book depth details)

The /orderbook/ticker_id endpoint is to provide order book information

Endpoint parameters:

Example query: ...api/orderbook?pair=0x231CC03E6d8b7368eC2aBfAfb5f73D216c8af980_0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

{ "ticker_id": "0x231C.._0xC02aaA..", "timestamp":"1700050000", "bids":[ [ "49.8", "0.50000000" ], [ "49.9", "6.40000000" ] ], "asks":[ [ "50.1", "9.20000000" ], [ "50.2", "7.9000000" ] ] }

Order book response descriptions:

[Optional] Endpoint 4 - /historical_trades (Historical Data)

The /historical_trades/ticker_id is used to return data on historical completed trades for a given market pair.

Endpoint parameters:

Example query: .../api/historical_trades?pair=0x231CC03E6d8b7368eC2aBfAfb5f73D216c8af980_0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

[ { "trade_id":“0xf9ef286bfdc5167edd18cef5139024bc5cbaa004298ccf8316c65fafdd43032c-0”, "price":"0.00008755749306534042", "base_volume":"42257.948126025581834956", "target_volume":"3.7", "trade_timestamp":"1658262406", "type":"buy" }, { "trade_id":“0xf9ef286bfdc5167edd18cef5139024bc5cbaa004298ccf8316c65fafdd43032c-0”, "price":"0.00008755749306534042", "base_volume":"42257.948126025581834956", "target_volume":"3.7", "trade_timestamp":"1658262406" "type":"sell" } ]

/historical_trades response descriptions:

Last updated