openHAB REST API vs Home Assistant REST, WebSocket and MCP APIs
openHAB REST APIby openHABPaid fromNot statedAccessHTTP, SDK, Hosted UIAgentsNot agent-friendlyAPI QA score[SCORE]View API
Home Assistant REST, WebSocket and MCP APIsby Home AssistantPaid fromNot statedAccessHTTP, MCP, WebhooksAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
15 different5 stated by only one1 the same on both
The basics
What it isopenHAB REST API: REST API served by each user's own openHAB server: read and command items, manage things, rules, persistence and add-ons; reachable remotely through the free myopenHAB cloud relayHome Assistant REST, WebSocket and MCP APIs: Open-source home automation server the owner runs at home; its REST and WebSocket APIs and built-in MCP server read entity states and history and call services that control the owner's devices
AccessopenHAB REST API: HTTP, SDK, Hosted UIHome Assistant REST, WebSocket and MCP APIs: HTTP, MCP, Webhooks
Still on saleopenHAB REST API: YesHome Assistant REST, WebSocket and MCP APIs: Yes
What they work on
BothConnected device
Only one of themopenHAB REST API: Alert ruleHome Assistant REST, WebSocket and MCP APIs: Device event
Buying and paying
Agent gets a key aloneopenHAB REST API: NoAPI tokens are made by the admin on their own serverHome Assistant REST, WebSocket and MCP APIs: Noowner creates the token or approves OAuth
First call without a keyopenHAB REST API: Not statedHome Assistant REST, WebSocket and MCP APIs: No
Payment railsopenHAB REST API: nonefree; donationsHome Assistant REST, WebSocket and MCP APIs: none
Payment protocolsopenHAB REST API: nonefreeHome Assistant REST, WebSocket and MCP APIs: none
Subscription requiredopenHAB REST API: NofreeHome Assistant REST, WebSocket and MCP APIs: No
Smallest purchase (USD)openHAB REST API: From $0freeHome Assistant REST, WebSocket and MCP APIs: From $0
Price published as dataopenHAB REST API: Nono priceHome Assistant REST, WebSocket and MCP APIs: No
Test purchasesopenHAB REST API: Not statedHome Assistant REST, WebSocket and MCP APIs: No
Reading and signing up
Public pricesopenHAB REST API: Yes'We are offering this service completely for free' (myopenHAB)Home Assistant REST, WebSocket and MCP APIs: Yessoftware free; Home Assistant Link $6.50 a month
Self-serve sign-upopenHAB REST API: Yesdownload; myopenHAB 'Register'Home Assistant REST, WebSocket and MCP APIs: Yesinstall; long-lived token from the user profile
Free useopenHAB REST API: Yesopen source; free cloud relayHome Assistant REST, WebSocket and MCP APIs: Yesopen source
OpenAPIopenHAB REST API: YesREST docs page in the openHAB docs (served from the user's own server)Home Assistant REST, WebSocket and MCP APIs: NoREST and WebSocket docs, no spec found
Docs without loginopenHAB REST API: Yesdocs publicHome Assistant REST, WebSocket and MCP APIs: Yes
Docs as MarkdownopenHAB REST API: NoAccept: text/markdown returned HTML on https://www.openhab.org/docs/configuration/restdocs.htmlHome Assistant REST, WebSocket and MCP APIs: Yesdevelopers.home-assistant.io returned text/markdown
MCP
Vendor MCP serveropenHAB REST API: Not statedHome Assistant REST, WebSocket and MCP APIs: Yes'Model Context Protocol Server' integration in core since 2025.2
MCP server hosted by the vendoropenHAB REST API: Not statedHome Assistant REST, WebSocket and MCP APIs: Noserved by the owner's instance at /api/mcp; reachable from outside through Home Assistant Link or the owner's own setup
MCP sign-inopenHAB REST API: Not statedHome Assistant REST, WebSocket and MCP APIs: Signs in with OAuthOAuth 2.0 with PKCE, Client ID Metadata Documents
Jobs both do
Open a job to see every API that does it.

