Get Hotel Attributes
curl --request GET \
--url https://api.birdeye.com/resources/v1/listing/get/hotel-attributesimport requests
url = "https://api.birdeye.com/resources/v1/listing/get/hotel-attributes"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.birdeye.com/resources/v1/listing/get/hotel-attributes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.birdeye.com/resources/v1/listing/get/hotel-attributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.birdeye.com/resources/v1/listing/get/hotel-attributes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.birdeye.com/resources/v1/listing/get/hotel-attributes")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/listing/get/hotel-attributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"hotelAttributes": {
"services": {
"services": {
"frontDesk": {
"attributeId": "frontDesk",
"attributeName": "Front desk",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20001,
"attributeValueType": "BOOLEAN"
},
"twentyFourHourFrontDesk": {
"attributeId": "twentyFourHourFrontDesk",
"attributeName": "Twenty four hour front desk",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20002,
"attributeValueType": "BOOLEAN"
},
"giftShop": {
"attributeId": "giftShop",
"attributeName": "Gift shop",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20011,
"attributeValueType": "BOOLEAN"
},
"languagesSpoken": {
"attributeId": "languagesSpoken",
"attributeName": "Languages Spoken",
"possibleValues": [
{
"value": "Arabic",
"name": "Arabic"
},
{
"value": "English",
"name": "English"
},
{
"value": "French",
"name": "French"
},
{
"value": "Spanish",
"name": "Spanish"
}
],
"columnId": 20170,
"attributeValueType": "MULTI_SELECT"
}
}
},
"policies": {
"policies": {
"checkinTime": {
"attributeId": "checkinTime",
"attributeName": "Check-In Time",
"possibleValues": [],
"columnId": 20173,
"attributeValueType": "TIME"
},
"checkoutTime": {
"attributeId": "checkoutTime",
"attributeName": "Check-Out Time",
"possibleValues": [],
"columnId": 20174,
"attributeValueType": "TIME"
}
}
},
"parking": {
"parking": {
"parkingAvailable": {
"attributeId": "parkingAvailable",
"attributeName": "Parking available",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20097,
"attributeValueType": "BOOLEAN"
},
"freeParking": {
"attributeId": "freeParking",
"attributeName": "Free parking",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20098,
"attributeValueType": "BOOLEAN"
}
}
},
"business": {
"business": {
"meetingRooms": {
"attributeId": "meetingRooms",
"attributeName": "Meeting rooms",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20088,
"attributeValueType": "BOOLEAN"
},
"meetingRoomsCount": {
"attributeId": "meetingRoomsCount",
"attributeName": "Number of meeting rooms",
"possibleValues": [],
"columnId": 20172,
"attributeValueType": "INTEGER"
}
}
},
"sustainability": {
"energyEfficiency": {
"energyConservationProgram": {
"attributeId": "energyConservationProgram",
"attributeName": "Energy conservation program",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20134,
"attributeValueType": "BOOLEAN"
}
}
},
"property": {
"property": {
"builtYear": {
"attributeId": "builtYear",
"attributeName": "Built Year",
"possibleValues": [],
"columnId": 20177,
"attributeValueType": "YEAR"
},
"lastRenovatedYear": {
"attributeId": "lastRenovatedYear",
"attributeName": "Last Renovated Year",
"possibleValues": [],
"columnId": 20178,
"attributeValueType": "YEAR"
},
"roomsCount": {
"attributeId": "roomsCount",
"attributeName": "Rooms Count",
"possibleValues": [],
"columnId": 20179,
"attributeValueType": "INTEGER"
},
"floorsCount": {
"attributeId": "floorsCount",
"attributeName": "Floors Count",
"possibleValues": [],
"columnId": 20180,
"attributeValueType": "INTEGER"
}
}
}
}
}{
"code": 2285,
"message": "Invalid text message number"
}{
"code": 1161,
"message": "Invalid API key"
}{
"code": 89,
"message": "Rate limit exceeded"
}Listing
Get Hotel Attributes
The Get Hotel Attributes API fetches the list of applicable hotel attributes configured for the selected business.
GET
/
v1
/
listing
/
get
/
hotel-attributes
Get Hotel Attributes
curl --request GET \
--url https://api.birdeye.com/resources/v1/listing/get/hotel-attributesimport requests
url = "https://api.birdeye.com/resources/v1/listing/get/hotel-attributes"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.birdeye.com/resources/v1/listing/get/hotel-attributes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.birdeye.com/resources/v1/listing/get/hotel-attributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.birdeye.com/resources/v1/listing/get/hotel-attributes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.birdeye.com/resources/v1/listing/get/hotel-attributes")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/listing/get/hotel-attributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"hotelAttributes": {
"services": {
"services": {
"frontDesk": {
"attributeId": "frontDesk",
"attributeName": "Front desk",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20001,
"attributeValueType": "BOOLEAN"
},
"twentyFourHourFrontDesk": {
"attributeId": "twentyFourHourFrontDesk",
"attributeName": "Twenty four hour front desk",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20002,
"attributeValueType": "BOOLEAN"
},
"giftShop": {
"attributeId": "giftShop",
"attributeName": "Gift shop",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20011,
"attributeValueType": "BOOLEAN"
},
"languagesSpoken": {
"attributeId": "languagesSpoken",
"attributeName": "Languages Spoken",
"possibleValues": [
{
"value": "Arabic",
"name": "Arabic"
},
{
"value": "English",
"name": "English"
},
{
"value": "French",
"name": "French"
},
{
"value": "Spanish",
"name": "Spanish"
}
],
"columnId": 20170,
"attributeValueType": "MULTI_SELECT"
}
}
},
"policies": {
"policies": {
"checkinTime": {
"attributeId": "checkinTime",
"attributeName": "Check-In Time",
"possibleValues": [],
"columnId": 20173,
"attributeValueType": "TIME"
},
"checkoutTime": {
"attributeId": "checkoutTime",
"attributeName": "Check-Out Time",
"possibleValues": [],
"columnId": 20174,
"attributeValueType": "TIME"
}
}
},
"parking": {
"parking": {
"parkingAvailable": {
"attributeId": "parkingAvailable",
"attributeName": "Parking available",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20097,
"attributeValueType": "BOOLEAN"
},
"freeParking": {
"attributeId": "freeParking",
"attributeName": "Free parking",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20098,
"attributeValueType": "BOOLEAN"
}
}
},
"business": {
"business": {
"meetingRooms": {
"attributeId": "meetingRooms",
"attributeName": "Meeting rooms",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20088,
"attributeValueType": "BOOLEAN"
},
"meetingRoomsCount": {
"attributeId": "meetingRoomsCount",
"attributeName": "Number of meeting rooms",
"possibleValues": [],
"columnId": 20172,
"attributeValueType": "INTEGER"
}
}
},
"sustainability": {
"energyEfficiency": {
"energyConservationProgram": {
"attributeId": "energyConservationProgram",
"attributeName": "Energy conservation program",
"possibleValues": [
{
"value": true,
"name": "Available"
},
{
"value": false,
"name": "Not Available"
}
],
"columnId": 20134,
"attributeValueType": "BOOLEAN"
}
}
},
"property": {
"property": {
"builtYear": {
"attributeId": "builtYear",
"attributeName": "Built Year",
"possibleValues": [],
"columnId": 20177,
"attributeValueType": "YEAR"
},
"lastRenovatedYear": {
"attributeId": "lastRenovatedYear",
"attributeName": "Last Renovated Year",
"possibleValues": [],
"columnId": 20178,
"attributeValueType": "YEAR"
},
"roomsCount": {
"attributeId": "roomsCount",
"attributeName": "Rooms Count",
"possibleValues": [],
"columnId": 20179,
"attributeValueType": "INTEGER"
},
"floorsCount": {
"attributeId": "floorsCount",
"attributeName": "Floors Count",
"possibleValues": [],
"columnId": 20180,
"attributeValueType": "INTEGER"
}
}
}
}
}{
"code": 2285,
"message": "Invalid text message number"
}{
"code": 1161,
"message": "Invalid API key"
}{
"code": 89,
"message": "Rate limit exceeded"
}Headers
e.g. application/json
e.g. [Required] Partner specific API key provided by Birdeye for data exchange.
e.g. [Required] Business Number for which hotel attributes are to be fetched.
Response
OK
This is a dynamic field. Depends upon the hotel attributes supported for the selected business.
Show child attributes
Show child attributes