Product Data
Get public data on products. The word "product" and "pair" are used interchangeably here.
Last updated
Get public data on products. The word "product" and "pair" are used interchangeably here.
Last updated
GET
https://api.liquid.com/products
Get all pairs for Spot, Margin, Infinity, does not include Perpetuals.
Name | Type | Description |
---|---|---|
GET
https://api.liquid.com/products?perpetual=1
GET
https://api.liquid.com/products/{product_id}/funding_rate_history?limit={limit}
Get every second's funding rate, available only for Perpetual pairs with IDs 603 (P-BTCJPY) and 604 (P-BTCUSD).
GET
https://api.liquid.com/products/{product_id}/price_levels?full=1
Get the bids and asks.
GET
https://api.liquid.com/executions?product_id={product_id}&limit={limit}&page={page}
Get historical orders that were executed a.k.a. trade feed.
GET
https://api.liquid.com/products/{product_id}/ohlc?resolution={resolution}
Get candle sticks data, ohlc
stands for open, high, low, close.
GET
https://api.liquid.com/products/{product_id}/perpetual_index_chart?resolution={resolution}
Index price is derived from 5 exchanges and price is the average of 3 out of 5.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Product ID
String
perpetual
string
Get all perpetual pairs with perpetual=1
.
product_id
string
603
for P-BTCJPY or 604
for P-BTCUSD
timestamp_gte
string
1598500000
to get results greater than and equal to this timestamp
timestamp_lte
string
1598500000
to get results lower than and equal to this timestamp
limit
string
20
to return 20 results.
product_id
string
Product ID 1
for BTCUSD.
full
string
Specify ?full=1
to get the full order book.
product_id
string
Specify ?product_id=1
for BTCUSD.
timestamp
string
Request for result starting from timestamp=160000000
limit
string
10 results to return when limit=10
page
string
Use together with limit, a limit of 10 and page=2
will return results from 11th - 20th.
product_id
string
Product ID 1
for BTCUSD.
resolution
string
Specify resolution=60
to get minute candles, resolution=3600
to get hourly candles, multiply 3600 by 24 to get daily candles.
product_id
string
For P-BTCJPY specify 603
and for P-BTCUSD specify 604
resolution
string
Specify resolution=60
to get minute to minute index price. To get hourly index price specify resolution=3600