Guesty
Seamlessly integrate Guesty with your favorite APIs, databases, and programming languages, using WayScript.
Guesty Simplifies Rental Management Tools

Setup

To setup Guesty, you'll need your API Token generated from your Guesty. To get this token, you can follow the instructions provided by Guesty.

Modes

📖
List All Listings

📤
Output

1
All_Listings = {
2
"results": [
3
{
4
"_id": String,
5
"accommodates": Int,
6
"bedrooms": Int,
7
"beds": Int,
8
"bathrooms": Int,
9
"defaultCheckInTime": String,
10
"defaultCheckOutTime": String,
11
"propertyType": String,
12
"roomType": String,
13
"timezone": String,
14
"nickname": String,
15
"title": String,
16
"accountId": String,
17
"occupancyStats": [],
18
"preBooking": [],
19
"importedAt": String,
20
"offeredServices": [],
21
"calendarRules": {
22
"rentalPeriods": [],
23
"seasonalMinNights": []
24
},
25
"customFields": [],
26
"active": Bool,
27
"receptionistsService": {},
28
"sales": {
29
"salesService": {
30
"atPhones": []
31
}
32
},
33
"pms": {
34
"active": Bool,
35
"cleaningStatus": {},
36
"autoPayments": {
37
"policy": []
38
},
39
"tasks": {
40
"defaultTasks": []
41
},
42
"automation": {
43
"autoList": {},
44
"autoPricing": {},
45
"autoReviews": {},
46
"homeAutomation": {},
47
"calendarSmartRules": {},
48
"hooks": {},
49
"answeringMachine": {}
50
}
51
},
52
"prices": {
53
"currency": String,
54
"basePrice": Int,
55
"guestsIncludedInRegularFee": Int,
56
"weeklyPriceFactor": Float,
57
"monthlyPriceFactor": Float,
58
"cleaningFee": Int,
59
"securityDepositFee": Int,
60
"extraPersonFee": Int
61
},
62
"terms": {
63
"minNights": Int,
64
"maxNights": Int
65
},
66
"amenitiesNotIncluded": [],
67
"amenities": [],
68
"pictures": [],
69
"picture": {
70
"thumbnail": Url
71
},
72
"address": {},
73
"tags": [ String ],
74
"pendingTasks": [],
75
"integrations": [],
76
"SaaS": {
77
"autoRenew": Bool
78
},
79
"createdAt": String,
80
"__v": Int,
81
"isListed": Bool,
82
"cleaningStatus": {
83
"value": String
84
},
85
"publishedAddress": {},
86
"cleaning": {},
87
"publicDescription": {}
88
}
89
],
90
"title": String,
91
"count": Int,
92
"fields": String,
93
"limit": Int,
94
"skip": Int
95
}
Copied!

💸
Retrieve Listing Financials

📥
Inputs

  • Listing ID - Guesty Property Listing ID

📤
Output

1
Listing_Finc = {
2
"guestsIncludedInRegularFee": Int,
3
"currency": String,
4
"basePriceUSD": Int,
5
"basePrice": Int,
6
"securityDepositFee": null,
7
"extraPersonFee": Int,
8
"weeklyPriceFactor": Float,
9
"monthlyPriceFactor": Float,
10
"cleaningFee": {
11
"lastUpdated": Datetime,
12
"value": {
13
"valueType": String,
14
"multiplier": String,
15
"formula": Int
16
},
17
"airbnb": {
18
"value": {
19
"formula": Int,
20
"multiplier": String,
21
"valueType": String,
22
"_id": String
23
}
24
},
25
"rentalsUnited": {
26
"status": String,
27
"value": {
28
"valueType": String,
29
"multiplier": String,
30
"formula": Int,
31
"_id": String
32
},
33
"homeAway": {
34
"value": {
35
"formula": Int,
36
"valueType": String,
37
"multiplier": String,
38
"_id": String
39
}
40
},
41
"expedia": {
42
"value": {
43
"formula": Int,
44
"valueType": String,
45
"multiplier": String,
46
"_id": String
47
}
48
},
49
"despegar": {
50
"value": {
51
"formula": Int,
52
"valueType": String,
53
"multiplier": String,
54
"_id": String
55
}
56
},
57
"bookingCom": {
58
"value": {
59
"formula": Int,
60
"valueType": String,
61
"multiplier": String,
62
"_id": String
63
}
64
}
65
}
66
}
67
}
Copied!

