@matti @manton If you want to save on requests and are okay with not using an API, simply counting URLs in sitemap.xml could be an alternative.

For example, you could do this from the terminal: curl --silent "https://blog.martin-haehnel.de/sitemap.xml" | grep "de/20" | wc -l.

In English: fetch the sitemap and count all the lines containing de/20. This works because your blog posts exist on paths like /2022/10/02/dailydogo.html. This hack assumes you have no blog posts before 2000 and will quit blogging before the next century. 😊