Skip to content
PSX

System follows your device setting.

Free tools · for publishers

Free PSX Widgets — Embed KSE-100 & Stock Data on Your Site

Three widgets, one line of HTML each. No JavaScript, no account, no API key, nothing to break on your page. Free for any site, including commercial ones — the only condition is that you keep the attribution link.

As of closeSource: Pakistan Stock ExchangeWidgets refresh after every session

Widget builder

1. Pick a widget

Most traded today:

Any listed ticker works. If the preview says the page does not exist, the symbol is not listed.

2. Theme

Pick the one that matches your page. Both are shown in the preview.

3. Size

The frame is fluid up to this width, so it still fits a phone. Height is fixed per widget (180 px).

Live preview

The real frame, in both themes. The outlined one is in your code.

Open in a new tab ↗
Dark In your code
Light In your code

Your embed code

Paste both lines where the widget should appear.

<iframe src="https://psxexpert.com/embed/kse-100" title="KSE-100 index — Pakistan Stock Exchange" width="100%" height="180" style="max-width:480px;border:0" loading="lazy" scrolling="no"></iframe>
<p><a href="https://psxexpert.com/kse-100" target="_blank" rel="noopener">KSE-100 index — Pakistan Stock Exchange by PSX Expert</a></p>

The second line is not optional decoration — it is the attribution, and it has to sit in your own HTML rather than inside the frame. Keep it and the widget is free to use anywhere, forever.

How to embed a widget

Three steps, about a minute. You need to be able to add HTML to your page, which every blog platform allows.

  1. Pick and size it

    Choose a widget, a theme and a width in the builder above. The preview is the real frame, so what you see is what your readers get.

  2. Copy the code

    Press "Copy code". You get two lines: the frame itself, and a plain link under it. Keep both — the link is the attribution that keeps the widget free.

  3. Paste it into your page

    Paste the code where the widget should appear, in your editor's HTML mode (see below). Publish, and the widget updates itself after every trading session.

Where to paste it

WordPress
Add a "Custom HTML" block (or a Custom HTML widget for a sidebar) and paste the code into it.
Blogger
Switch the post editor to HTML view, or add an "HTML/JavaScript" gadget in Layout for a sidebar.
Wix, Squarespace, Webflow
Use the platform's "Embed code" or "Code" element and paste the code there.
Plain HTML
Paste it anywhere inside <body>. No script tag, no stylesheet and no setup are needed.

Good to know: figures are end-of-day and refresh after each session, and each frame is cached for five minutes. The frame is fluid up to the width you chose, so it shrinks on phones; keep the height from the snippet, because the frame cannot grow by itself.

Terms, in one paragraph

Use these on any site — personal, educational or commercial — for as long as you like, at no cost. Keep the "Powered by PSX Expert" link visible and working, do not present the data as your own, and do not strip the attribution out of the frame or the snippet. We do not set cookies inside the widget, do not run scripts inside it, and do not track your visitors. If you need a format that is not here — a sector table, a full index list, a specific watchlist — say so and we will look at building it.

The numbers are end-of-day figures collected from the Pakistan Stock Exchange and refreshed after each session. They are not a live trading feed, and the widget carries the session date so your readers can see exactly what they are looking at. Nothing shown is investment advice; the disclaimer applies to embedded data exactly as it does on this site.

Direct URLs

Every widget is a plain page. Append ?theme=light for the light palette.