# ping [[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Ping.cpp) The `ping` command returns an acknowledgement, so that clients can test the connection status and latency. ## Request Format An example of the request format: WebSocket ```json { "id": 1, "command": "ping" } ``` JSON-RPC ```json { "method": "ping", "params": [ {} ] } ``` Commandline ```sh #Syntax: ping rippled ping ``` The request includes no parameters. ## Response Format An example of a successful response: WebSocket ```json { "id": 1, "result": {}, "status": "success", "type": "response" } ``` JSON-RPC ```json 200 OK { "result": { "status": "success" } } ``` The response follows the [standard format](/docs/references/http-websocket-apis/api-conventions/response-formatting), with a successful result containing no fields. The client can measure the round-trip time from request to response as latency. ## Possible Errors * Any of the [universal error types](/docs/references/http-websocket-apis/api-conventions/error-formatting#universal-errors).