API to get blog posts