---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/reference/GetClientsUnits.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/reference/GetClientsUnits.md
  - href: en/reference/GetClientsUnits.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/dg-v4/en/llms.txt

# GetClientsUnits
Returns the number of points the user has.## Related information

- [Point limitations](https://yandex.com/dev/direct/doc/dg-v4/en/concepts/Restrictions.md#Units)


## Input data {#input}

The input data structure in JSON is shown below.

```javascript
{
   "method": "GetClientsUnits",
   "param": [
      (string)
      ...
   ]
}
```

The `param` parameter contains an array of usernames.


## Output data {#output}

The output data structure in JSON is shown below.

```javascript
{
   "data": [
      {  /* ClientsUnitInfo */
         "Login": (string),
         "UnitsRest": (int)
      }
      ...
   ]
}
```

Parameters are described below.


#|
||
**<sup >Parameter</sup>**
|
**<sup >Description</sup>**
||

||
**<sub >ClientsUnitInfo object</sub>**
||
||
`Login`
|
Username.
||
||
`UnitsRest`
|
Number of points available.

For a delegate, it shows the number of points available to the represented user (a direct advertiser or advertising agency).
||
|#


## Examples of input data {#example}

## Python

```python
['agrom','larry']
```

## PHP

```php
array('agrom','larry')
```

## Perl

```perl
['agrom','larry']
```

