# Account List

**GET** `/v1/accounts`

Lists accounts with pagination and filters.

Get accounts list.

**Query Parameters**

| **name** | **required** | **type** | **description** |
| --- | --- | --- | --- |
| `page` | required | `integer` | pagination starts from 1 |
| `type` | required | `string` | type of the object being returned |
| `per_page` | optional | `integer` | number of records per page. between 1 and 100 |
| `category_id` | optional | `string` | filter by category id. for more than one category, send as comma separated |
| `user_id` | optional | `string` | filter by user id |
| `search_key` | optional | `string` | search accounts by keyword |
| `max_distance` | optional | `number` | positive number. filter accounts by nearest distance. **Example:** to get all accounts less than 5 Kilometers. This works only when the current _latitude_ and _longitude_ of the user are sent in the query parameters. |
| `latitude` | optional | `double` | latitude of the geolocation |
| `latitude` | optional | `double` | longitude of the geolocation |
| `status` | optiona | `integer` | filter by account status |