GET
/
dexs
/
ohlc
/
{dex}
/
{pair}
DEX and Pair OHLC
curl --request GET \
  --url https://mainnet.gomaestro-api.org/v1/markets/dexs/ohlc/{dex}/{pair} \
  --header 'api-key: <api-key>'
[
  {
    "coin_a_change_pct": 123,
    "coin_a_close": 123,
    "coin_a_high": 123,
    "coin_a_low": 123,
    "coin_a_open": 123,
    "coin_a_volume": 123,
    "coin_b_change_pct": 123,
    "coin_b_close": 123,
    "coin_b_high": 123,
    "coin_b_low": 123,
    "coin_b_open": 123,
    "coin_b_volume": 123,
    "count": 123,
    "timestamp": "<string>"
  }
]

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

dex
string
required

minswap

pair
string
required

ADA-MIN

Query Parameters

resolution
enum<string>

1h

Available options:
1m,
5m,
15m,
30m,
1h,
4h,
1d,
1w,
1mo
from
string

2023-04-01

to
string

2023-05-15

limit
integer
default:5000

10000

Required range: 1 <= x <= 50000
sort
enum<string>

desc

Available options:
asc,
desc
carry
boolean

false

Response

200
application/json

OK

The response is of type object[].