Statistics Finland's statistical databases have been built with PxWeb technology. Through Statistics Finland's PxWeb API interface for statistical databases you can search for machine readable information in, for example, XLSX, CSV, JSON, JSON-stat, JSON-stat2 and PX formats.
Before using the service, you should take a look at Statistics Sweden's API documentation.