{% extends 'base.html' %} {% block bodyclass %}NB-static NB-static-api{% endblock %} {% block content %}
The NewsBlur API
API Guidelines and Terms of Service

NewsBlur's API allows users to retrieve their feeds, feed counts, feed icons, feed statistics, and individual feed stories. No API key is required, but you are required to authenticate before using any of the API endpoints. Please be considerate, and don't hammer our servers.

If your project or application allows users to interact with data from NewsBlur, you must cite NewsBlur as the source of your data.

You may use the API commercially, by which we mean you may charge people money to use your project which itself uses the API. You may not, however, sell advertising against any data retrieved from NewsBlur's API. Essentially, you can charge money for your application or service, but not wrap NewsBlur in advertisements.

We reserve the right to revise these guidelines. If you violate the spirit of these terms, expect to be blocked without advance warning.

Feed Management

GET /api/reader/feed_list

Retrieve a user's list of feeds. Includes the 3 unread counts, as well as optional favicons.

Parameter Description Default Example
include_favicons Option to not include favicons in the list of feeds, since they can be time consuming to download. Use /api/feeds/favicons/ to retrieve the favicons in a separate request. true true/false

Example Response

{ 'feeds': [] }

GET /api/feeds/favicons

Retrieve a list of favicons for a list of feeds. Used when combined with /api/reader/feed_list and include_favicons=false, so the feed_list request contains far less data. Useful for mobile devices, but requires a second request.

Parameter Description Default Example
feeds REQUIRED Array of feed ids [1, 2, 3]
{% endblock content %}