βοΈRestful API
We build a restful API for any analysis platforms query data from our DEX
API URL: https://api.echodex.io/info/{path}
1. Get all pairs
The /pairs endpoint provides a summary on cryptoasset trading pairs available on the DEX.
Response:
ticker_id
string
Identifier of a ticker
base
string
Contract Address of a the base cryptoasset
target
string
Contract Address of the target cryptoasset
pool_id
string
Pair address of base and target
2. Get all tickers
The /tickers endpoint provides 24-hour pricing and volume information on each market pair available on the DEX.
Response:
ticker_id
string
Identifier of a ticker
base_currency
string
Contract Address of a the base cryptoasset
target_currency
string
Contract Address of the target cryptoasset
last_price
decimal
Last transacted price of base currency based on given target currency
base_volume
decimal
24 hour trading volume for the pair (unit in base)
target_volume
decimal
24 hour trading volume for the pair (unit in target)
pool_id
string
Pair address or base and target
liquidity_in_usd
decimal
Pool liquidity in USD
3. Get historical data by ticker_id
The /historical_trades is used to return data on historical completed trades for a given market pair.
Query Parameters:
ticker_id
string (required)
A ticker_id you want to query data
type
string
To indicate nature of trade - buy/sell
limit
interger
Number of historical trades to retrieve from time of query
start_time
date
Start time from which to query historical trades from
end_time
date
End time for historical trades query
Response:
trade_id
string
A unique ID associated with the trade for the currency pair transaction
price
decimal
Transaction price of base asset in target currency
base_volume
decimal
Transaction amount in base pair volume
target_volume
decimal
Transaction amount in target pair volume
trade_timestamp
timestamp
Unix timestamp in milliseconds for when the transaction occurred.
type
string
To indicate nature of trade - buy/sell
Last updated