# Login History

## Login History

<mark style="color:blue;">`GET`</mark> `https://api.vaultoro.com/v1/private/history/logins`

#### Query Parameters

| Name          | Type    | Description                                                        |
| ------------- | ------- | ------------------------------------------------------------------ |
| until         | number  | Timestamp for the end date of the results                          |
| limit         | number  | Number of results per page                                         |
| page          | number  | The number of requested page.                                      |
| sortDirection | integer | The direction to sort by createdAt field. It can be either 1 or -1 |
| since         | number  | Timestamp for the beginning date of the results                    |

#### Headers

| Name   | Type   | Description   |
| ------ | ------ | ------------- |
| VTOKEN | string | The API token |

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

```
{
    "data": {
        "results": [
            {
                "ts": 1618570442,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-16T10:54:02.000Z"
            },
            {
                "ts": 1618781118,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-18T21:25:18.000Z"
            },
            {
                "ts": 1618781546,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-18T21:32:26.000Z"
            },
            {
                "ts": 1618842209,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-19T14:23:29.000Z"
            },
            {
                "ts": 1618844021,
                "ip": "::ffff:127.0.0.1",
                "createdAt": "2021-04-19T14:53:41.000Z"
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}
