Tool
Embed the SA diamond price badge
Free, self-contained iframe widget that displays the current SA wholesale diamond price band on your own page. Three size variants. Under 4KB, no external dependencies, no tracking. Creative Commons Attribution 4.0 licensed.
Live preview, large card
The large card variant suits a sidebar, a pricing-context block, or a credibility callout above the fold:
Copy-paste embed code, large card
<iframe src="https://diamondedit.co.za/embed/price-badge.html?size=large" width="380" height="220" frameborder="0" scrolling="no" title="SA diamond price, May 2026" style="border:0;max-width:100%;"></iframe> Live preview, small badge
The small badge variant suits an inline content block or a footer attribution:
Copy-paste embed code, small badge
<iframe src="https://diamondedit.co.za/embed/price-badge.html?size=small" width="280" height="130" frameborder="0" scrolling="no" title="SA diamond price, May 2026" style="border:0;max-width:100%;"></iframe> Live preview, inline strip
The inline strip variant suits a content-flow callout, between paragraphs in an article:
Copy-paste embed code, inline strip
<iframe src="https://diamondedit.co.za/embed/price-badge.html?size=inline" width="100%" height="64" frameborder="0" scrolling="no" title="SA diamond price, May 2026" style="border:0;display:block;"></iframe> Why operators embed this
Three category cases. SA jewellers and goldsmiths embed the badge on their own pricing or about page as a credibility signal: a live SA-specific reference (rather than the US-dollar-per-carat figure on most foreign jewellery sites) signals that the operator is current with the local market reality. Reader-facing benefit: when a customer sees the same SA reference on multiple credible sites, the operator’s own price quote lands inside a verified band rather than as a standalone number.
Finance and personal-finance blogs embed the badge on engagement-spending, wedding-cost, or luxury-goods coverage to ground the editorial discussion in a current SA reference rather than an outdated or US-based figure. The widget is updated monthly on our side, so the blog page does not go stale.
Wedding-vendor sites (photographers, florists, venues, planners) embed the badge on engagement-related content pages as a trust-signal that the operator’s page is current with the SA market. The widget is a third-party reference, which carries more credibility than the operator’s own price assertion.
Terms of embed
- Free for any use, including commercial. Creative Commons Attribution 4.0 International licence.
- Attribution and link required. The default embed code includes attribution ("Source: diamondedit.co.za") and the link back. Do not strip these elements from the rendered widget.
- Iframe only. Embedding via iframe (the default copy-paste code) is supported. Direct copying of the underlying widget HTML and serving it from your own domain is not within the licence terms (the attribution and link need to point to diamondedit.co.za, not to a mirror).
- No modification of the widget content. The widget content (price, attribution, link) is fixed. The visible iframe dimensions are operator-controlled (the default embed widths are the recommended sizes; you can resize the iframe via the width and height attributes).
- No re-skinning via CSS injection. The widget styling is fixed within the iframe and cannot be overridden from the parent page. Operators wanting a custom-styled price reference (matching brand colours and fonts) are invited to take the underlying CSV data at /data/sa-diamond-price-index-2026-05.csv and build their own widget under the same CC BY 4.0 terms.
Technical notes
The widget is a single static HTML file under 4KB, served from Cloudflare’s edge network. No external JavaScript libraries are loaded. No web fonts are loaded (the widget uses the parent page’s fallback system font stack). No tracking pixels are embedded. No cookies are set. The widget does not call back to the parent page and cannot read the parent page’s DOM (standard iframe sandbox model).
Lighthouse and Core Web Vitals impact on the parent page is effectively zero: the iframe loads asynchronously after the parent page’s critical render path, and the widget’s own LCP is the static text content (loaded with the HTML).
Browser support: any browser supporting iframe (every modern browser plus IE 11). Mobile-responsive: the inline strip variant adapts to the parent container width; the large card and small badge variants are fixed-pixel-width but degrade gracefully on narrow viewports with the max-width:100% CSS attribute already present in the default embed code.
Common questions
How does the SA diamond price badge work?
The badge is a small HTML page (under 4KB) served from diamondedit.co.za/embed/price-badge.html that you embed in your own page via a standard iframe tag. The widget displays the current SA wholesale price band for a 1ct G/VS2 GIA Excellent round-brilliant diamond, along with the source attribution and a link back to the full price report. The data inside the widget is refreshed monthly when we update the SA diamond price report; you do not need to update anything on your end.
Is the badge free to embed?
Yes. The widget content is published under the Creative Commons Attribution 4.0 International licence. You may embed, republish, or adapt the badge for any purpose including commercial use, provided the attribution and link back to diamondedit.co.za remain in place. The default embed code includes the required attribution; do not strip it.
Who is the badge for?
Three operator categories: SA jewellers and goldsmiths who want a live SA-specific price reference on their own about-or-pricing page (rather than the US-dollar-per-carat reference most foreign jewellery sites carry), finance and personal-finance blogs covering SA luxury or wedding spending, and wedding-vendor sites (florists, photographers, venues) who want a credibility-signal price reference on their engagement-related content pages. The widget is a trust-signal: it shows the operator’s page is current with the SA market reality.
Will the badge slow my page down?
No measurable impact. The widget HTML is under 4KB, self-contained (no external JavaScript libraries, no web fonts, no tracking pixels), and served from Cloudflare's edge network. The iframe loads asynchronously from the parent page (it does not block the parent page’s render), and the widget does not call back to the parent page or set any cookies. Lighthouse and Core Web Vitals impact is effectively zero.
Can I customise the badge styling?
The widget ships in three size variants (large card, small badge, inline strip) selected via the size query parameter. The colour scheme, fonts, and content layout are fixed to maintain consistency across embeds and to ensure the attribution remains readable. Operators wanting a custom-styled price reference (matching their own brand colours and fonts) are welcome to take the underlying price data from /data/sa-diamond-price-index-2026-05.csv under the same CC BY 4.0 licence and build their own widget.
How often does the price update?
Monthly. The widget reads the same source data as the full SA diamond price report at /sa-diamond-price-report-2026/, which is refreshed in the first week of each month based on the latest Rapaport wholesale tape converted at the current month-average rand-dollar rate. Operators embedding the widget do not need to update anything; the iframe pulls the current version every time the parent page loads.