Adding .xml or .json to the end of a product detail page URL. Is this a reliable way to fetch data?

When you add .xml or .json to the end of a product detail page URL, you get a lot of useful data, including “price” and “compare-at-price”.

For example:

https://www.allbirds.com/products/mens-canvas-pipers-natural-black-black.xml

I’m trying to sync the price between two stores in real time (or close to).

Is fetching product data in this way a reliable method?