Hetzner publishes their prices as JSON
The German hosting provider Hetzner uses simple JSON files to store the price data shown in their frontend. I’ve previously found it useful to download this data for comparing prices.
These URLs have changed in the past, so if they don’t work, I would recommend simply opening the network inspector on the relevant Hetzner pages and filtering for .json.