Liquidity
Get liquidity returns the total liquidity for a crypto pair on an exchange.
Get Liquidity
GEThttps://api.adesic.com/v2/analytics/liquidity/{exchange}/{market}
Returns an object containing the total liquidity for a crypto pair on an exchange.
Path Parameters
| Name | Type | Description |
|---|---|---|
| exchange* | string | Unique exchange identifier used by Adesic. |
| market* | string | Unique Crypto Pair identifier used by the exchange. |
Query Parameters
| Name | Type | Description |
|---|---|---|
| apiKey* | string | Your Adesic API Key |
200: OK Success
response.json
{
"exchange": "coinbasepro",
"market": "BTC-USD",
"nonce": 5640375978,
"liquidity": 37224813.18828725
}Copy & Paste Code
cURL
curl
curl -H "api-key: API KEY" https://api.adesic.com/v2/analytics/liquidity/coinbasepro/btc-usdResponse Object
Example URL: https://api.adesic.com/v2/analytics/liquidity/coinbasepro/btc-usd
response.json
{
"exchange": "coinbasepro",
"market": "BTC-USD",
"nonce": 5640375978,
"liquidity": 37224813.18828725
}Response Attributes
| Attribute Name | Data Type | Description |
|---|---|---|
| exchange | string | The exchange id. |
| market | string | The crypto pair. |
| nonce | integer | The serial unique identifier of the order book on the exchange. |
| liquidity | float | The total liquidity for a crypto market pair. |