Skip to main content
Skip to article
BC Real Estate Embeds

Embed our BC real estate widgets

Drop-in widgets that read live from the BC Real Estate Codex — so your embed updates automatically when CRA, BCFSA, or the BC government updates a rate.

Use them on mortgage broker blogs, real estate lawyer firm sites, financial advisor pages, or anywhere your readers need quick, accurate BC residential closing-cost numbers. Free under MIT license. Attribution to Bronson Job PREC, REALTOR® is included automatically and should not be removed.

BC Property Transfer Tax Calculator

Interactive marginal-rate BC PTT calculator with FTHB / Newly Built / foreign-buyer adjustments. Reads bracket values from the public Facts API — stays current automatically.

~6 KB gzipped (script) / ~2 KB iframe attribution · MIT license

Script tag

Full JS embed with Shadow DOM scoping. Best when you control the host page.

<div data-bronsonjob-widget="ptt-calculator"></div>
<script src="https://www.bronsonjob.com/embed/v1/ptt-calculator.js" async></script>
Iframe (CSP-safe)

Server-rendered iframe. Works on host pages with strict CSP that blocks third-party <script> tags. No host-page JS context bleed.

<iframe
    src="https://www.bronsonjob.com/embed/v1/ptt-calculator.html"
    title="BC Property Transfer Tax Calculator — Bronson Job PREC, REALTOR®"
    width="100%"
    height="540"
    frameborder="0"
    loading="lazy"
    referrerpolicy="no-referrer-when-downgrade"
    style="border:0;max-width:480px;display:block;margin:0 auto;"
></iframe>

Common use cases

  • · Mortgage broker blogs
  • · Real estate lawyer firm sites
  • · Financial advisor blog posts
  • · News articles about BC closing costs
  • · Buyer education pages
  • · Sites with strict CSP (use iframe variant)

Codex Fact Pill (inline citation)

A one-line citation pill for any of the 49 Codex facts. Hover or focus expands the quotable summary, the primary source, and the retrieval date; clicking opens the canonical Codex entry. Reads live from the Facts API, so a pill embedded once stays correct when the province moves a rate.

~3.4 kilobytes gzipped (script, all pills on a page share one fetch) · MIT license

Inline (in a sentence)

Drops into running prose. Use `fact-id` from /api/v1/facts/index.json; add `label` to override the pill text.

<script async src="https://www.bronsonjob.com/embed/v1/fact-pill.js"></script>

<p>
    BC's Property Transfer Tax
    <bronson-fact-pill fact-id="bc.ptt.brackets"></bronson-fact-pill>
    applies on every residential purchase.
</p>
Block (standalone callout)

Full-width variant for a standalone reference callout beside an article section.

<script async src="https://www.bronsonjob.com/embed/v1/fact-pill.js"></script>

<bronson-fact-pill
    fact-id="bc.svt.rates_2026"
    variant="block"
></bronson-fact-pill>

Common use cases

  • · Journalists citing a BC rate in an article
  • · Accountant + notary reference docs
  • · Mortgage broker explainer posts
  • · Brokerage internal wikis
  • · Any page that needs a rate to stay current without maintenance

How it stays current: embeds load BC Property Transfer Tax bracket values, FTHB / Newly Built exemption thresholds, and the foreign-buyer additional rate from the public Facts API. When the BC government updates a value, your embed picks it up within the CDN cache TTL (24h). The widget falls back to a hardcoded May 2026 snapshot if the network call fails.

Compatibility: any modern browser (Chrome, Firefox, Safari, Edge — last 2 versions). Uses Shadow DOM where supported for style isolation; falls back to scoped CSS prefix otherwise. No framework required (React, jQuery, Vue, Svelte all work — the widget is vanilla JS).

Versioning: the URL includes /v1/ — the contract is pinned. Breaking changes will land at /v2/ so existing embeds never break.

Trouble or feedback? Email bronson@bronsonjob.com. Bug reports and requests for new widgets are welcome at the same address.