Skip to main content

Protocol

Changelly API uses JSON-RPC 2.0 protocol.

Sample Request

{
"jsonrpc": "2.0",
"id": "test",
"method": "getStatus",
"params": {
"id": "psj42e728a572mtkz"
}
}

Sample Response:

{
"jsonrpc": "2.0",
"id": "test",
"result": "waiting"
}

id used is a custom ID generated at the client side to distinguish responses. You may use any value you want.