Public Data API

This site provides public product data via a read-only API.

SHOP API

Endpoint

https://www.beer-house.ro/shop/api/products

Example

https://www.beer-house.ro/shop/api/products?p=1

Query parameters

Response

JSON format.

AUTOMATION API

Endpoint

https://www.beer-house.ro/automation/api/mcp

Protocol

MCP (Model Context Protocol) — JSON-RPC 2.0 over HTTP POST
Content-Type: application/json

Example — initialize

POST https://www.beer-house.ro/automation/api/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2024-11-05",
    "capabilities": {},
    "clientInfo": { "name": "my-agent", "version": "1.0" }
  }
}

Example — list tools

{ "jsonrpc": "2.0", "id": 2, "method": "tools/list" }

Example — call tool

{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "search_products",
    "arguments": { "q": "shoes", "p": 1 }
  }
}

Tools

Listed per module at https://www.beer-house.ro/automation/api/mcp