📆
Get Listing Calendar

📥
Inputs

  • Start Date - Start Date to Query Calendar. Format: YYYY-MM-DD
  • End Date - Ending Date to Query Calendar. Format: YYYY-MM-DD

📤
Output

1
listing_Cald = {
2
"status": Int,
3
"data": {
4
"days": [
5
{
6
"date": String,
7
"listingId": String,
8
"currency": String,
9
"price": Int,
10
"isBasePrice": Bool,
11
"minNights": Int,
12
"isBaseMinNights": Bool,
13
"status": String,
14
"blocks": {
15
"m": Bool,
16
"r": Bool,
17
"b": Bool,
18
"bd": Bool,
19
"sr": Bool,
20
"abl": Bool,
21
"a": Bool,
22
"bw": Bool,
23
"o": Bool,
24
"pt": Bool
25
},
26
"blockRefs": [
27
{
28
"_id": String,
29
"reservation": {
30
"listing": {
31
"timezone": String,
32
"defaultCheckInTime": String
33
},
34
"money": {
35
"currency": String,
36
"hostPayout": Float,
37
"totalPaid": Int,
38
"balanceDue": Float
39
},
40
"guest": {
41
"_id": String
42
},
43
"integration": {
44
"platform": String
45
},
46
"_id": String,
47
"status": String,
48
"checkIn": Datetime,
49
"checkOut": Datetime,
50
"nightsCount": Int,
51
"guestsCount": Int,
52
"listingId": String,
53
"checkInDateLocalized": String,
54
"checkOutDateLocalized": String,
55
"accountId": String,
56
"guestId": String,
57
"source": String,
58
"confirmationCode": String
59
},
60
"listingId": String,
61
"startDate": String,
62
"endDate": String,
63
"type": String,
64
"reservationId": String
65
}
66
],
67
"reservationId": String,
68
"reservation": {
69
"listing": {
70
"timezone": String,
71
"defaultCheckInTime": String
72
},
73
"money": {
74
"currency": String,
75
"hostPayout": Float,
76
"totalPaid": float,
77
"balanceDue": Float
78
},
79
"guest": {
80
"_id": String
81
},
82
"integration": {
83
"platform": String
84
},
85
"_id": String,
86
"status": String,
87
"checkIn": Datetime,
88
"checkOut": Datetime,
89
"nightsCount": Int,
90
"guestsCount": Int,
91
"listingId": String,
92
"checkInDateLocalized": String,
93
"checkOutDateLocalized": String,
94
"accountId": String,
95
"guestId": String,
96
"source": String,
97
"confirmationCode": String
98
},
99
"cta": Bool,
100
"ctd": Bool
101
},
102
{
103
"date": String,
104
"listingId": String,
105
"currency": String,
106
"price": Float,
107
"isBasePrice": Bool,
108
"minNights": Int,
109
"isBaseMinNights": Bool,
110
"status": String,
111
"blocks": {
112
"m": Bool,
113
"r": Bool,
114
"b": Bool,
115
"bd": Bool,
116
"sr": Bool,
117
"abl": Bool,
118
"a": Bool,
119
"bw": Bool,
120
"o": Bool,
121
"pt": Bool
122
},
123
"blockRefs": [],
124
"cta": Bool,
125
"ctd": Bool
126
}
127
]
128
},
129
"message": String
130
}
131
Copied!
Last modified 7mo ago