---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/reference/PingAPI.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/reference/PingAPI.md
  - href: en/reference/PingAPI.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

# PingAPI
Checks API availability and whether the user was successfully authorized.
## Input data {#input}

The input data structure in JSON is shown below.

```javascript
{
   "method": "PingAPI"
}
```


## Output data {#output}

Returns 1 when the user is authorized successfully, as shown in the following example.

```javascript
{
   "data": 1
}
```

