Skip to content
GOODS ACROSS BORDERS

FOR DEVELOPERS

Embed widget

Embed Goods Across Borders pages in your own site via iframe. All embed URLs render a streamlined view (no nav, no footer, no search) so they look native inside your page.

Available embeds

  • COUNTRY PROFILE CARD

    <iframe
      src="https://goodsacrossborders.com/embed/country/thailand"
      width="100%"
      height="420"
      loading="lazy"
      sandbox="allow-same-origin allow-popups"
      title="Thailand customs profile"
      style="border: 1px solid #e5e5e5; border-radius: 2px;"
    ></iframe>

    Replace thailand with any country slug.

  • SINGLE RULE ANSWER-BOX

    <iframe
      src="https://goodsacrossborders.com/embed/rule/vape-e-cigarette/thailand/traveling"
      width="100%"
      height="280"
      loading="lazy"
      sandbox="allow-same-origin allow-popups"
      title="Rule: vape in Thailand (traveling)"
    ></iframe>

    Format: /embed/rule/[itemSlug]/[countrySlug]/[purpose].

  • DUTY CALCULATOR

    <iframe
      src="https://goodsacrossborders.com/embed/duty?origin=china&destination=united-states&hs=85"
      width="100%"
      height="500"
      loading="lazy"
      sandbox="allow-same-origin allow-popups"
      title="Duty calculator"
    ></iframe>

    Querystring pre-fills the calculator.

Live demo

Preview the embed views at /embed/demo.

Sandbox + CSP

  • Use sandbox="allow-same-origin allow-popups" — opens external customs-authority links in new tabs, blocks form submission and scripts from cross-origin.
  • For strict CSP, add frame-src https://goodsacrossborders.com.
  • Set loading="lazy" so the embed doesn't block your initial paint.
  • Add a descriptive title for screen readers.

Versioning

Embed URLs are stable. We may update the rendered design over time but URL paths and supported parameters will not break without warning in the developer changelog.

Related: attribution · examples · API reference.

STAY IN THE LOOP

We don't have a form backend, so these are pre-filled mailto links. Send a one-line email and we'll add you.

RULES5,339COUNTRIES85ITEMS111CARRIERS28GUIDES46UNIQUE SOURCES645LATEST VERIFICATION2026-07-26MethodologyChangelog