Pricing
Get pricing of a flight
POST
/flight/price
Use this API to get the latest pricing information for a specific flight.
Headers
Name
Value
Content-Type
application/json
VOLZ-API-KEY
<api_key>
VOLZ-API-SECRET
<api_secret>
Body
Name
Type
Description
flight_id
*
int
Flight ID you get it from results in search API
search_uuid
*
string
Search code, you get it from result in search API
Response
{
"data": {
"flightOffers": [
{
"id": "3",
"domesticFlight": false,
"documentMediaRequired": true, // if this is true, it is required to send a copy of a file containing passport image
"itineraries": [
{
"segments": [
{
"departure": {
"iataCode": "ALG",
"terminal": "W",
"at": "2024-08-10T15:45:00"
},
"arrival": {
"iataCode": "DXB",
"terminal": "3",
"at": "2024-08-11T01:05:00"
},
"carrierCode": "EK",
"number": "758",
"aircraft": {
"code": "77W",
"name": "BOEING 777-300ER"
},
"operating": {
"carrierCode": "EK"
},
"duration": "PT6H20M",
"id": "39",
"numberOfStops": 0,
"co2Emissions": [
{
"weight": 333,
"weightUnit": "KG",
"cabin": "ECONOMY"
}
]
}
]
}
],
"price": {
"currency": "DZD",
"total": 52031.25
},
"pricingOptions": {
"fareType": [
"PUBLISHED"
],
"includedCheckedBagsOnly": true
},
"validatingAirlineCodes": [
"EK"
],
"travelerPricings": [
{
"travelerId": "1",
"fareOption": "STANDARD",
"travelerType": "ADULT",
"fareDetailsBySegment": [
{
"segmentId": "39",
"cabin": "ECONOMY",
"fareBasis": "QSSOPDZ1",
"brandedFare": "ECOSAVER",
"class": "Q",
"includedCheckedBags": {
"quantity": 2
}
}
]
}
]
}
],
},
"dictionaries": {
"locations": {
"ALG": {
"cityCode": "ALG",
"countryCode": "DZ"
},
"DXB": {
"cityCode": "DXB",
"countryCode": "AE"
}
}
}
}
Last updated