QuoteBeacon is built to be simple for business owners and open for developers. Everything on this page works today on every plan. You never need any of it for normal use: it's here when you want to connect QuoteBeacon to your own tools or AI agent.
Your install code is on your account page (Add it to your website). It is a div plus one script. Step-by-step guides for WordPress, Wix, Squarespace, Shopify and GoDaddy: install guide.
<div class="quotebeacon" data-site="qb-YOURSITE" data-template="roofing" data-business="Your Business"></div>
<script src="https://outboundzero.com/quotebeacon/qb.js" defer></script>
<div class="quotebeacon" data-mode="popup" data-site="qb-YOURSITE" data-template="roofing"></div>
<script src="https://outboundzero.com/quotebeacon/qb.js" defer></script>
Tip: add ?quotebeacon or #quotebeacon to any page link to open the popup automatically.
Useful for page builders that only allow a script. Put the settings on the script tag and point data-container at a CSS selector:
<div id="get-a-price"></div>
<script src="https://outboundzero.com/quotebeacon/qb.js" data-container="#get-a-price"
data-site="qb-YOURSITE" data-template="roofing" defer></script>
Render the div, then call window.QuoteBeacon.boot() (mounts every new .quotebeacon element) or window.QuoteBeacon.mount(element).
Add a Custom HTML block where you want the estimator and paste your install code (or put option B in your footer). Full steps: install guide. Rather not touch your site? We install it for you, free, on every plan.
Set these on the .quotebeacon div (or on the script tag when you use data-container). Your prices, services and currency come from your account automatically; attributes are optional overrides.
| Attribute | What it does |
|---|---|
data-site | Your site id (qb-...). Required: it links the estimator to your prices and leads. |
data-template | Trade template, e.g. roofing, landscaping, cleaning, plumbing (25 trades). |
data-business, data-phone | Business name and phone shown to visitors. |
data-areas | Postal code prefixes you serve, e.g. B0J, B3H. Visitors outside get a friendly note (they can still send a request). |
data-currency | 3-letter currency code (116 supported), e.g. USD, EUR, GBP, AUD. Normally set in your price editor. |
data-lang | en, fr or auto (uses the visitor's browser language). |
data-accent / data-color | Accent colour, e.g. #0a7d33. |
data-mode="popup" | Floating button + popup instead of an inline estimator. |
data-label, data-position | Popup only: button text, and left or right corner. |
data-container | Script tag only: CSS selector of the element to mount into (option C). |
data-config | Advanced: a full estimator config as JSON (same shape as the config export). Overrides your saved prices on that page only. |
Removing the "Powered by QuoteBeacon" line is a Tier 3 feature and is added to your install code automatically.
The estimator runs in a Shadow DOM so your site's CSS can't break it. You can still theme it with CSS custom properties on the .quotebeacon element (or any parent):
.quotebeacon {
--qb-accent: #0a7d33; /* buttons, header, highlights */
--qb-font: "Inter", system-ui, sans-serif;
--qb-radius: 8px; /* card corners */
--qb-max-width: 640px; /* card width */
}
/* the card itself is exposed as a CSS part */
.quotebeacon::part(card) { box-shadow: none; border-color: #cbd5e1; }| Call | What it does |
|---|---|
QuoteBeacon.open() | Opens the popup estimator (popup mode). |
QuoteBeacon.close() | Closes it. |
QuoteBeacon.boot() | Mounts any new .quotebeacon elements on the page. |
QuoteBeacon.mount(el) | Mounts one element. |
QuoteBeacon.version | Widget version. |
Events are fired on the estimator element and bubble up to document and window:
| Event | When | event.detail |
|---|---|---|
quotebeacon:estimate | A visitor sees a price range | site, service, size, extras, estimate_low, estimate_high, currency (no personal data) |
quotebeacon:lead | A visitor sends a request | Everything they submitted (incl. name, phone, email), lead_id, and analytics = {site, lead_id, service} |
window.addEventListener('quotebeacon:estimate', function (e) {
window.dataLayer = window.dataLayer || [];
dataLayer.push({ event: 'qb_estimate', service: e.detail.service, value: e.detail.estimate_low, currency: e.detail.currency });
});
window.addEventListener('quotebeacon:lead', function (e) {
// Send only the analytics part to analytics tools: no names, phones or emails.
dataLayer.push({ event: 'qb_lead', ...e.detail.analytics });
});
Privacy: the quotebeacon:lead detail contains the visitor's contact details so your own page can use them (for example a thank-you message). Don't forward them to analytics or ad tools; use e.detail.analytics.
QuoteBeacon has a remote MCP server (Model Context Protocol, Streamable HTTP), so AI assistants can read your leads, update their status, and check or change your prices when you ask. It works with Claude, ChatGPT and other tools that support MCP or REST APIs. QuoteBeacon is not affiliated with or endorsed by these companies.
MCP server URL: https://outboundzero.com/quotebeacon/api/mcp.php
https://outboundzero.com/quotebeacon/api/mcp.php?t=YOUR_API_KEY as the link.Custom connectors depend on your Claude plan; see Claude's help centre if you don't see the option. Tier 2 and up also get a ready-made Lead Assistant skill on the Connect to Claude page.
claude mcp add --transport http quotebeacon https://outboundzero.com/quotebeacon/api/mcp.php \
--header "Authorization: Bearer qbk_YOUR_API_KEY"
Any MCP client that supports remote servers works the same way: URL above, header Authorization: Bearer qbk_....
https://outboundzero.com/quotebeacon/openapi.json.?t=YOUR_API_KEY instead.Authorization: Bearer qbk_... against the REST API.When a new lead arrives, we POST it as JSON to your webhook address (https only). Set it, send a test, see the last 10 deliveries and copy your signing secret on the Developers page.
| Header | Value |
|---|---|
X-QuoteBeacon-Event | lead.created |
X-QuoteBeacon-Timestamp | Unix time (seconds) when it was sent |
X-QuoteBeacon-Signature | sha256= + hex HMAC-SHA256 of timestamp + "." + raw body, keyed with your signing secret (whsec_...) |
X-QuoteBeacon-Delivery | Unique delivery id |
{
"event": "lead.created",
"site_id": "qb-1a2b3c4d5e",
"lead_id": "8f3a91c2d4e5",
"timestamp": "2026-12-01T21:15:04-04:00",
"test": false,
"time": "2026-12-01T21:15:04-04:00",
"site": "qb-1a2b3c4d5e",
"business": "Your Business",
"trade": "Roofing",
"page": "https://yoursite.com/roofing",
"service": "Roof repair / leak fix",
"size": "Medium (1,200 to 2,000 sq ft)",
"extras": ["Gutter replacement"],
"postal": "B3H",
"estimate_low": 850,
"estimate_high": 2400,
"currency": "CAD",
"name": "Sam Example",
"phone": "+1 902 555 0100",
"email": "sam@example.com",
"consent": true,
"consent_text": "I agree that Your Business may contact me ...",
"over_cap": false,
"id": "8f3a91c2d4e5"
}
Test webhooks have "test": true and a made-up customer. We send each event once with a 5 second timeout and don't retry; failed deliveries show in your delivery log, and every lead is always in your leads page, email alert and the API. Reply with any 2xx status.
<?php
$secret = getenv('QB_WEBHOOK_SECRET'); // whsec_... from your Developers page
$raw = file_get_contents('php://input');
$ts = $_SERVER['HTTP_X_QUOTEBEACON_TIMESTAMP'] ?? '';
$sig = $_SERVER['HTTP_X_QUOTEBEACON_SIGNATURE'] ?? '';
$expected = 'sha256=' . hash_hmac('sha256', $ts . '.' . $raw, $secret);
if (!hash_equals($expected, $sig) || abs(time() - (int)$ts) > 300) { http_response_code(401); exit; }
$lead = json_decode($raw, true);
// ... save $lead ...
http_response_code(200);
const crypto = require('crypto');
const express = require('express');
const app = express();
app.post('/quotebeacon', express.raw({ type: 'application/json' }), (req, res) => {
const ts = req.get('X-QuoteBeacon-Timestamp') || '';
const sig = req.get('X-QuoteBeacon-Signature') || '';
const expected = 'sha256=' + crypto.createHmac('sha256', process.env.QB_WEBHOOK_SECRET)
.update(ts + '.' + req.body.toString('utf8')).digest('hex');
const ok = sig.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected)) &&
Math.abs(Date.now() / 1000 - Number(ts)) < 300;
if (!ok) return res.sendStatus(401);
const lead = JSON.parse(req.body.toString('utf8'));
// ... save lead ...
res.sendStatus(200);
});Base URL: https://outboundzero.com/quotebeacon/api/v1.php · Auth: Authorization: Bearer qbk_... (or X-API-Key: qbk_...) · JSON in and out · OpenAPI 3 spec
| Method and path | What it returns | Key |
|---|---|---|
GET /sites | Your sites (ids, business, trade, plan, monthly lead limit) | read |
GET /leads | Leads, newest first. since (date, ISO 8601 or Unix time), status, page, per_page (max 100) | read |
GET /lead?id= | One lead | read |
GET /config | Estimator setup: trade, currency, services, sizes, extras, prices | read |
GET /estimate?service=&size=&extras= | Price range, same maths as the widget (indexes or labels; extras comma-separated) | read |
POST /lead_status | Set status (new, contacted, quoted, won, lost) and optional job_value. Never emails anyone. | read + write |
Every request takes an optional site (needed only if your account has several sites). The query form also works: v1.php?r=leads.
# list leads from December
curl -H "Authorization: Bearer qbk_YOUR_KEY" \
"https://outboundzero.com/quotebeacon/api/v1.php/leads?since=2026-12-01&per_page=20"
# what would a visitor see?
curl -H "Authorization: Bearer qbk_YOUR_KEY" \
"https://outboundzero.com/quotebeacon/api/v1.php/estimate?service=0&size=1&extras=0"
# mark a lead as won (read + write key)
curl -X POST -H "Authorization: Bearer qbk_YOUR_KEY" -H "Content-Type: application/json" \
-d '{"id":"8f3a91c2d4e5","status":"won","job_value":12500}' \
"https://outboundzero.com/quotebeacon/api/v1.php/lead_status"
Errors are JSON with an HTTP status: {"error":{"code":"read_only_key","message":"..."}}. Codes include unauthorized (401), read_only_key (403), lead_not_found (404), rate_limited (429, with Retry-After). The API doesn't send CORS headers: call it from a server or automation tool, never from a public web page (that would expose your key).
What your AI agent can do through the MCP server. A read-only key or a Connect to Claude link only sees the tools it's allowed to use.
| Tool | What it does | Needs |
|---|---|---|
list_sites | Your sites | any |
list_leads | Leads with filters: status, since, days, limit | any |
get_lead | One lead by lead_id | any |
get_stats | Leads, pipeline value, jobs won | any |
get_estimator_config | Services, sizes, extras, prices, currency, trade | any |
get_estimate | Price range for service + size + extras | any |
update_lead_status | Set status and job value (no emails sent) | read + write key, or Connect to Claude link |
update_prices | Replace services, sizes, extras and currency (same limits as the editor; previous version kept) | read + write key |
{
"currency": "CAD",
"trade_name": "Roofing",
"services": [ { "label": "Roof repair / leak fix", "base": [350, 1500] } ],
"size": { "q": "How big is the home?", "options": [ { "label": "Medium", "mult": 1 }, { "label": "Large", "mult": 1.3 } ] },
"extras": [ { "label": "Gutter replacement", "add": [500, 900] } ]
}
Estimate = service range × size multiplier + extras, rounded to a friendly number.
| Plan | Sites | Leads per site per month | Notes |
|---|---|---|---|
| Tier 1 | 1 | 300 | API, webhooks, MCP, exports included |
| Tier 2 | 5 | 1,500 | + follow-up emails, review requests, Claude Lead Assistant skill |
| Tier 3 | 25 | 5,000 | + no QuoteBeacon branding (white-label) |
What PostBeacon offers developers today:
date and time (e.g. 2026-12-01 09:30, your time zone) and post text (max 300 characters), up to 200 rows per file, 1 MB max.A PostBeacon API and AI-agent connection are not available yet.
Stuck, or want something we don't have yet? Message us on WhatsApp +1 647-786-9127 or email paul@outboundzero.com. On average, a real person replies within 2 hours; overnight messages are answered by 10 a.m. Atlantic. Free setup help on every plan.
We can't promise everything will be perfect, but what we can promise is we will fix it.