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

# Get a listing's calendar

> Returns each day from `start_date` to `end_date` (`Y-m-d`) with its price, rules and how many units are left.
No token needed.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/public/{teamSlug}/listings/{listingSlug}/calendar
openapi: 3.1.0
info:
  title: Overviu API
  version: '1.0'
  description: >-
    Read your listings and availability, and create and manage bookings, from
    your own systems. Authenticate with an API token from **Settings → API
    tokens** in Overviu, sent as `Authorization: Bearer <token>`. Endpoints
    under `/v1/public/{teamSlug}` need no token: they serve what your booking
    site shows. Guides and conventions:
    https://docs.overviu.app/api-reference/introduction
servers:
  - url: https://api.overviu.app/api
    description: Production
security:
  - http: []
tags:
  - name: Account
    description: The team an API token belongs to.
  - name: Listings
    description: The team's listings.
  - name: Availability
    description: Prices and availability for dates.
  - name: Bookings
    description: Create, read, change and cancel the team's bookings.
  - name: Guests
    description: The team's guests.
  - name: Public
    description: What a booking site shows, with no token.
paths:
  /v1/public/{teamSlug}/listings/{listingSlug}/calendar:
    get:
      tags:
        - Public
      summary: Get a listing's calendar
      description: >-
        Returns each day from `start_date` to `end_date` (`Y-m-d`) with its
        price, rules and how many units are left.

        No token needed.
      operationId: v1.public.listings.calendar
      parameters:
        - name: teamSlug
          in: path
          required: true
          schema:
            type: string
        - name: listingSlug
          in: path
          required: true
          schema:
            type: string
        - name: start_date
          in: query
          required: true
          schema:
            type: string
            format: date
        - name: end_date
          in: query
          required: true
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Array of `ListingDayResource`
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ListingDayResource'
                required:
                  - data
        '422':
          $ref: '#/components/responses/ValidationException'
      security: []
components:
  schemas:
    ListingDayResource:
      type: object
      properties:
        date:
          type: string
        available:
          type: boolean
        status:
          anyOf:
            - type: string
            - type: string
              enum:
                - available
                - unavailable
        units_left:
          type: string
        day_rate:
          type: integer
        min_stay:
          type: integer
        closed_for_arrival:
          type: boolean
        closed_for_departure:
          type: boolean
      required:
        - date
        - available
        - status
        - units_left
        - day_rate
        - min_stay
        - closed_for_arrival
        - closed_for_departure
      title: ListingDayResource
  responses:
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    http:
      type: http
      description: >-
        An API token from **Settings → API tokens** in Overviu, sent as
        `Authorization: Bearer <token>`.
      scheme: bearer

````

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