Cape May Beach Houses

Booking API for Cape May Beach Houses

Check availability, price a stay and send a request to book. Full contract: openapi.json.

List booked dates for a house

curl 'https://capemaybeachhouses.com/api/availability?house=824-stockton'

Booked dates as Markdown

curl https://capemaybeachhouses.com/824-stockton/availability.md

Price and rule check for a stay

curl 'https://capemaybeachhouses.com/api/quote?house=824-stockton&checkin=2027-09-11&checkout=2027-09-18'

Send a request to book

curl -X POST https://capemaybeachhouses.com/api/inquire \
  -H 'Content-Type: application/json' \
  -d '{"house":"824-stockton","checkin":"2027-09-11","checkout":"2027-09-18","guests":10,"name":"Jane Smith","email":"jane@example.com","phone":"215-555-0134","message":"Two families"}'

Houses

Use the house slug: 824-stockton, 220-south-lafayette, 918-columbia. Houses without instant prices return quote: null; the owners email an exact quote 5% below Vrbo.

Errors

Errors use application/problem+json with type, title, status and detail. Validation errors also include problems, a list of plain-English fixes (for example the 3-night minimum or the Saturday-to-Saturday summer rule). A 409 means some nights are already booked.

Versioning

This is version 1 of the API. Responses carry an API-Version: 1 header. Breaking changes will ship under /api/v2/…, and v1 will keep working for at least 90 days after a change is announced here.

Usage

No API key is needed. Availability is cached for 30 minutes. Send one booking request per guest and trip, and only with the guest's permission: requests are read by the owners.