Car Availability (beta)

The Car Availability (beta) API returns real-time rental car pricing and availability information.

API Information

Target Audience
Sabre Travel Network
Current Version
v2.4.0
Authentication
Session Token
Method/Endpoint
POST /v2.4.0/shop/cars HTTP/1.1

In detail: the API retrieves rental car availability and total pricing data based on a specified pickup location and travel date. Numerous optional search preferences are available to sort and filter results, including the ability to include/exclude vendors, specify special equipment, such as a luggage rack or navigation system. The response contains: 1) available rental cars most closely mapped to the specified location, such as “DFW” (Dallas/Fort Worth International); 2) rental car price by vehicle type, such as economy or mid-size; 3) guaranteed and prepaid indicators, such as when payment (credit card) is required at the time of booking; and 4) rate plan type, such as prepaid, inclusive or negotiated/corporate.

Note: rates will vary based on qualifiers including credit card, currency, mileage and rate assured plan, special equipment and rate or tour code.

Ready to try the APIs?

Ready to get your hands dirty?

 Register Try the APIs

Ready to launch?

Ready to step up to the production level service? We're standing by to fit you for your spacesuit.

Request Production Key

Business use case

You could use this API to give travelers the ability to shop rental car rates and availability for a given rental car company. From this information, brand-loyal customers can find their preferred rental car company within their specified geographic area.

Resources

Point of sale

  • Results are based on U.S. point of sale only, regardless of whether the point of sale is associated with your authentication credentials. To obtain results in a currency other than the default currency (USD), specify a currency code within the request.

Request

Request headers

Content-Type
required
Valid value: Content-Type: application/json
Accept-Encoding
optional
To reduce network latency for large responses, request a compressed response. Include the "Accept-Encoding" HTTP header field in the request.
Valid value: Accept-Encoding: gzip

Sample code

Download Examples

Requests and responses for this service are long, so these examples are simple. However, we have more examples that you can download.

Request

This example demonstrates a request with required parameters only for available rental cars near "DFW" (Dallas/Fort Worth International).

POST https://api.havail.sabre.com/v2.4.0/shop/cars HTTP/1.1
{
  "OTA_VehAvailRateRQ":{
    "VehAvailRQCore":{
      "QueryType":"Shop",
      "VehRentalCore":{
        "PickUpDateTime":"12-21T09:00",
        "ReturnDateTime":"12-29T11:00",
        "PickUpLocation":{
          "LocationCode":"DFW"
        }
      }
    }
  }
}

Response

