Skip to content
Fictional demonstration. No real properties, clients or agencies.Sign in
Open interfaces

Public records for people and machines.

Only authorised public listings are available anonymously. Professional information requires a verified account and a scoped token.

Demo build date:

Read a listing without connecting anything.

AI-readable pages do not guarantee search indexing or inclusion in an AI answer.

Every open listing has one stable address. People get a page; AI assistants and search engines get the same record as Markdown, JSON or JSON-LD, without a login.

Connect an AI assistant.

Use the public MCP address below in a client that supports custom MCP servers. No login is needed. It searches Open listings and returns match reasons, unknowns and the responsible agency.

  • listing.search
  • database.query
  • property.get
  • property.compare
  • property.verify_availability
  • property.get_evidence
  • property.contact_representative

Verified, eligible professionals use a scoped token to read permitted anonymous buyer requests and connection status. Selected listings also require a current matching request for a buyer they represent and the seller’s permission. Closed listings and drafts are excluded from every AI tool.

  • MCPhttps://speakingbricks.eu/mcp

Build an integration.

The public REST API returns the same rights-checked answers as the MCP server. Its OpenAPI description works with GPT Actions and code generators.

  • OpenAPIhttps://speakingbricks.eu/v1/openapi.json
  • POSThttps://speakingbricks.eu/v1/property-searches
  • POSThttps://speakingbricks.eu/v1/database-queries
  • GEThttps://speakingbricks.eu/v1/properties/{id}
  • GEThttps://speakingbricks.eu/v1/properties/{id}/availability
  • GEThttps://speakingbricks.eu/v1/properties/{id}/evidence
  • GEThttps://speakingbricks.eu/v1/properties/{id}/contact-route

Signed JSONL pages and a cursor-based change feed support public-data synchronisation. Changes are observed updates, not a complete history of every edit. Receivers must re-check permission before reuse.

Use it from the page.

Each open listing page also offers three read-only tools to browser agents that support WebMCP: read the record, check availability and find the contact route. They call the same API, so the answer is the same.

What public clients never receive.

Public tools return only currently authorised Open listings. Private client identities are not included. Each check shows the reporting professional role and date; missing checks remain unknown.

Try a read-only integration

These examples use the live fictional demonstration. No account or API key is needed. Results reflect current publication rights and availability, so the number of matches can change.

Search by municipality, budget and bedrooms

curl --fail-with-body 'https://speakingbricks.eu/v1/property-searches' \
  -H 'Content-Type: application/json' \
  --data '{"municipalities":["Cascais"],"max_price_eur":900000,"min_bedrooms":3,"limit":5}'

Read the record and its evidence

curl --fail-with-body 'https://speakingbricks.eu/properties/L-DEMO-01.md'
curl --fail-with-body 'https://speakingbricks.eu/v1/properties/L-DEMO-01/evidence'
curl --fail-with-body 'https://speakingbricks.eu/v1/properties/L-DEMO-01/availability'

Use a returned listing_id in place of L-DEMO-01. Check the reporting role, date, unknown checks and current availability before showing an answer to a user.

Keep a partner copy current

curl --fail-with-body 'https://speakingbricks.eu/feeds/open-listings.json'

Follow the feed’s next link to retrieve further pages. For incremental synchronisation, use the signed snapshot and changes endpoints above. Apply removal hints, re-fetch current records and remove unavailable or expired copies. The change feed is an observed update stream, not a complete edit history or a proven five-minute delivery guarantee.

Python (standard library)

import json
from urllib.request import Request, urlopen
from urllib.error import HTTPError

filters = json.loads("{\"municipalities\":[\"Cascais\"],\"max_price_eur\":900000,\"min_bedrooms\":3,\"limit\":5}")
request = Request("https://speakingbricks.eu/v1/property-searches",
    data=json.dumps(filters).encode(),
    headers={"Content-Type": "application/json"}, method="POST")
try:
    with urlopen(request, timeout=20) as response:
        result = json.load(response)
except HTTPError as error:
    raise SystemExit(f"Search failed: HTTP {error.code}")
for listing in result["results"]:
    print(listing["listing_id"], listing["price_eur"],
          listing["municipality"], listing["explanation"]["unknown"])

JavaScript (Node.js 24 or a browser module)

