---
title: "List accounts"
description: "Accounts with followers, median views, engagement, outliers and posting rate; sorted and paged. Needs the `videos:read` permission."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.mosio.me/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Mosio REST API › Discover

`GET /v1/discover/accounts`

Accounts with followers, median views, engagement, outliers and posting rate; sorted and paged. Needs the `videos:read` permission.

## Authentication

- `apiKey`, apiKey, in header, header `x-api-key`

## Query parameters

- `q` (`listDiscoverAccounts.query.q`; string, optional) — Words in the handle or name
  - maxLength 100
- `platform` (`listDiscoverAccounts.query.platform`; string, optional)
  - one of `"tiktok"`, `"instagram"`, `"youtube"`, `"facebook"`
- `tracked` (`listDiscoverAccounts.query.tracked`; boolean, optional) — Only accounts the user follows in Discover
- `sort` (`listDiscoverAccounts.query.sort`; string, optional)
  - one of `"median_views"`, `"followers"`, `"engagement"`, `"outliers"`, `"posts_per_week"`, `"posts_seen"`, `"recent"`; default `"median_views"`
- `page` (`listDiscoverAccounts.query.page`; integer, optional)
  - min 1; max 1000; default `1`
- `limit` (`listDiscoverAccounts.query.limit`; integer, optional)
  - min 1; max 100; default `25`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://app.mosio.me/v1/discover/accounts \
  --header 'x-api-key: <x-api-key>'
```

### TypeScript

```typescript
const url = 'https://app.mosio.me/v1/discover/accounts';
const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://app.mosio.me/v1/discover/accounts"

headers = {"x-api-key": "<x-api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

A page of accounts.

#### Example

```json
{
  "accounts": [
    {
      "id": "string",
      "platform": "tiktok",
      "handle": "string",
      "name": "string",
      "avatar_url": "string",
      "median_views": 0,
      "url": "string",
      "followers": 0,
      "posts_count": 0,
      "posts_seen": -9007199254740991,
      "outliers": -9007199254740991,
      "avg_engagement": 0,
      "posts_per_week": 0,
      "tracked": true,
      "last_seen_at": "string"
    }
  ],
  "total": -9007199254740991,
  "page": -9007199254740991,
  "pages": -9007199254740991
}
```

- `accounts` (`listDiscoverAccounts.response.200.accounts`; array<object>, required)
  - `id` (`listDiscoverAccounts.response.200.accounts.id`; string, required)
  - `platform` (`listDiscoverAccounts.response.200.accounts.platform`; string, required)
    - one of `"tiktok"`, `"instagram"`, `"youtube"`, `"facebook"`
  - `handle` (`listDiscoverAccounts.response.200.accounts.handle`; string, required)
  - `name` (`listDiscoverAccounts.response.200.accounts.name`; string | null, required)
  - `avatar_url` (`listDiscoverAccounts.response.200.accounts.avatar_url`; string | null, required)
  - `median_views` (`listDiscoverAccounts.response.200.accounts.median_views`; number | null, required)
  - `url` (`listDiscoverAccounts.response.200.accounts.url`; string | null, required)
  - `followers` (`listDiscoverAccounts.response.200.accounts.followers`; number | null, required)
  - `posts_count` (`listDiscoverAccounts.response.200.accounts.posts_count`; number | null, required)
  - `posts_seen` (`listDiscoverAccounts.response.200.accounts.posts_seen`; integer, required)
    - min -9007199254740991; max 9007199254740991
  - `outliers` (`listDiscoverAccounts.response.200.accounts.outliers`; integer, required)
    - min -9007199254740991; max 9007199254740991
  - `avg_engagement` (`listDiscoverAccounts.response.200.accounts.avg_engagement`; number | null, required)
  - `posts_per_week` (`listDiscoverAccounts.response.200.accounts.posts_per_week`; number | null, required)
  - `tracked` (`listDiscoverAccounts.response.200.accounts.tracked`; boolean, required)
  - `last_seen_at` (`listDiscoverAccounts.response.200.accounts.last_seen_at`; string, required)
- `total` (`listDiscoverAccounts.response.200.total`; integer, required)
  - min -9007199254740991; max 9007199254740991
- `page` (`listDiscoverAccounts.response.200.page`; integer, required)
  - min -9007199254740991; max 9007199254740991
- `pages` (`listDiscoverAccounts.response.200.pages`; integer, required)
  - min -9007199254740991; max 9007199254740991

### 400

The request body is not valid JSON or does not match the schema.

#### Example

```json
{
  "error": "unauthorized",
  "message": "string",
  "details": null
}
```

- `error` (`listDiscoverAccounts.response.400.error`; string, required) — A stable error code.
  - one of `"unauthorized"`, `"invalid_api_key"`, `"insufficient_scope"`, `"forbidden"`, `"invalid_input"`, `"invalid_composition"`, `"idempotency_conflict"`, `"project_edited"`, `"quota_exceeded"`, `"insufficient_credits"`, `"too_many_active_renders"`, `"duration_too_long"`, `"not_found"`, `"internal_error"`
- `message` (`listDiscoverAccounts.response.400.message`; string, required) — A message for people, in Indonesian.
- `details` (`listDiscoverAccounts.response.400.details`; unknown, optional) — More about the error, such as the fields to fix.

### 401

The API key is missing or not valid.

#### Example

```json
{
  "error": "unauthorized",
  "message": "Kirim API key di header x-api-key."
}
```

- `error` (`listDiscoverAccounts.response.401.error`; string, required) — A stable error code.
  - one of `"unauthorized"`, `"invalid_api_key"`, `"insufficient_scope"`, `"forbidden"`, `"invalid_input"`, `"invalid_composition"`, `"idempotency_conflict"`, `"project_edited"`, `"quota_exceeded"`, `"insufficient_credits"`, `"too_many_active_renders"`, `"duration_too_long"`, `"not_found"`, `"internal_error"`
- `message` (`listDiscoverAccounts.response.401.message`; string, required) — A message for people, in Indonesian.
- `details` (`listDiscoverAccounts.response.401.details`; unknown, optional) — More about the error, such as the fields to fix.


Source: https://docs.mosio.me/api/list-discover-accounts/index.md
