# List watched accounts

Returns watched accounts. Works with Instagram and YouTube accounts.

```http
GET https://api.pozy.ai/v1/watchlist/accounts
```

- Area: Analytics / Watchlist
- Auth: Authorization: Bearer pz_live_...

## Query parameters

- `list` (string)
- `platform` (string): one of instagram, youtube

## Example request

```bash
curl -X GET "https://api.pozy.ai/v1/watchlist/accounts" \
  -H "Authorization: Bearer $POZY_API_KEY"
```

```ts
const res = await fetch("https://api.pozy.ai/v1/watchlist/accounts", {
  headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.get(
    "https://api.pozy.ai/v1/watchlist/accounts",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `accounts`, array of object
  - `id`, string, required
  - `platform`, string, required: One of `instagram`, `youtube`
  - `handle`, string, required
  - `displayName`, string: Can be null
  - `avatarUrl`, string: Can be null
  - `profileUrl`, string
  - `followers`, integer: Can be null
  - `following`, integer: Can be null
  - `mediaCount`, integer: Can be null
  - `status`, string, required: One of `pending`, `ok`, `not_found`, `needs_lookup_account`, `not_configured`, `error`
  - `lastError`, string: Can be null
  - `list`, object: Can be null
    - `id`, string
    - `name`, string
  - `lastSnapshotAt`, string (date-time): Can be null
  - `createdAt`, string (date-time)
- `usage`, object
  - `used`, integer
  - `limit`, integer
- `platforms`, object

```json
{
  "accounts": [
    {
      "id": "6bfebd43ddc270f6d2c56fc5",
      "platform": "instagram",
      "handle": "acme",
      "displayName": "Acme",
      "avatarUrl": "https://pozy.ai/media/example-1.jpg",
      "profileUrl": "https://pozy.ai/media/example-1.jpg",
      "followers": 1,
      "following": 1,
      "mediaCount": 42,
      "status": "pending",
      "lastError": "string",
      "list": {
        "id": "6bfebd43ddc270f6d2c56fc5",
        "name": "Acme"
      },
      "lastSnapshotAt": "2026-10-02T09:00:00.000Z",
      "createdAt": "2026-10-02T09:00:00.000Z"
    }
  ],
  "usage": {
    "used": 1,
    "limit": 1
  },
  "platforms": {}
}
```
