Skip to main content
cURL
curl --request GET \
  --url https://test.deribit.com/api/v2/public/test \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 8212,
  "method": "public/test",
  "params": {}
}
'
{
  "jsonrpc": "2.0",
  "id": 8212,
  "result": {
    "version": "1.2.26"
  }
}

Query Parameters

expected_result
enum<string>

The value "exception" will trigger an error response. This may be useful for testing wrapper libraries.

Available options:
exception

Response

200 - application/json

Success response

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
object
required
id
integer

The id that was sent in the request