Skip to main content
GET
/
public
/
Time
Get Server Time
curl --request GET \
  --url https://api.kraken.com/0/public/Time
import requests

url = "https://api.kraken.com/0/public/Time"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.kraken.com/0/public/Time', 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://api.kraken.com/0/public/Time"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
{
  "error": [],
  "result": {
    "unixtime": 1688669448,
    "rfc1123": "Thu, 06 Jul 23 18:50:48 +0000"
  }
}

Response

200 - application/json

Success response

Success response

result
ServerTime · object
error
string[]

Kraken API error