---
title: "public/get_time"
method: POST
path: "/public/get_time"
tags: ["System"]
---

# public/get_time

`POST /public/get_time`

## Request

- Base URL: `https://api.derive.xyz/v3`
- URL: `https://api.derive.xyz/v3/public/get_time`
- Auth: none declared

Returns the current server time in milliseconds since the UNIX epoch. Takes no parameters and requires no authentication. Use it to align the timestamps and nonces bound into signed actions with the server clock.

## Request body

- EmptyRequest: This method takes no parameters; send an empty object `{}`. Braced rather than a unit struct so schemars emits `{"type": "object"}`: a unit struct emits `null`, which contradicts the line above and forced every generated client to cast around the params type.

## Response `200`

Success

- integer

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-10-20** `0c500202be49`: 1 info
  - added the media type `application/json` for the response with the status `default`

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/public/get_time/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
