POST
/
788f110831fe13808302bd79796d55e8
curl --request POST \
  --url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "1.0",
  "method": "uptime",
  "params": "<any>",
  "id": 1
}'
{
  "result": 123,
  "error": {},
  "id": 123
}

The uptime method returns the total uptime of the server in seconds, providing a simple way to monitor how long the server has been running without interruption.

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • None

Response

  • result — an integer representing the server’s uptime in seconds.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request.

Use case

The uptime method is useful for monitoring and management purposes, allowing administrators and users to determine how long the server has been operational. This can be particularly useful for assessing system stability and performance over time.

Body

application/json
jsonrpc
string
default:1.0
method
string
default:uptime
params
any
id
integer
default:1

Response

200 - application/json
The total uptime of the server in seconds
result
integer

The uptime of the server in seconds

error
object
id
integer