Developers
Show your live SmartSlab inventory anywhere and query public store data programmatically. No API key required — everything here is keyed by your public store slug.
Embed your storefront
Paste this snippet into any website (WordPress, Squarespace, plain HTML). It renders your available slabs and keeps them in sync automatically. Replace your-store-slug with your store slug from your account settings.
Snippet
<div data-smartslab-store="your-store-slug" data-limit="12"></div>
<script src="https://smartslab.store/embed.js" async></script>Options (data attributes)
data-smartslab-store(required) — your public store slug.data-limit— max slabs to show (default 12, max 48).data-material— filter by material slug (e.g.granite,quartz).data-columns— fixed number of grid columns (default: responsive auto-fit).
Live preview
Rendered with the real widget for smartslab.
Public Stores API
Read-only JSON, CORS-enabled, cached at the edge. Ideal for custom integrations that need more control than the widget.
GET
/api/v1/public/storesDirectory of public storefronts that have at least one available slab.
{
"stores": [
{
"slug": "all-in-remodeling",
"store_name": "All In Remodeling",
"city": "Miami",
"state": "FL",
"slab_count": 12
}
]
}GET
/api/v1/public/stores/{slug}A single storefront plus its available inventory. Returns 404 for unknown or private stores.
{
"vendor": {
"slug": "all-in-remodeling",
"store_name": "All In Remodeling",
"city": "Miami",
"state": "FL"
},
"slabs": [
{
"id": "…",
"name": "Calacatta Gold",
"material": "marble",
"type": "full_slab",
"width_in": 120,
"height_in": 55,
"thickness_cm": 3,
"price_usd": 1800,
"image_url": "https://…",
"quantity": 1
}
]
}