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 attentionfind_pros,book_service,list_bookings,cancel_booking: book and manage the work
REST endpoints
| Method and path | What it does | Key |
|---|---|---|
| POST /api/v1/plan | Obligations for a building | None |
| GET /api/v1/sites | List sites with obligations | Pro |
| POST /api/v1/sites | Add a site | Pro |
| GET /api/v1/sites/{id} | One site: obligations, records and open bookings | Pro |
| GET /api/v1/pros | Verified pros for a job | Pro |
| GET /api/v1/bookings | List bookings | Pro |
| POST /api/v1/bookings | Book a service | Pro |
| GET /api/v1/bookings/{id} | One booking | Pro |
| POST /api/v1/bookings/{id}/cancel | Cancel a booking | Pro |
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.