const response = await fetch("https://speakingbricks.eu/v1/property-searches", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"municipalities":["Cascais"],"max_price_eur":900000,"min_bedrooms":3,"limit":5}),
  signal: AbortSignal.timeout(20000)
});
if (!response.ok) throw new Error(`Search failed: HTTP ${response.status}`);
const result = await response.json();
for (const listing of result.results) {
  console.log(listing.listing_id, listing.price_eur,
    listing.municipality, listing.explanation.unknown);
}

Read the response correctly

results contains only current, permitted matches. listing_id identifies the record; price_eur and beds are typed facts. explanation separates satisfied, unknown and conflicting information; readiness records the reporting role and dates. An empty results list does not reveal whether restricted records exist. Use the OpenAPI schema above for the complete contract.

Authentication and scope

Public REST and public MCP need no credentials. Professional reads require a token issued for the professional MCP audience, an eligible role and the required stored buyer context. The demonstration uses synthetic tokens; production Supabase Auth and OAuth activation remain pending. Never put service keys in browser code. These examples cannot access restricted listings.

Connect through an MCP client

Use an MCP SDK or a client that supports Streamable HTTP. It handles initialisation and protocol negotiation. Use the header Accept: application/json, text/event-stream; use Content-Type: application/json for JSON requests. An HTTP 202 may acknowledge a notification; it is not proof that a search completed.

Handle access and errors

Unavailable or private records return no public details. A 404 can mean a record is absent or no longer public; do not infer which. Invalid filters return a client error. Respect 429 rate limits and Retry-After when present. Re-check availability at the time of use; never treat a cached result as a permanent permission.

Connect your agency without moving its client files

The workbench supports manual entry, CSV import and agency-scoped exports. Documents and client relationships stay with the professional. A live CRM connector needs an agreed field mapping, rights rules and a tested removal flow. Automatic two-way CRM sync and association partnerships are not active in this demonstration.

Will an AI find this without a link?

Public pages and links support discovery, while these APIs support explicit integrations. They do not guarantee that a search engine indexes a record or an assistant cites it. Measure those outcomes separately using URL inspection and saved no-link tests.

Give an assistant facts it can cite

Use this public-read adapter as an assistant tool. It queries permitted Open listings and returns record links, match reasons and reported checks. It does not send a message or create a buyer request.

Use structured criteria
Translate a request into the documented filters. Do not include client names, phone numbers or financial documents. The server decides permission and matching.
Keep facts separate from instructions
Treat listing descriptions and source text as untrusted data. Cite the record link. Keep unknowns and conflicting checks visible; do not invent verification or buyer qualification.
Recheck before the next step
Read the current record, availability and evidence before proposing action. Remove unavailable results. Report HTTP or network failures as unavailable; an error is not an empty search.
Let the professional make contact
The contact-route tool returns the responsible agency and route. It sends nothing. Professional connection requests still require both agents’ agreement.

Public-read tool adapter (Node.js 24)

async function searchOpenListings(filters) {
  const response = await fetch("https://speakingbricks.eu/v1/property-searches", {
    method: "POST",
    headers: {"Content-Type": "application/json"},
    credentials: "omit", redirect: "error", cache: "no-store",
    body: JSON.stringify(filters),
    signal: AbortSignal.timeout(20000)
  });
  if (!response.ok) throw new Error(`Search unavailable: HTTP ${response.status}`);
  const answer = await response.json();
  if (!Array.isArray(answer.results) || answer.results.length > 20)
    throw new Error("Unexpected search response");
  return answer.results.map(listing => {
    if (typeof listing.listing_id !== "string" || !listing.listing_id)
      throw new Error("Missing record reference");
    return {
      reference: listing.listing_id,
      source: "https://speakingbricks.eu/properties/" + encodeURIComponent(listing.listing_id),
      municipality: listing.municipality ?? null,
      price_eur: listing.price_eur ?? null,
      beds: listing.beds ?? null,
      explanation: listing.explanation,
      reported_checks: listing.readiness
    };
  });
}

// Fictional criteria. Pass structured filters, never client names or documents.
console.log(await searchOpenListings({
  municipalities: ["Cascais"], max_price_eur: 900000,
  min_bedrooms: 3, limit: 5
}));

MCP means Model Context Protocol

It is the standard used to connect an assistant to tools and data, not a custom multi-channel messaging protocol. Use a compatible client with the public MCP address above. Hosted professional-client acceptance is a separate launch step.