Get liquidity pool statistic
curl --request GET \
--url https://futures.kraken.com/api/charts/v1/analytics/liquidity-poolimport requests
url = "https://futures.kraken.com/api/charts/v1/analytics/liquidity-pool"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://futures.kraken.com/api/charts/v1/analytics/liquidity-pool', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://futures.kraken.com/api/charts/v1/analytics/liquidity-pool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"result": {
"timestamp": [
123
],
"more": true,
"data": [
123
]
},
"errors": [
{
"severity": "<string>",
"error_class": "<string>",
"type": "<string>",
"msg": "<string>",
"value": "<string>",
"field": "<string>"
}
]
}{
"result": {
"timestamp": [
123
],
"more": true,
"data": [
123
]
},
"errors": [
{
"severity": "<string>",
"error_class": "<string>",
"type": "<string>",
"msg": "<string>",
"value": "<string>",
"field": "<string>"
}
]
}{
"result": {
"timestamp": [
123
],
"more": true,
"data": [
123
]
},
"errors": [
{
"severity": "<string>",
"error_class": "<string>",
"type": "<string>",
"msg": "<string>",
"value": "<string>",
"field": "<string>"
}
]
}Analytics
Get liquidity pool statistic
Get liquidity pool statistic including usd value
GET
/
analytics
/
liquidity-pool
Get liquidity pool statistic
curl --request GET \
--url https://futures.kraken.com/api/charts/v1/analytics/liquidity-poolimport requests
url = "https://futures.kraken.com/api/charts/v1/analytics/liquidity-pool"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://futures.kraken.com/api/charts/v1/analytics/liquidity-pool', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://futures.kraken.com/api/charts/v1/analytics/liquidity-pool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"result": {
"timestamp": [
123
],
"more": true,
"data": [
123
]
},
"errors": [
{
"severity": "<string>",
"error_class": "<string>",
"type": "<string>",
"msg": "<string>",
"value": "<string>",
"field": "<string>"
}
]
}{
"result": {
"timestamp": [
123
],
"more": true,
"data": [
123
]
},
"errors": [
{
"severity": "<string>",
"error_class": "<string>",
"type": "<string>",
"msg": "<string>",
"value": "<string>",
"field": "<string>"
}
]
}{
"result": {
"timestamp": [
123
],
"more": true,
"data": [
123
]
},
"errors": [
{
"severity": "<string>",
"error_class": "<string>",
"type": "<string>",
"msg": "<string>",
"value": "<string>",
"field": "<string>"
}
]
}Query Parameters
epoch time in seconds
Example:
1676556478
Available options:
60, 300, 900, 1800, 3600, 14400, 43200, 86400, 604800 epoch time in seconds, default now
Example:
1676556478
Was this page helpful?
⌘I