# Statistics

Retrieve SSI, performance analytics, and API usage statistics.

## stats ssi

Retrieve your LinkedIn Social Selling Index.

```bash
linkedin stats ssi [flags]
```

```bash
linkedin stats ssi --json
```

## stats performance

Retrieve your LinkedIn performance analytics (profile views, post impressions, search appearances).

```bash
linkedin stats performance [flags]
```

```bash
linkedin stats performance --json
```

## stats viewers

Retrieve the people who recently viewed your profile.

```bash
linkedin stats viewers [flags]
```

| Flag | Type | Required | Description |
| --- | --- | --- | --- |
| `--limit` | number | no | Max viewers to retrieve, from 1 to 300. Defaults to 20 |
| `--since` | string | no | Only viewers seen at or after this ISO timestamp |

```bash
linkedin stats viewers --limit 50 --json
linkedin stats viewers --since 2026-08-01T00:00:00Z --json
```

Each viewer is either `identified` – carrying `name`, `publicUrl` and `urn` – or `anonymous`,
carrying only the description LinkedIn showed and a `searchUrl` holding the criteria it disclosed.
`urn` is not always available, and `viewedAt` is an estimate derived from the relative age LinkedIn
displays.

## stats usage

Retrieve Linked API usage statistics for a date range.

```bash
linkedin stats usage --start <timestamp> --end <timestamp> [flags]
```

| Flag | Type | Required | Description |
| --- | --- | --- | --- |
| `--start` | string | yes | Start date in ISO timestamp |
| `--end` | string | yes | End date in ISO timestamp |

```bash
linkedin stats usage --start 2024-01-01T00:00:00Z --end 2024-01-31T00:00:00Z --json
```
