UfoDex Public API, version 1
This section describes public UfoDex HTTP API, version 1.
This section describes public UfoDex HTTP API, version 1.
https://ufodex.io/dexsrv/mainnet/api/v1/gettickers
Get list of available tickers.
https://ufodex.io/dexsrv/mainnet/api/v1/getticker/<cur1>/<cur2>
Get information about the pair. OHLC data is provided for the last active 24h candle.
Call examples:
Response:
Field name | Description |
---|---|
GenTime | Last update time |
Label | Ticker pair label |
Ask | Ask price |
Bid | Bid price |
Open | Last Open price |
High | Last High price |
Low | Last Low price |
Close | Last Close price |
Volume | Volume in trading currency for the last 24 hours (cur1 volume) |
BaseVolume | Volume in base currency for the last 24 hours (cur2 volume) |
https://ufodex.io/dexsrv/mainnet/api/v1/coins/list
Get list of supported coins with coin-specific parameters.
https://ufodex.io/dexsrv/mainnet/api/v1/history/ohlc/<cur1>/<cur2>/<format>
Get historical OHLC data for the specified ticker pair.
Avaiable formats:
Call examples:
Response example for Highstock data:
[
[1552900500000.0000000000,0.0000050000,0.0000050000,0.0000050000,0.0000050000,1000.0000000000]
]
Response:
Field index | Description |
---|---|
0 | Candle timestamp |
1 | Open price |
2 | High price |
3 | Low price |
4 | Close price |
5 | Volume (cur1) |
https://ufodex.io/dexsrv/mainnet/api/v1/orderbook/get/<cur1>/<cur2>
Get available orders from orderbook for the specified ticker pair.
Call examples:
Response cointans the array of orders.
Copyright (c) 2018 - 2019 Ufobject Core Team; all rights reserved.
Template by Bootstrapious. Ported to Hugo by DevCows