﻿# help.getNearestDc

Returns info on data center nearest to the user.

```tl
nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;
---functions---
help.getNearestDc#1fb33026 = NearestDc;
```

### Parameters

This constructor does not require any parameters.

### Result
[NearestDc](/type/NearestDc.md)

### Only users can use this method

### This method can be invoked over an [unauthenticated connection &raquo;](/api/auth.