Price is more difficult, especially when prices change based on occupancy or length of stay, in this case the exact price can only be shown once the stay dates and occupancy are known.
If the property has a simple pricing structure using daily Daily prices, these can be read with JSON getRoomDatesand their setup with JSON getDailyPriceSetup
Rates can be read with JSON getRates
These should be read approximately once per hour and stored on your server. Your server can use the data to respond to searches quickly without requiring API calls.
Only once a selection of room type, dates and occupancy has been made, make a live call to JSON getAvailabilities to check the data is still current.
In the unlikely event that it has changed or the room has been sold, you can display a "Sorry this selection has just been booked" message and offer another search
== Price and Availability on demand ==