Skip to content
PremiseBay

API and MCP

Property management and insurance software can ask what a building owes and book the work. The checker is open to anyone; acting on an account needs a Pro API key from Settings.

Try it without a key

curl -s https://www.premisebay.com/api/v1/plan \
  -H 'content-type: application/json' \
  -d '{"state":"TX","city":"Houston","equipment":[{"serviceId":"backflow-testing","lastDone":"2025-11-01"}]}'

The answer lists each obligation with its interval, next due date, status, the rule and its sources, who may do the work and how the report is filed.

MCP

The MCP server speaks streamable HTTP and answers with JSON. Add it to any MCP client. plan_obligations works without a key.

claude mcp add --transport http premisebay https://www.premisebay.com/api/mcp \
  --header "Authorization: Bearer pb_live_..."
  • plan_obligations: what a building owes, with sources (no key)
  • list_sites, get_site, list_overdue: your buildings and what needs attention
  • find_pros, book_service, list_bookings, cancel_booking: book and manage the work

REST endpoints

Method and pathWhat it doesKey
POST /api/v1/planObligations for a buildingNone
GET /api/v1/sitesList sites with obligationsPro
POST /api/v1/sitesAdd a sitePro
GET /api/v1/sites/{id}One site: obligations, records and open bookingsPro
GET /api/v1/prosVerified pros for a jobPro
GET /api/v1/bookingsList bookingsPro
POST /api/v1/bookingsBook a servicePro
GET /api/v1/bookings/{id}One bookingPro
POST /api/v1/bookings/{id}/cancelCancel a bookingPro

The full description, with request and response shapes, is at /openapi.json. Errors are JSON with a sentence in error and a stable code. Limits: 60 plan requests a minute per address, 30 bookings an hour per account.