Skip to main content
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, 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, 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)

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. Issues, feature requests, and pull requests for new widgets welcome at the GitHub repo.