Market Candles
curl --request GET \
--url https://futures.kraken.com/api/charts/v1/{tick_type}/{symbol}/{resolution}import requests
url = "https://futures.kraken.com/api/charts/v1/{tick_type}/{symbol}/{resolution}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://futures.kraken.com/api/charts/v1/{tick_type}/{symbol}/{resolution}', 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/{tick_type}/{symbol}/{resolution}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"candles": [
{
"time": 1620816960000,
"high": "56475.00000000000",
"low": "55935.00000000000",
"open": "56294.00000000000",
"close": "56250.00000000000",
"volume": 10824
}
],
"more_candles": true
}Candles
Market Candles
Candles for specified tick type, market, and resolution.
List of available tick types can be fetched from the tick types endpoint. List of available markets can be fetched from the markets endpoint. List of available resolutions can be fetched from the resolutions endpoint.
GET
/
{tick_type}
/
{symbol}
/
{resolution}
Market Candles
curl --request GET \
--url https://futures.kraken.com/api/charts/v1/{tick_type}/{symbol}/{resolution}import requests
url = "https://futures.kraken.com/api/charts/v1/{tick_type}/{symbol}/{resolution}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://futures.kraken.com/api/charts/v1/{tick_type}/{symbol}/{resolution}', 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/{tick_type}/{symbol}/{resolution}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"candles": [
{
"time": 1620816960000,
"high": "56475.00000000000",
"low": "55935.00000000000",
"open": "56294.00000000000",
"close": "56250.00000000000",
"volume": 10824
}
],
"more_candles": true
}Path Parameters
Available options:
spot, mark, trade Market symbol
Available options:
1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w Query Parameters
From date in epoch seconds
To date in epoch seconds
Number of candles to return.
Required range:
x >= 0Was this page helpful?