For website developers, agencies and e-commerce platforms

Live data feed format

If a business's stock, prices or availability change often, X-Protocols can check a file on their own website automatically and keep an AI assistant's answers current -- no plugin from us to install, no ongoing integration work. This page is the entire contract.

The short version

Publish a small XML file at any URL on your own site. List one <item> per product or service whose availability changes. Give X-Protocols that URL once (in the business's Developer settings page, or ask them to). We check it periodically and nothing else is required from you afterward.

Check before you build anything

Roughly in order of how likely each is to be a 30-second answer rather than new work:

The format

<?xml version="1.0" encoding="UTF-8"?>
<feed>
  <item>
    <id>SKU-123</id>
    <availability>in_stock</availability>
    <price currency="EUR">49.90</price>
    <quantity>4</quantity>
    <location_id>store-1</location_id>
    <updated_at>2026-08-05T12:00:00Z</updated_at>
  </item>
  <item>
    <id>SKU-124</id>
    <availability>out_of_stock</availability>
  </item>
</feed>

Field by field

FieldRequired?What it means
idRequiredYour own product/service code. Must match the reference code (external ID) used for that same item in the business's records -- otherwise the update has nothing to attach to.
availabilityOptionalin_stock or out_of_stock. Use this if you don't track an exact number.
quantityOptionalAn exact count, if you have one. Overrides availability when both are given.
priceOptionalA number, with a currency attribute (e.g. currency="EUR").
location_idOptionalOnly needed if the business has more than one location/warehouse and stock differs between them.
updated_atOptionalISO 8601 timestamp (e.g. 2026-08-05T12:00:00Z). If you leave it out, we use the time we checked the file.

Rules that keep this predictable

How a business turns this on

Once this file exists at a stable URL, the business owner (or you, on their behalf) pastes that URL into their Developer settings → Live data streams → New live data stream page. Nothing else to configure -- no key, no secret, no code.