NPR API Update: All Blogs Now Available : Inside NPR.org As of today, all of NPR's blog content is now available in the API. The offering includes 30,000 posts from 35 blogs.

NPR API Update: All Blogs Now Available

Several months ago, the team started to work on moving all of our public blogs from MovableType to our central content management system. In addition to the migration, we also incorporated some powerful additions to our CMS interfaces that will enable blogging and content producing to be much easier. In fact, those tools have been in operation for a while already.

What is new, however, is the fact that all of our blog content, as a result of this migration, are now available through the API. To see a full list of the blogs that are now available, go to the NPR Blogs Directory.

The addition of this content has resulted in a few changes (additions only) to the API and documentation. The changes are as follows:

  • A total of 35 blogs have been added to the system, all of which are queryable through the API.
  • A total of about 30,000 blog posts have been added to the system. Except where rights restricted, all content from all of these posts are fully available in the API.
  • A new tab called BLOGS has been added to the Query Generator for all of the blogs.
  • A new XML list has been created for blogs. This list is available at http://api.npr.org/list?id=3013 and can be found in the documentation on the Story API Input Reference
  • The COLUMNS tab in the Query Generator has been removed. The actual columns have been added to the SERIES tab.

Blog posts in our API are treated the same as stories. That means that you can query the API for blog content directly or you can query by topic, personality, etc. If you query by topic, your results can potentially be a blend of radio stories, non-radio stories and/or blog posts. Similarly, for all API queries, the results are customizable and transformable based on the options in the Query Generator. Additionally, as new blog posts get published, they too will be immediately available in the API and will surface in any query that matches its parameters.

So, technically, Inside NPR.org is no longer inside... Enjoy!