Holidu Rates API
The Rates API from Holidu — 1 operation(s) for rates.
The Rates API from Holidu — 1 operation(s) for rates.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/holidu:holidu-rates-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Connectivity Rates API
description: 'Please read the API Guide that will help you for your integration to Holidu.
You''ll find there the steps you''ll go through, tips and frequently asked questions.
If you need any support, please contact us at partnersupport@holidu.com.'
termsOfService: https://www.holidu.com/gtc
contact:
name: Holidu
url: https://www.holidu.com
email: partnersupport@holidu.com
license:
name: Apache License Version 2.0
url: https://www.apache.org/licenses/LICENSE-2.0
version: '2.0'
servers:
- url: https://provider-api-sandbox.holidu.com
description: Sandbox Environment
- url: https://provider-api.holidu.com
description: Holidu Production API
security:
- api-key:
- read
- write
tags:
- name: Rates
paths:
/v2/rates:
get:
tags:
- Rates
summary: Get apartment rate plans
operationId: getRates
parameters:
- name: providerApartmentId
in: query
required: false
schema:
type: string
- name: provider
in: query
required: false
schema:
type: string
- name: holiduApartmentId
in: query
required: false
schema:
type: integer
format: int64
responses:
'200':
description: Successful retrieval of apartment rates
content:
application/json:
schema:
$ref: '#/components/schemas/ApartmentRates'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/HoliduErrorResponse'
'401':
description: Authentication error
content:
application/json:
schema:
$ref: '#/components/schemas/HoliduErrorResponse'
'404':
description: Apartment does not exist
content:
application/json:
schema:
$ref: '#/components/schemas/HoliduErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/HoliduErrorResponse'
deprecated: true
post:
tags:
- Rates
summary: Update apartment rate plans
operationId: setRates
parameters:
- name: providerApartmentId
in: query
required: false
schema:
type: string
- name: provider
in: query
required: false
schema:
type: string
- name: holiduApartmentId
in: query
required: false
schema:
type: integer
format: int64
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ApartmentRates'
required: true
responses:
'200':
description: Successful creation or update of rate plans for the apartment
content:
application/json:
schema:
$ref: '#/components/schemas/ApartmentRates'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/HoliduErrorResponse'
'401':
description: Authentication error
content:
application/json:
schema:
$ref: '#/components/schemas/HoliduErrorResponse'
'406':
description: Request terminated
content:
application/json:
schema:
$ref: '#/components/schemas/HoliduErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/HoliduErrorResponse'
deprecated: true
components:
schemas:
DailyRate:
title: Daily Rate
required:
- checkinAllowed
- checkoutAllowed
- date
- price
type: object
properties:
date:
type: string
description: Date
format: date
example: '2023-05-01'
price:
type: number
description: Daily price
example: 95
priceForExtraPerson:
type: number
description: Additional cost per extra person
example: 20
checkinAllowed:
type: boolean
description: Check in is possible on this day
example: true
checkoutAllowed:
type: boolean
description: Check out is possible on this day
example: false
description: List of daily rates
ApartmentRates:
title: Apartment Rates
required:
- ratePlans
type: object
properties:
ratePlans:
type: array
items:
$ref: '#/components/schemas/RatePlan'
RatePlan:
title: Rate Plan
required:
- currency
- dailyRates
- guests
- minimumStay
- ratePlanId
type: object
properties:
ratePlanId:
type: string
description: Unique identifier for this rate plan
example: SHORT_STAY_RATE
guests:
maximum: 100
minimum: 1
type: integer
description: Number of guests. Allowed number of guests must be between 1 and 100
format: int32
example: 2
currency:
type: string
example: EUR
minimumStay:
type: integer
description: Minimum Stay (days)
format: int32
example: 1
maximumStay:
type: integer
description: Maximum Stay (days)
format: int32
example: 30
dailyRates:
type: array
description: List of daily rates
items:
$ref: '#/components/schemas/DailyRate'
HoliduErrorResponse:
type: object
properties:
error:
type: string
description: Error Text
example: 'Invalid Json: Unexpected character'
securitySchemes:
api-key:
type: apiKey
name: api-key
in: header
x-provenance:
method: harvested
publisher: Holidu
source: https://developer.holidu.com/openapi/connectivity-api.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)