Hostaway Listings API

Manage vacation rental listings — properties, amenities, bed types, images, and custom field values. Each Hostaway listing maps to one or more external channels (Airbnb, Vrbo, Booking.com, Expedia, Google Vacation Rentals, Marriott Homes & Villas) and is the primary inventory object in the platform.

Hostaway Listings API is one of 10 APIs that Hostaway publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 machine-runnable capability that can be deployed as REST, MCP, or Agent Skill surfaces via Naftiko and 1 JSON Schema definition.

Tagged areas include Vacation Rentals, Listings, and Properties. The published artifact set on APIs.io includes API documentation, an OpenAPI specification, a JSON-LD context, 1 Naftiko capability spec, and 1 JSON Schema.

OpenAPI Specification

hostaway-listings-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Hostaway Listings API
  description: |
    Manage vacation rental listings in Hostaway: properties, amenities, bed types,
    images, and custom field values. Hostaway is a property-management system used
    by short-term rental operators to publish to Airbnb, Vrbo, Booking.com,
    Expedia, Google Vacation Rentals, and Marriott Homes & Villas.
  version: '1.0.0'
  contact:
    name: Hostaway Support
    email: [email protected]
    url: https://api.hostaway.com/documentation
  x-logo:
    url: https://www.hostaway.com/favicon.ico

servers:
  - url: https://api.hostaway.com/v1
    description: Production API

security:
  - OAuth2ClientCredentials: []

tags:
  - name: Listings
    description: Vacation rental listings and properties
  - name: Listing Amenities
    description: Amenities offered by a listing
  - name: Listing Bed Types
    description: Bed types configured for a listing
  - name: Listing Images
    description: Photographs attached to a listing

paths:
  /listings:
    get:
      summary: Hostaway List Listings
      operationId: listListings
      tags:
        - Listings
      parameters:
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: Listings collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingsResponse'
    post:
      summary: Hostaway Create Listing
      operationId: createListing
      tags:
        - Listings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListingInput'
      responses:
        '200':
          description: Listing created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingResponse'
  /listings/{listingId}:
    parameters:
      - $ref: '#/components/parameters/ListingId'
    get:
      summary: Hostaway Get Listing
      operationId: getListing
      tags:
        - Listings
      responses:
        '200':
          description: Single listing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingResponse'
    put:
      summary: Hostaway Update Listing
      operationId: updateListing
      tags:
        - Listings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListingInput'
      responses:
        '200':
          description: Listing updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListingResponse'
  /listings/{listingId}/amenities:
    parameters:
      - $ref: '#/components/parameters/ListingId'
    get:
      summary: Hostaway List Listing Amenities
      operationId: listListingAmenities
      tags:
        - Listing Amenities
      responses:
        '200':
          description: Amenities collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
  /listings/{listingId}/bedTypes:
    parameters:
      - $ref: '#/components/parameters/ListingId'
    get:
      summary: Hostaway List Listing Bed Types
      operationId: listListingBedTypes
      tags:
        - Listing Bed Types
      responses:
        '200':
          description: Bed types collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
  /listings/{listingId}/images:
    parameters:
      - $ref: '#/components/parameters/ListingId'
    get:
      summary: Hostaway List Listing Images
      operationId: listListingImages
      tags:
        - Listing Images
      responses:
        '200':
          description: Images collection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
    post:
      summary: Hostaway Add Listing Image
      operationId: addListingImage
      tags:
        - Listing Images
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                caption:
                  type: string
                sortOrder:
                  type: integer
      responses:
        '200':
          description: Image added
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'

components:
  securitySchemes:
    OAuth2ClientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.hostaway.com/v1/accessTokens
          scopes:
            general: General API access scope
  parameters:
    ListingId:
      name: listingId
      in: path
      required: true
      schema:
        type: integer
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        default: 10
    Offset:
      name: offset
      in: query
      schema:
        type: integer
        default: 0
  schemas:
    StandardResponse:
      type: object
      properties:
        status:
          type: string
          enum: [success, fail]
        result:
          type: object
        count:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        page:
          type: integer
        totalPages:
          type: integer
    ListingInput:
      type: object
      properties:
        name:
          type: string
        externalListingName:
          type: string
        propertyTypeId:
          type: integer
        address:
          type: string
        city:
          type: string
        country:
          type: string
          description: ISO 3166-2 country code
        latitude:
          type: number
          format: double
        longitude:
          type: number
          format: double
        currencyCode:
          type: string
          example: USD
        timeZoneName:
          type: string
        personCapacity:
          type: integer
        bedroomsNumber:
          type: integer
        bathroomsNumber:
          type: number
        bedsNumber:
          type: integer
        squareMeters:
          type: number
        price:
          type: number
        cleaningFee:
          type: number
        checkInTimeStart:
          type: integer
        checkInTimeEnd:
          type: integer
        checkOutTime:
          type: integer
    Listing:
      allOf:
        - $ref: '#/components/schemas/ListingInput'
        - type: object
          properties:
            id:
              type: integer
            isActive:
              type: integer
              description: 0 or 1
            insertedOn:
              type: string
              format: date-time
    ListingResponse:
      type: object
      properties:
        status:
          type: string
          enum: [success, fail]
        result:
          $ref: '#/components/schemas/Listing'
    ListingsResponse:
      type: object
      properties:
        status:
          type: string
          enum: [success, fail]
        count:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        result:
          type: array
          items:
            $ref: '#/components/schemas/Listing'