> For the complete documentation index, see [llms.txt](https://ajaib.gitbook.io/ajaib-exchange-open-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajaib.gitbook.io/ajaib-exchange-open-api/api-references/editor/server-time.md).

# Server Time

## Retrieve server time

<mark style="color:green;">`GET`</mark> `/v1/time`

**Functionality:** Retrieve the server's timestamp. Format is unix timestamp milliseconds with timezone UTC. In addition, this endpoint can also be used to help test server-client connectivity.&#x20;

**Authentication:** Required

#### URL Parameters

<table><thead><tr><th width="135.2109375">Name</th><th width="107">Type</th><th width="114.12890625" data-type="checkbox">Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>timestamp</td><td>long</td><td>true</td><td>Timestamp when client sending request.</td></tr><tr><td>recvWindow</td><td>long</td><td>false</td><td>Number of milliseconds after timestamp the request is valid for. Refer to <a href="https://ajaib.gitbook.io/ajaib-exchange-open-api/getting-started/timing-security">this</a>.</td></tr></tbody></table>

**Response Body**

<table><thead><tr><th width="145">Name</th><th width="97">Type</th><th>Description</th></tr></thead><tbody><tr><td>serverTime</td><td>long</td><td>Server time's in unix epoch</td></tr></tbody></table>

{% tabs %}
{% tab title="200 OK" %}

```javascript
{
   "serverTime": 1736765765623
}
```

{% endtab %}
{% endtabs %}
