Skip to main content
GET
Get OHLC (Open, High, Low, Close) Data for an Asset

Authorizations

x-api-key
string
header
required

Path Parameters

symbol
string
required

The GM token symbol

Query Parameters

interval
enum<string>
required

The time interval between data points.

Available options:
1min,
5min,
15min,
1hour,
4hour,
12hour,
1day
range
enum<string>
required

The lookback range for historical data. The look back range for historical data. (Note that '1day' will return a rolling 24-hour period of data and 'all' will return all historical data.)

Available options:
1day,
1month,
3month,
6month,
1year,
all

Response

OK

interval
enum<string>
required

The time interval between data points.

Available options:
1min,
5min,
15min,
1hour,
4hour,
12hour,
1day
range
enum<string>
required

The look back range for historical data. (Note that '1day' will return a rolling 24-hour period of data and 'all' will return all historical data.)

Available options:
1day,
1month,
3month,
6month,
1year,
all
primaryMarket
object
required
underlyingMarket
object
required