Supporting
Public

Tests the connection to the API server, and returns its version. You can use this to make sure the API is reachable, and matches the expected version.

With expected_result set to exception the server returns error 11094 (internal_server_error) instead of the version, for example:

{"jsonrpc": "2.0", "id": 8213, "error": {"message": "internal_server_error", "code": 11094}}

Try in API console

get/public/test

Request

  • Base URL
    https://test.deribit.com/api/v2
  • URL
    https://test.deribit.com/api/v2/public/test
  • Auth
    none declared

Query parameters

expected_result'exception'

The value "exception" will trigger an error response with code 11094 (internal_server_error). This may be useful for testing wrapper libraries.

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": {
    "version": "2.1.26"
  }
}

Changes

No recorded changes to this operation across all 11 revisions of this API.