REST API
The base URL for endpoints described in this page of live trading API is https://api.cube.exchange/md/v0.
Definitions for requests and responses can be found in the Market Data OpenAPI Document.
Further specifics for field enums, reject codes, etc. can be found in the Market Data API Websocket Documentation.
Endpoints, public
Endpoints in this section do not require authentication.
get
Path parameters
market_idinteger · uint64Required
Query parameters
mbpbooleanOptionalDefault:
falsembobooleanOptionalDefault:
falselevelsinteger · uint | nullableOptionalDefault:
nullResponses
200Success
application/json
500
An error was encountered while processing the request.
application/json
get
/book/{market_id}/snapshotget
Path parameters
market_idinteger · uint64Required
Responses
200Success
application/json
500
An error was encountered while processing the request.
application/json
get
/book/{market_id}/recent-tradesget
Responses
200Success
application/json
500
An error was encountered while processing the request.
application/json
get
/tickers/snapshotget
Responses
200Success
application/json
500
An error was encountered while processing the request.
application/json
get
/parsed/tickersget
Path parameters
market_symbolstringRequired
Query parameters
depthinteger · uint | nullableOptional
Responses
200Success
application/json
500
An error was encountered while processing the request.
application/json
get
/parsed/book/{market_symbol}/snapshotget
Path parameters
market_symbolstringRequired
Responses
200Success
application/json
500
An error was encountered while processing the request.
application/json
get
/parsed/book/{market_symbol}/recent-tradesLast updated