For CAs, accounting blogs & GST resource sites

Put an HSN code lookup on your website

Two lines of HTML. Self-contained. No API key, no signup, no server you have to run. Powered by our bundled dataset of curated HSN/SAC codes.

Step 1

See it in action

This widget is exactly what your visitors will see. Try a lookup — the badge below it is required attribution and links back to us.

Step 2

Paste this anywhere on your page

Drop these two lines into your HTML, WordPress custom HTML block, Webflow embed, Wix HTML widget, Ghost/Substack post — anywhere you can paste a <script> tag.

<div data-hsn-lookup></div>
<script src="https://hsn.krakelabsindia.com/embed.js" defer></script>

That's it. No build step, no NPM install, no JS framework. The script renders into the div and isolates its styles in a Shadow DOM, so your CSS will never collide with it.

Step 3 (optional)

Pick a theme

Light (default)

Best for most light-background sites.

<div data-hsn-lookup></div>
<script src="https://hsn.krakelabsindia.com/embed.js" defer></script>

Dark

For dark-themed sites and night-mode blogs.

<div data-hsn-lookup data-hsn-theme="dark"></div>
<script src="https://hsn.krakelabsindia.com/embed.js" defer></script>

Auto + more alternates

Follows the visitor's OS theme. data-hsn-max="5" shows up to 5 alternate codes.

<div data-hsn-lookup data-hsn-theme="auto" data-hsn-max="5"></div>
<script src="https://hsn.krakelabsindia.com/embed.js" defer></script>

All configuration options

AttributeValuesDefaultWhat it does
data-hsn-themelight | dark | autoautoColor scheme. auto follows prefers-color-scheme.
data-hsn-max0–103Max number of alternate codes to show under the primary match. Set to 0 to hide alternates.

FAQ

Is it really free?

Yes. No signup, no payment, no API key. The widget keeps the “Powered by HSN Code Finder” link visible — that's the deal. It cannot be removed via configuration.

Will it slow down my page?

The script is <10 KB gzipped, loads with defer, and renders inside a Shadow DOM so it won't touch your CSS or block your render.

What about rate limits?

We rate-limit per IP address (20 requests/minute) — the limit is on the end user's browser, not on you as the embedder, so your site can serve unlimited visitors. Heavy abuse falls back to a friendly error message in the widget.

Where does the data come from?

The same bundled dataset that powers hsn.krakelabsindia.com — curated HSN/SAC entries keyed to the CBIC FY 2025-26 rate schedule. Always cross-check borderline items with the official CBIC rate finder.

Can I style it differently?

Not yet — themes are light, dark, or auto. If you want custom colors, fonts, or a fully white-labelled widget, get in touch via krakelabsindia.com.

Ready to embed?

Copy the snippet below and paste it on any page. The widget appears wherever the data-hsn-lookup div sits.

<div data-hsn-lookup></div>
<script src="https://hsn.krakelabsindia.com/embed.js" defer></script>

Got questions or hit a bug? Reach the KLI team.