Skip to main content
Version: 1.0.0

Booking Brain Developer API

The Booking Brain Developer API gives you full programmatic access to holiday rental property search, availability, pricing, booking, and payment — everything you need to build a custom booking experience on top of the Booking Brain platform.

Authentication

Every request must include an X-API-Key header. Keys are issued per-client and scoped to specific IP addresses and origins.

X-API-Key: YOUR_API_KEY

Keys are issued per-client by the Booking Brain team — contact support@bookingbrain.co.uk to request one. There is no public sandbox key, and all keys operate against live data: booking and payment endpoints create real bookings and charge real cards.

Rate Limiting

Each API key has a configurable rate limit. When you exceed it, the API returns 429 Too Many Requests with a Retry-After header indicating how many seconds to wait before retrying.

Pagination

List endpoints return paginated results. Use page (1-based) and limit query parameters to navigate. Response metadata includes total, page, limit, and totalPages (or equivalent fields).

Error Handling

All errors follow a consistent shape:

{
"statusCode": 403,
"message": "Forbidden",
"error": "Forbidden"
}

Validation errors (422) return message as an array of human-readable strings.

Typical Booking Flow

  1. SearchGET /developer/search to find properties
  2. DetailGET /developer/properties/{id} for full listing info
  3. AvailabilityGET /developer/properties/{id}/unavailableDates to populate a calendar
  4. PricingPOST /developer/properties/{id}/get-price to calculate the total
  5. BookPOST /developer/bookings/save to create the reservation
  6. PayPOST /developer/bookings/processPayment to charge the guest's card

Authentication

API key issued per client by the Booking Brain team. Include in every request as the X-API-Key header.

Security Scheme Type:

apiKey

Header parameter name:

X-API-Key