# List lots

`GET https://api.parklio.com/v2/lots`

Lists the lots your token can see. Each lot has its own `spot_count` and `occupied_count` (see [Live occupancy](/guides/live-occupancy)) and its `timezone`.

`detection_status` is `online` for lots with parking detection and `unkown` (sic) otherwise; `detection_implementation_status` is `implemented`, `not_implemented`, `pending` or `blocked`.

**Auth:** `Authorization: Bearer <token>`

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | number | no | Page number, starting at 1. See [Paging](/api/conventions#paging). |
| `size` | number | no | Items per page: 10 by default, at most 300. See [Paging](/api/conventions#paging). |
| `filter` | string[] | no | Filter as `field:rule:value`, for example `lot_id:eq:7`. Repeat `filter` to combine filters; all must match. Fields: `account_id`, `anpr_presence`, `detection_implementation_status`, `lot_parking_detection`, `name`. See [Filtering](/api/conventions#filtering). |
| `sort` | string[] | no | Sort as `field:asc` or `field:desc`. Send it once. Fields: `name`, `id`. See [Sorting](/api/conventions#sorting). |

## Responses

### 200

```json
{
  "success": true,
  "data": [
    {
      "id": 7,
      "account_id": 3,
      "name": "Main garage",
      "description": null,
      "address": "Example street 1",
      "latitude": 45.815,
      "longitude": 15.982,
      "timezone": "Europe/Zagreb",
      "spot_count": 120,
      "occupied_count": 42,
      "detection_status": "unkown",
      "detection_implementation_status": "not_implemented",
      "lot_state_representation_vector": null,
      "created_at": "2026-01-15T09:30:00.000Z",
      "updated_at": "2026-01-15T09:30:00.000Z"
    }
  ],
  "meta": {
    "total": 1,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "first_page": 1,
    "first_page_url": "/?page=1",
    "last_page_url": "/?page=1",
    "next_page_url": "/?page=2",
    "previous_page_url": null
  }
}
```

### 401 — Account user is not logged in and they should log in again.

```json
{
  "success": false,
  "errors": [
    {
      "code": 1,
      "message": "Unauthorized access."
    }
  ]
}
```

