Get public mark price events
curl --request GET \
--url https://futures.kraken.com/api/history/v3/market/{tradeable}/priceimport requests
url = "https://futures.kraken.com/api/history/v3/market/{tradeable}/price"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://futures.kraken.com/api/history/v3/market/{tradeable}/price', 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/history/v3/market/{tradeable}/price"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"len": 123,
"elements": [
{
"uid": "<string>",
"timestamp": 1604937694000,
"event": {
"price": "1234.56789"
}
}
],
"continuationToken": "aSDinaTvuI8gbWludGxpZnk="
}Market History
Get public mark price events
Lists price events for a market.
GET
/
market
/
{tradeable}
/
price
Get public mark price events
curl --request GET \
--url https://futures.kraken.com/api/history/v3/market/{tradeable}/priceimport requests
url = "https://futures.kraken.com/api/history/v3/market/{tradeable}/price"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://futures.kraken.com/api/history/v3/market/{tradeable}/price', 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/history/v3/market/{tradeable}/price"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"len": 123,
"elements": [
{
"uid": "<string>",
"timestamp": 1604937694000,
"event": {
"price": "1234.56789"
}
}
],
"continuationToken": "aSDinaTvuI8gbWludGxpZnk="
}Path Parameters
Query Parameters
Timestamp in milliseconds.
Example:
1604937694000
Timestamp in milliseconds.
Example:
1604937694000
Determines the order of events in response(s).
asc= chronologicaldesc= reverse-chronological
Available options:
asc, desc Opaque token from the Next-Continuation-Token header used to continue listing events. The
sort parameter must be the same as in the previous request to continue listing in the same
direction.
The maximum number of results to return. Larger values are not rejected, they are silently
capped at 1000; when more events match, the Next-Continuation-Token header is returned to
continue the listing.
Required range:
x >= 1Was this page helpful?