GetDestinations

GetDestinations

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 endpoint.


Response

{ "body": [ { "destCode": "HB#04K", "destName": "Nakhchivan" }, { "destCode": "HB#09C", "destName": "Barisal" }, { "destCode": "HB#09W", "destName": "Orange Walk" }, { "destCode": "HB#0A4", "destName": "Nor Cinti" } ] }


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