> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.buqipi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List categories

> Returns the room types the key can sell. Use `property_id` to narrow the list to one property. The response includes the cover image, capacity, minimum stay and the lowest visible price for the next 30 days.

`GET /inventory/categories`

Returns the room types the key can sell. Use `property_id` to narrow the list to one property. The response includes the cover image, capacity, minimum stay and the lowest visible price for the next 30 days.

## Authentication

Send the scoped API key as `Authorization: Bearer bqp_pk_...`. All requests use the base URL `https://api.buqipi.com/connect/v1`.

## Parameters

| Name | In | Type | Required | Description |
| - | - | - | - | - |
| `page` | query | integer default: 1 | no | Page number, starting at 1. |
| `per_page` | query | integer default: 20 | no | Page size. Maximum 100. |
| `property_id` | query | string | no | Restrict the result to one property. |
| `q` | query | string | no | Case-insensitive search over category name, property name and city. |

## Example request

```bash theme={null}
curl -X GET "https://api.buqipi.com/connect/v1/inventory/categories" \
  -H "Authorization: Bearer $BUQIPI_API_KEY"
```

## Responses

| Status | Description |
| - | - |
| `200` | Category collection. |
| `401` | Missing, invalid, expired or revoked API key. |
| `403` | The key is valid but lacks the required scope or property/category access. |
| `429` | The key or IP exceeded its quota. |
| `500` | An unexpected server error. Details are not exposed to the client. |

## Response fields (200)

| Field | Type | Required | Description |
| - | - | - | - |
| `data` | array of object | yes | |
| `data.id` | string | yes | |
| `data.property_id` | string | yes | |
| `data.name` | string | yes | |
| `data.property_name` | string | no | |
| `data.city` | string | no | |
| `data.region` | string | no | |
| `data.country` | string | no | |
| `data.postal_code` | string | no | |
| `data.latitude` | number (double) | no | |
| `data.longitude` | number (double) | no | |
| `data.capacity` | integer | yes | |
| `data.max_capacity` | integer | no | |
| `data.bedrooms` | integer | no | |
| `data.bathrooms` | integer | no | |
| `data.beds` | integer | no | |
| `data.currency` | string | yes | |
| `data.price_from` | number | no | Lowest visible nightly price for the next 30 days. |
| `data.cover_image` | string (uri) | no | |
| `data.cover_image_caption` | string | no | |
| `data.published` | boolean | yes | |
| `data.published_to_ota` | boolean | no | |
| `data.min_nights` | integer | no | |
| `data.max_nights` | integer | no | |
| `data.allows_pets` | boolean | no | |
| `meta` | object | yes | Response trace and pagination metadata. |
| `meta.api` | string enum: buqipi-connect | yes | |
| `meta.version` | string enum: v1 | yes | |
| `meta.request_id` | string (uuid) | yes | |
| `meta.generated_at` | string (date-time) | yes | |

## Specification

[View the full OpenAPI specification](https://api.pastes.dev/8OG3RS6RJx).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.