{
    "OTA_VehAvailRateRS": {
        "Version": "2.4.0",
        "ApplicationResults": {
            "Success": [{
                "timeStamp": "2015-06-16T15:09:33-05:00"
            }]
        },
        "VehAvailRSCore": {
            "HeaderInfo": {
                "Text": ["R C USD RATE/PLAN MI/KM   CHG       APPROX C"]
            },
            "VehRentalCore": {
                "NumDays": "8",
                "NumHours": "2",
                "PickUpDateTime": "12-21T09:00",
                "ReturnDateTime": "12-29T11:00",
                "DropOffLocationDetails": {
                    "LocationCode": "DFW"
                },
                "LocationDetails": {
                    "LocationCode": "DFW",
                    "LocationName": "DALLAS FT WORTH"
                }
            },
            "VehVendorAvails": {
                "VehVendorAvail": [{
                    "RPH": "1",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "W8",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["ECAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "130.00",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "18.57"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "6.19"
                                    }
                                },
                                "Commission": {
                                    "Amount": "18.57",
                                    "Percent": "12.000"
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "277.26",
                                    "CurrencyCode": "USD",
                                    "RateAssured": "*"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "EZ",
                        "CompanyShortName": "EZRENT",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "2",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "RXHW8",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["XXAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "198.41",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "27.99"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "9.92"
                                    }
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "397.95",
                                    "CurrencyCode": "USD",
                                    "RateAssured": "*"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "ZR",
                        "CompanyShortName": "DOLLAR",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "3",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "RXHW8",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["CCAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "198.41",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "27.99"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "9.92"
                                    }
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "397.95",
                                    "CurrencyCode": "USD",
                                    "RateAssured": "*"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "ZT",
                        "CompanyShortName": "THRIFTY",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "4",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "AW9M",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["ECAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "241.49",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "34.50"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "6.90"
                                    }
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "448.02",
                                    "CurrencyCode": "USD"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "AL",
                        "CompanyShortName": "ALAMO",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "5",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "EW9M",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["ECAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "241.75",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "34.54"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "6.91"
                                    }
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "448.42",
                                    "CurrencyCode": "USD"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "ET",
                        "CompanyShortName": "ENTERPRISE",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "6",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "LB8WK",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["ECAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "300.00",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "44.00"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "8.80"
                                    }
                                },
                                "Commission": {
                                    "Amount": "18.08",
                                    "Percent": "5.000"
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "541.21",
                                    "CurrencyCode": "USD"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "AD",
                        "CompanyShortName": "ADVANTAGE",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "7",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "CV",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["ECAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "405.00",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "57.86"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "19.29"
                                    }
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "727.89",
                                    "CurrencyCode": "USD"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "ZD",
                        "CompanyShortName": "BUDGET",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "8",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "NW8",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["ECAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "425.58",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "60.80"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "30.40"
                                    }
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "776.90",
                                    "CurrencyCode": "USD"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "ZL",
                        "CompanyShortName": "NATIONAL",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "9",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "10X",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["ECAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "445.48",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "63.63"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD"
                                    }
                                },
                                "Commission": {
                                    "Amount": "114.55",
                                    "Percent": "20.000"
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "796.00",
                                    "CurrencyCode": "USD"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "SX",
                        "CompanyShortName": "SIXT",
                        "CounterLocation": "I",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "10",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "2N",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["ECAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "504.00",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "72.00"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "50.51"
                                    }
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "915.16",
                                    "CurrencyCode": "USD"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "ZI",
                        "CompanyShortName": "AVIS",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }, {
                    "RPH": "11",
                    "VehAvailCore": {
                        "RentalRate": {
                            "AvailabilityStatus": "S",
                            "RateCode": "RCUW8",
                            "STM_RatePlan": "W",
                            "Vehicle": {
                                "VehType": ["CCAR"]
                            }
                        },
                        "VehicleCharges": {
                            "VehicleCharge": {
                                "Amount": "486.00",
                                "CurrencyCode": "USD",
                                "GuaranteeInd": "G",
                                "AdditionalDayHour": {
                                    "Day": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "97.20"
                                    },
                                    "Hour": {
                                        "CurrencyCode": "USD",
                                        "MileageAllowance": "UNL",
                                        "Rate": "48.60"
                                    }
                                },
                                "Mileage": {
                                    "Allowance": "UNL",
                                    "CurrencyCode": "USD",
                                    "ExtraMileageCharge": ".00"
                                },
                                "SpecialEquipTotalCharge": {
                                    "CurrencyCode": "USD"
                                },
                                "TotalCharge": {
                                    "Amount": "952.71",
                                    "CurrencyCode": "USD"
                                }
                            }
                        }
                    },
                    "Vendor": {
                        "Code": "ZE",
                        "CompanyShortName": "HERTZ",
                        "CounterLocation": "A",
                        "ParticipationLevel": "B"
                    }
                }]
            }
        }
    },
    "Links": [{
        "rel": "self",
        "href": "https://api.havail.sabre.com/v2.4.0/shop/cars"
    }, {
        "rel": "linkTemplate",
        "href": "https://api.havail.sabre.com/<version>/shop/cars"
    }]
}

Downloadable Examples

Errors

An HTTP status code is always returned. For information about the error response format, see the: Sabre APIs: errors page.

404 NOT_FOUND

No results were found
The service cannot find data to fulfill the parameters in the request. For example, there is no data available for the dates specified.

400 BAD REQUEST

The request was not valid
The service does not support the data used in the request. For example, origin or destination in the request is not a valid IATA airport code.

If you receive this error:

{ status: "NotProcessed" type: "Validation" errorCode: "ERR.2SG.CLIENT.INVALID_REQUEST" timeStamp: "2015-04-09T11:43:34.599-05:00"
    message: "Request is invalid: Request payload is missing or it is not supported by the requested service" }

Ensure you:

  • have specified a content type header with a value of 'application/json'
  • are sending a JSON document in the HTTP POST's request body

Docs Navigation