Our World in Data is a hub for research and reliable data to measure the progress of the world. You’ve always been able to download data from the site, but they just made it easier with more detailed exports and an API:
For users who work with automated workflows, computational notebooks, or custom applications, we now offer direct URLs to access data in CSV format and comprehensive metadata in JSON format. This is the same data and metadata included in the zip file download package described above.
Just like with the download package, you can fetch the complete data or only the subset of the data currently displayed in the chart. You can also choose between longer column names that are easier to read for humans or shorter column names that are often more convenient to use in code.
Great news.