Market Data
Last updated
Last updated
Description
Returns hash of minimum levels and the privileges they provide.
Responses
Description
Get ticker of specific market.
Parameters
Responses
Description
Get ticker of all markets (For response doc see /:market/tickers/ response).
Responses
Description
Get OHLC(k line) of specific market.
Parameters
Responses
Description
Get depth of specified market. Both asks and bids are sorted from highest price to lowest.
Parameters
Responses
Description
Get recent trades on market, each trade is included only once. Trades are sorted in reverse creation order.
Parameters
Responses
Description
Get the order book of specified market.
Parameters
Responses
Description
Get all available markets.
Parameters
Responses
Description
Get list of currencies
Parameters
Responses
Description
Get a currency
Parameters
Responses
Code
Description
200
Returns hash of minimum levels and the privileges they provide.
Name
Located in
Description
Required
Schema
market
path
Yes
string
Code
Description
Schema
200
Get ticker of specific market.
Ticker
Code
Description
Schema
200
Get ticker of all markets (For response doc see /:market/tickers/ response).
Ticker
Name
Located in
Description
Required
Schema
market
path
Yes
string
period
query
Time period of K line, default to 1. You can choose between 1, 5, 15, 30, 60, 120, 240, 360, 720, 1440, 4320, 10080
No
integer
time_from
query
An integer represents the seconds elapsed since Unix epoch. If set, only k-line data after that time will be returned.
No
integer
time_to
query
An integer represents the seconds elapsed since Unix epoch. If set, only k-line data till that time will be returned.
No
integer
limit
query
Limit the number of returned data points default to 30. Ignored if time_from and time_to are given.
No
integer
Code
Description
200
Get OHLC(k line) of specific market.
Name
Located in
Description
Required
Schema
market
path
Yes
string
limit
query
Limit the number of returned price levels. Default to 300.
No
integer
Code
Description
200
Get depth or specified market. Both asks and bids are sorted from highest price to lowest.
Name
Located in
Description
Required
Schema
market
path
Yes
string
limit
query
Limit the number of returned trades. Default to 100.
No
integer
timestamp
query
An integer represents the seconds elapsed since Unix epoch.If set, only trades executed before the time will be returned.
No
integer
order_by
query
If set, returned trades will be sorted in specific order, default to 'desc'.
No
string
Code
Description
Schema
200
Get recent trades on market, each trade is included only once. Trades are sorted in reverse creation order.
[ Trade ]
Name
Located in
Description
Required
Schema
market
path
Yes
string
asks_limit
query
Limit the number of returned sell orders. Default to 20.
No
integer
bids_limit
query
Limit the number of returned buy orders. Default to 20.
No
integer
Code
Description
Schema
200
Get the order book of specified market.
[ OrderBook ]
Name
Located in
Description
Required
Schema
limit
query
Limit the number of returned paginations. Defaults to 100.
No
integer
page
query
Specify the page of paginated results.
No
integer
ordering
query
If set, returned values will be sorted in specific order, defaults to 'asc'.
No
string
order_by
query
Name of the field, which result will be ordered by.
No
string
base_unit
query
Strict filter for base unit
No
string
quote_unit
query
Strict filter for quote unit
No
string
search
query
No
json
search[base_code]
query
Search base currency code using LIKE
No
string
search[quote_code]
query
Search qoute currency code using LIKE
No
string
search[base_name]
query
Search base currency name using LIKE
No
string
search[quote_name]
query
Search quote currency name using LIKE
No
string
Code
Description
Schema
200
Get all available markets.
[ Market ]
Name
Located in
Description
Required
Schema
limit
query
Limit the number of returned paginations. Defaults to 100.
No
integer
page
query
Specify the page of paginated results.
No
integer
type
query
Currency type
No
string
search
query
No
json
search[code]
query
Search by currency code using SQL LIKE
No
string
search[name]
query
Search by currency name using SQL LIKE
No
string
Code
Description
Schema
200
Get list of currencies
[ Currency ]
Name
Located in
Description
Required
Schema
id
path
Currency code.
Yes
string
Code
Description
Schema
200
Get a currency
Currency