Add a live price table to your own website with one line of HTML. It updates daily from the same data behind our market pages, works on any site, and is free to use.
<script src="https://welandapola.com/embed.js"
data-market="dambulla"
data-limit="12"
data-theme="light" async></script>| Attribute | Default | Description |
|---|---|---|
| data-market | dambulla | Market slug. Any market we publish, plus the aliases colombo, manning and keppetipola. |
| data-limit | 12 | How many items to show, 1–100. |
| data-type | (all) | Restrict to one category, e.g. vegetable or fruit. |
| data-theme | light | light, dark, or auto to follow the visitor’s system setting. |
| data-accent | #0f9d58 | Any CSS colour, used for prices and links. |
| data-width | 360px | Maximum width of the widget. |
| data-title | (market name) | Override the heading text. |
If you would rather build your own layout, the widget data is available as plain JSON with open CORS, so you can call it from any site or app.
https://welandapola.com/api/widget/prices?market=dambulla&limit=20Responses are cached for an hour. Please keep a visible link back to Welandapola so readers can check the full market page.
See the full table for Dambulla.