cURL
curl --request POST \
--url https://test.deribit.com/api/v2/public/get_time \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 7365,
"method": "public/get_time",
"params": {}
}'{
"jsonrpc": "2.0",
"id": 7365,
"result": 1550147385946
}
Supporting
public/get_time
Retrieves the current time (in milliseconds). This API endpoint can be used to check the clock skew between your software and Deribit’s systems.
cURL
curl --request POST \
--url https://test.deribit.com/api/v2/public/get_time \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 7365,
"method": "public/get_time",
"params": {}
}'{
"jsonrpc": "2.0",
"id": 7365,
"result": 1550147385946
}
Was this page helpful?