Yasha Hotel Availability API

The Availability API from Yasha Hotel — 1 operation(s) for availability.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /api/availability Check availability and exact total price per room for a date range #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/yashahotel-com:yashahotel-com-availability-api"
All apis
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.

Get an API 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

yashahotel-com-availability-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yasha Hotel Direct Booking Availability API
  description: 'Public API of Yasha Hotel (3-star hotel, 28 rooms, 27 Rue Joseph Junck, L-1839 Luxembourg, 100 m from Luxembourg central station). Allows AI agents and travel tools to check real-time room availability and exact prices, and to create a booking that the human traveler confirms by secure Stripe card payment. Direct bookings are about 10% cheaper than OTAs (Booking.com, Expedia) for the same rooms and dates. Prices are in euro cents (EUR). Maximum stay: 30 nights. Check-in from 13:00, check-out before 11:00, front desk open 24/7.'
  version: 1.0.0
  contact:
    name: Yasha Hotel
    url: https://yashahotel.com/
    email: yashahotel@gmail.com
servers:
- url: https://yashahotel.com
tags:
- name: Availability
paths:
  /api/availability:
    post:
      operationId: check_availability
      summary: Check availability and exact total price per room for a date range
      description: Core agent tool. For each room type, returns whether it is available for the given stay, the number of nights, the exact total in euro cents, the average nightly price and a per-night price breakdown. Prices shown already include the direct-booking advantage.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvailabilityRequest'
      responses:
        '200':
          description: Per-room availability and pricing
          content:
            application/json:
              schema:
                type: object
                properties:
                  checkin:
                    type: string
                    format: date
                  checkout:
                    type: string
                    format: date
                  rooms:
                    type: array
                    items:
                      $ref: '#/components/schemas/RoomAvailability'
        '400':
          description: Invalid dates (format YYYY-MM-DD, checkin < checkout, not in the past, max 30 nights)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Availability
components:
  schemas:
    AvailabilityRequest:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    Error:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
    RoomAvailability:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true