Guide

How to add structured data (JSON-LD) for AI agents

JSON-LD is the standard way to tell AI assistants and search engines who runs the shop, what products it has and at what price. Without this data, assistants can't verify the shop and won't recommend it.

Organization JSON-LD

Add this block to the <head> of your homepage and fill in your details:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Your Company",
  "url": "https://yourdomain.com",
  "logo": "https://yourdomain.com/logo.png",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "City",
    "postalCode": "12345",
    "addressCountry": "US"
  },
  "contactPoint": {
    "@type": "ContactPoint",
    "email": "info@yourdomain.com"
  }
}
</script>

Product JSON-LD

Add Product JSON-LD to every product page with price, currency and availability:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Product Name",
  "image": "https://yourdomain.com/product.jpg",
  "offers": {
    "@type": "Offer",
    "price": "29.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}
</script>
Without this data, AI assistants can't compare prices and won't recommend your product.

Check your website — find out what AI assistants see on your pages.