Skip to main content

Join the Graylayer Discord

Request an API key in #api-key-request under the Community tab.
Platform key: coinbase · Upstream: https://api.exchange.coinbase.com All listed endpoints are public—no platform credentials needed. US-friendly.
curl -H "X-API-Key: your_key" \
  http://gateway.graylayer.tech/api/v1/coinbase/products

Products

MethodPathDescription
GET/productsList all products
GET/products/{id}Get product details
GET/products/{id}/tickerCurrent ticker
GET/products/{id}/bookOrder book
GET/products/{id}/tradesRecent trades
GET/products/{id}/candlesOHLCV candlesticks

Candle parameters

ParameterTypeDescription
startstringISO 8601 start time
endstringISO 8601 end time
granularityintegerSeconds per candle: 60, 300, 900, 3600, 21600, 86400
curl -H "X-API-Key: your_key" \
  http://gateway.graylayer.tech/api/v1/coinbase/products

Reference data

MethodPathDescription
GET/currenciesList all supported currencies
GET/timeServer time
curl -H "X-API-Key: your_key" \
  http://gateway.graylayer.tech/api/v1/coinbase/currencies

WebSocket

Real-time Coinbase market data via WebSocket proxy. See Coinbase WebSockets.