Market Data
Description
Returns hash of minimum levels and the privileges they provide.
GET https://trade.nebulaecn.com/api/v2/backend/public/member-levels
Responses
Code | Description |
200 | Returns hash of minimum levels and the privileges they provide. |
Description
Get ticker of specific market.
GET https://trade.nebulaecn.com/api/v2/backend/public/markets/{market}/tickers
Parameters
Name | Located in | Description | Required | Schema |
market | path | | Yes | string |
Responses
Code | Description | Schema |
200 | Get ticker of specific market. | Ticker |
Description
Get ticker of all markets (For response doc see /:market/tickers/ response).
GET https://trade.nebulaecn.com/api/v2/backend/public/markets/tickers
Responses
Code | Description | Schema |
200 | Get ticker of all markets (For response doc see /:market/tickers/ response). | Ticker |
Description
Get OHLC(k line) of specific market.
GET https://trade.nebulaecn.com/api/v2/backend/public/markets/{market}/k-line
Parameters
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 |
Responses
Code | Description |
200 | Get OHLC(k line) of specific market. |
Description
Get depth of specified market. Both asks and bids are sorted from highest price to lowest.
GET https://trade.nebulaecn.com/api/v2/backend/public/markets/{market}/depth
Parameters
Name | Located in | Description | Required | Schema |
market | path | | Yes | string |
limit | query | Limit the number of returned price levels. Default to 300. | No | integer |
Responses
Code | Description |
200 | Get depth or specified market. Both asks and bids are sorted from highest price to lowest. |
Description
Get recent trades on market, each trade is included only once. Trades are sorted in reverse creation order.
GET https://trade.nebulaecn.com/api/v2/backend/public/markets/{market}/trades
Parameters
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 |
Responses
Code | Description | Schema |
200 | Get recent trades on market, each trade is included only once. Trades are sorted in reverse creation order. | [ Trade ] |
Description
Get the order book of specified market.
GET https://trade.nebulaecn.com/api/v2/backend/public/markets/{market}/order-book
Parameters
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 |
Responses
Code | Description | Schema |
200 | Get the order book of specified market. | [ OrderBook ] |
Description
Get all available markets.
GET https://trade.nebulaecn.com/api/v2/backend/public/markets
Parameters
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 |
Responses
Code | Description | Schema |
200 | Get all available markets. | [ Market ] |
Description
Get list of currencies
GET https://trade.nebulaecn.com/api/v2/backend/public/currencies
Parameters
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 |
Responses
Code | Description | Schema |
200 | Get list of currencies | [ Currency ] |
Description
Get a currency
GET https://trade.nebulaecn.com/api/v2/backend/public/currencies/{id}
Parameters
Name | Located in | Description | Required | Schema |
id | path | Currency code. | Yes | string |
Responses
Code | Description | Schema |
200 | Get a currency | Currency |
Last modified 2yr ago