Skip to main content
GET
/
api
/
v1
/
coinbase
/
products
/
{id}
/
candles
Get candlesticks
curl --request GET \
  --url http://gateway.graylayer.tech/api/v1/coinbase/products/{id}/candles \
  --header 'X-API-Key: <api-key>'
[
  [
    123
  ]
]

Authorizations

X-API-Key
string
header
required

API key. Request one in #api-key-request on the Graylayer Discord.

Path Parameters

id
string
required

Query Parameters

granularity
enum<integer>
required

Candle duration in seconds

Available options:
60,
300,
900,
3600,
21600,
86400
start
string

ISO 8601 start time

end
string

ISO 8601 end time

Response

Candlestick data [[time, low, high, open, close, volume]]