---
title: "One collection – a community or a host's portfolio: its own page and its places"
method: GET
path: "/api/public/v1/c/{slug}"
---

# One collection – a community or a host's portfolio: its own page and its places

`GET /api/public/v1/c/{slug}`

## Request

- Base URL: `https://posadita.com`
- URL: `https://posadita.com/api/public/v1/c/{slug}`
- Auth: none declared

## Path parameters

- `slug` string, required

## Query parameters

- `locale` 'en' | 'cs' | 'sk' | 'de' | 'it' | 'fr' | 'pt' | 'es'
- `from` string, date
- `to` string, date
- `guests` integer
- `sort` 'recommended' | 'price_asc' | 'price_desc' | 'size'
- `type` string
- `minBedrooms` integer
- `amenities` string
- `availableOnly` boolean
- `limit` integer
- `offset` integer

## Response `200`

The collection and one page of its places.

- object
  - `collection` object
    - `slug` string
    - `name` string
    - `kind` string
    - `locality` string, nullable
    - `url` string, nullable
    - `isDemo` boolean: Posadita's sample site – nothing on it can be booked for real.
    - `locale` string: The language the texts are in.
    - `headline` string, nullable
    - `about` string, nullable
    - `photos` object[]
      - `url` string
      - `thumbUrl` string
      - `caption` string, nullable
    - `logoUrl` string, nullable
    - `highlights` object[]
      - `icon` string
      - `title` string
      - `body` string
    - `blocks` object[]
      - `kind` string
      - `title` string, nullable
      - `body` string, nullable
      - `photoUrl` string, nullable
    - `faq` object[]
      - `q` string
      - `a` string
  - `search` object, nullable
    - `from` string, date
    - `to` string, date
    - `guests` integer
  - `sort` string
  - `total` integer
  - `available` integer, nullable
  - `offset` integer
  - `limit` integer
  - `places` object[]: Bookable places first (free, then taken), then listings, then places not online yet.
    - `propertyId` string
    - `slug` string, nullable
    - `name` string
    - `url` string, nullable: The place's own page – null only when it is not online yet.
    - `state` 'bookable' | 'listing' | 'unpublished'
    - `propertyType` string
    - `headline` string, nullable
    - `locality` string, nullable
    - `photoUrl` string, nullable
    - `maxGuests` integer, nullable
    - `bedrooms` integer, nullable
    - `beds` integer, nullable
    - `sizeM2` integer, nullable
    - `amenities` string[]
    - `available` boolean, nullable: For the dates asked; null without dates.
    - `currency` string: ISO 4217
    - `totalCents` integer, nullable: The whole stay as get_quote prices it; null without dates, when it cannot be booked, and always on a listing.
    - `nights` integer, nullable
    - `fromNightlyCents` integer, nullable: Lowest nightly rate; bookable places only.
    - `rejection` object, nullable
      - `reason` string
      - `minStay` integer
      - `maxGuests` integer
    - `position` object, nullable: Rounded when the host keeps the address private (`pinPrecision: area`).
      - `lat` number
      - `lng` number
    - `pinPrecision` 'exact' | 'area' | 'null', nullable
    - `partOf` object, nullable: A community or portfolio the place is on.
      - `slug` string
      - `name` string
      - `kind` 'community' | 'portfolio'

## Other responses

- `400`: from/to unusable
- `404`: No published collection with this slug

---

[API](https://skmtc.dev/posadita/apis/posadita-direct-booking.md) · [All operations](https://skmtc.dev/posadita/apis/posadita-direct-booking/llms.txt) · [OpenAPI document](https://skmtc.dev/posadita/apis/posadita-direct-booking/revisions/5a4a24c27407?raw)
