Hotel List
Before using the API you will need to get an access token. Please read our [Authorization…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Before using the API you will need to get an access token. Please read our Authorization Guide for more information on how to get your token.
Endpoints 3
Hotels
- GETSearch Hotels using its unique Id
/reference-data/locations/hotels/by-hotels?hotelIds=ACPAR419 - GETSearch Hotels in a city
/reference-data/locations/hotels/by-city?cityCode=PAR&radius=5&radiusUnit=KM&chainCodes=string&amenities=SWIMMING_POOL&ratings=1&hotelSource=ALL - GETSearch Hotels using Geocode
/reference-data/locations/hotels/by-geocode?latitude=41.397158&longitude=2.160873&radius=5&radiusUnit=KM&chainCodes=string&amenities=SWIMMING_POOL&ratings=1&hotelSource=ALL
API details
- Base URL
https://test.api.amadeus.com/v1- Authentication
- None declared in the description
- Operations
- 3 operations on 3 pathsGET 3
- Main resources
- Hotels 3
- Response formats
application/vnd.amadeus+json- Description format
- OpenAPI 3.0.0, API version
1.0.4 - Links
- OpenAPI document
How to test the Hotel List in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Hotel List collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Search Hotels using its unique Id” (GET /reference-data/locations/hotels/by-hotels?hotelIds=ACPAR419), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Hotel List?
Before using the API you will need to get an access token. Please read our [Authorization… It is listed under Travel and has 3 endpoints.
Who publishes the Hotel List?
It is listed from Amadeus's public API description (an OpenAPI document), not published by Amadeus on Swastik Codes. Anyone who controls amadeus.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Hotel List?
Requests go to https://test.api.amadeus.com/v1. Endpoint paths are added to this base URL.
How do I authenticate with the Hotel List?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Hotel List have?
3 operations on 3 paths (3 GET). The largest groups are Hotels.
Is forking the Hotel List free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.