DEX and Pair OHLC
Returns market activity in candlestick OHLC format for a specific DEX and token pair
Path Parameters
dex string required
minswap
pair string required
ADA-MIN
Query Parameters
resolution string
Possible values: [1m
, 5m
, 15m
, 30m
, 1h
, 4h
, 1d
, 1w
, 1mo
]
1h
from string
2023-04-01
to string
2023-05-15
limit integer
Possible values: >= 1
and <= 50000
Default value: 5000
10000
sort string
Possible values: [asc
, desc
]
desc
Responses
- 200
- 400
- 500
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
coin_a_change_pct number
Coin A change percentage
coin_a_close number
Coin A close
coin_a_high number
Coin B high
coin_a_low number
Coin A low
coin_a_open number
Coin A open
coin_a_volume number
Coin A volume
coin_b_change_pct number
Coin B change percentage
coin_b_close number
Coin B close
coin_b_high number
Coin A high
coin_b_low number
Coin B low
coin_b_open number
Coin B open
coin_b_volume number
Coin B volume
count integer
Candlestick size
timestamp string
Candlestick timestamp
[
{
"coin_a_change_pct": 0,
"coin_a_close": 0,
"coin_a_high": 0,
"coin_a_low": 0,
"coin_a_open": 0,
"coin_a_volume": 0,
"coin_b_change_pct": 0,
"coin_b_close": 0,
"coin_b_high": 0,
"coin_b_low": 0,
"coin_b_open": 0,
"coin_b_volume": 0,
"count": 0,
"timestamp": "string"
}
]
Bad Request
application/json
Schema
Example (from schema)
Schema
error string
Error returned from the API request
{
"error": "Bad Request"
}
Server Error
application/json
Schema
Example (from schema)
Schema
error string
Error returned from the API request
{
"error": "Bad Request"
}
Loading...