GetDestinations
π GetDestinations API
The GetDestinations API provides a list of all available destination codes supported by the Smart Distribution platform. Each destination represents a city or region where hotel inventory is available.
This API is typically used to populate dropdowns, filters, or search suggestions in your booking interface.
π Use Case
Before performing a property or product search, the client application needs to know the valid destinationCode
values. This API returns that master list.
π Endpoint
GET [SD-Domain]/api/SmartDistribution/getDestinations
π§Ύ Headers
Header
Type
Required
Description
ApiKey
string
Yes
API key provided by RateGain
ApiSecret
string
Yes
API secret provided by RateGain
π€ Request Fields Description
Not Applicable for this End point.
π₯ Response
π Response Fields Description
Field
Type
Description
destCode
string
Unique code used in hotel search APIs
destName
string
Human-readable name of the destination
Last updated