Torna alla Dashboard

Documentazione

Scopri come usare Asyntai

Set Up Real-Time Data Feed Max on Squarespace

Three ways to expose Squarespace commerce or content as a JSON feed

Back to Real-Time Data Feed Max
Piano Pro

What Your Feed Should Look Like

Real-Time Data Feed Max accepts any public URL returning JSON or plain text. The AI reads whatever you give it — products, services, bookable slots, property listings, menus, opening hours, anything — and uses it to answer visitor questions. There is no required shape or field name.

The one exception is Dynamic Product Cards. If you want matching items to render as visual cards in the chat, use these specific field names: name, price, description, image_url, button_link, in_stock.

Example — products (triggers Dynamic Product Cards)

{
  "products": [
    {
      "name": "Wireless Headphones Pro",
      "price": "$149.99",
      "description": "Premium over-ear wireless headphones with ANC.",
      "image_url": "https://example.com/images/headphones.jpg",
      "button_link": "https://example.com/products/headphones",
      "in_stock": true
    }
  ]
}

Example — services (any shape works)

{
  "services": [
    {
      "service": "Deep tissue massage",
      "duration_minutes": 60,
      "price_from": "$95",
      "therapists_available": ["Anna", "Mark"],
      "booking_link": "https://example.com/book/deep-tissue"
    },
    {
      "service": "Haircut & style",
      "duration_minutes": 45,
      "price_from": "$55",
      "booking_link": "https://example.com/book/haircut"
    }
  ]
}

Example — plain text (works too)

Opening hours: Mon-Fri 9-6, Sat 10-4, closed Sunday.
Delivery: Free over $30, minimum order $15, within 5 miles.
Lunch specials (weekdays only):
- Margherita pizza $12
- Caesar salad $9
- Soup of the day $7

Rule of thumb: Use descriptive field names the AI can interpret (service, duration, price, location, etc.). If Dynamic Product Cards make sense for your business, follow the exact field names above. If they don't, use whatever shape fits your data — the AI still searches it and answers questions correctly.

Option 1 — The ?format=json trick (fastest)

Squarespace supports appending ?format=json to almost any page URL to return the underlying JSON data. This works for any Commerce store's product collection page.

https://your-site.com/shop?format=json

If your products live under a different URL slug (e.g. /store, /products, or a category page), just use that URL:

https://your-site.com/store?format=json
https://your-site.com/category/accessories?format=json

Caveat — unofficial: Squarespace has never formally documented this endpoint. It has worked for years and is widely used, but it's not covered by an SLA. Field names also don't match our Dynamic Product Card format, so cards may not render cleanly — the AI will still use the data for answers.

Option 2 — Commerce API via a Proxy

Squarespace offers an official Commerce API for Business+ plans. It requires OAuth, so you'll need a small server-side proxy to hold the token and transform the response into our JSON shape.

1
Create a Private App in Squarespace Squarespace admin → Settings → Advanced → Developer API Keys → Create Key. Enable the Products scope.
2
Deploy a small proxy Cloudflare Worker or Vercel function. It calls https://api.squarespace.com/1.0/commerce/products with Bearer auth, reshapes the response, and returns our JSON.
3
Paste the proxy URL into Real-Time Data Feed Max Your Squarespace API key stays private inside the proxy; only the public proxy URL is shared with us.

Option 3 — Blog or Content via RSS

For non-commerce content (articles, news, FAQ pages), every Squarespace blog exposes an RSS feed. Real-Time Data Feed Max accepts text input, so RSS works — though JSON is cleaner where possible.

https://your-site.com/blog?format=rss

You can also use ?format=json on blog and page URLs for a richer structured output:

https://your-site.com/blog?format=json

Suggerimento: Before pasting any URL into Real-Time Data Feed Max, open it in a private browser window to confirm you see the raw JSON (not the rendered page). If Squarespace redirects or shows HTML, you'll need to double-check your collection slug.

Risoluzione dei problemi

I see a password page instead of JSON

Your site is in maintenance, staging, or password-protected mode. Real-Time Data Feed Max needs a fully public URL.

Real-Time Data Feed Max says the feed failed

Open the URL in a private browser window. If you don't see JSON, the URL is wrong or the endpoint is down. If you see JSON but we still fail, the response may be missing a Content-Type: application/json header or exceeding the 10,000,000 character limit.

Product cards don't render

Dynamic Product Cards require specific field names (name, price, image_url, button_link, in_stock). If your platform uses different names, reshape the response in a small custom script before exposing it.

Data looks wrong or outdated

The feed auto-refreshes every 24 hours. For immediate updates, click Refresh Now in Real-Time Data Feed Max. For live fields (price, stock), the AI pulls fresh data on every message — so the 24h cycle only affects which items are known, not their current state.

Feed size exceeded

Real-Time Data Feed Max accepts up to 10,000,000 characters (~25,000 items). If you exceed that, trim fields (skip long HTML descriptions), split your catalog, or use the standard Real-Time Data Feed alongside for secondary data.

Still stuck? Start with the simplest option for your platform and verify the URL works in a browser before pasting it into Real-Time Data Feed Max. You can always upgrade to a more advanced option later — only the URL field changes on our side.