API

Sections

Theme switcher

/price-insights/calendar/return

The price calendar feature allows end user to easily select departure & return dates of interest by showing minimum price per date, that can be shown in the form of calendar.

For details about how this functionality, check the Avanced Pricing Insights guide.

This endpoint does not work in the demo environment. Contact your Partnership Manager if you need support testing this functionality.

Header Parameters

api-keystring Required

Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.

Query Parameters

currencystring Required

Set the currency of all monetary results in the response. Sample value EUR. The field accepts ISO 4217 currency codes. Check https://docs.distribusion.com/dt/api/other-concepts-2/currencies for list of currencies supported.

departure_stationstring

Search from specific departure station. Sample value FRPARPGB. Full list of stations available under /stations endpoint.

departure_citystring

Search from specific departure city. Sample value DEBER. Full list of cities available under /citites endpoint.

departure_areastring

Search from specific departure area. Sample value DEAUGAC. Areas can be Airports or Superstations. Full list of areas available under /areas endpoint.

arrival_stationstring

Search from specific arrival station. Sample value DEBERCBS. Full list of stations available under /stations endpoint.

arrival_citystring

Search from specific arrival city. Sample value FRPAR. Full list of cities available under /citites endpoint.

arrival_areastring

Search from specific arrival area. Sample value FRBIQBA. Areas can be airports or superstations. Full list of areas available under /areas endpoint.

departure_datestring Required

Set the date of departure. Sample value 2024-01-31.

return_date_startstring Required

Set starting date from which to aggregate prices based on return date. Sample value 2024-01-31.

return_date_endstring Required

Set ending date from which to aggregate prices based on return date. Sample value 2024-01-31.

marketing_carrier_codestring

Filter the results to trips from a specific carrier. The list of carriers available via your credentials and corresponding codes can be retrieved from the /marketing_carriers endpoint. Sample value DBAH.

retailer_partner_numberstring

Set the retailer partner number (RPN). Contact your partnership manager to receive yours. Sample value 012345.

Response

200
Object
Successful response with list of prices

Response Attributes

calendararray

Show child attributes

Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot