Skip to content

Hotel Booking API

by amadeus.com

No authHTTPSBooks
Open documentation ↗

Overview

Before using this API, we recommend you read our **[Authorization Guide](https://developers.amadeus.com/self-service/apis-docs/guides/authorization-262)** for more information on how to generate an access token. Please also be aware that our test environment is based on a subset of the production for this API it may change dynamically. For your tests, use big cities like LON (London) or NYC (New-York). **Warning: Do not perform test booking in production**. All requests are sent and processed by hotel providers. An excessive amount of fake/canceled reservation will make you blacklisted by hotel providers.

Hotel Booking is a books API from amadeus.com. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 1 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Books
Base URL
https://test.api.amadeus.com/v1
Version
1.1.3
Endpoints
1
Spec updated
2023-03-24

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X POST "https://test.api.amadeus.com/v1/booking/hotel-bookings" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://test.api.amadeus.com/v1/booking/hotel-bookings", {
  method: "POST",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "POST",
    "https://test.api.amadeus.com/v1/booking/hotel-bookings",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
POST/booking/hotel-bookingsCreate Orders associated to the Hotel Offers

Questions

Does the Hotel Booking API need an API key?

No. The Hotel Booking API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the Hotel Booking API support HTTPS?

Yes, the Hotel Booking API is served over HTTPS.

How many endpoints does the Hotel Booking API have?

Its OpenAPI description lists 1 endpoint in version 1.1.3. All of them are shown on this page.

What are alternatives to the Hotel Booking API?

Other Books APIs include Google Books, Bhagavad Gita telugu, Open Library, Ganjoor, Wolne Lektury.

Compare alternatives →

Listed from APIs.guru (CC0).